svn commit: r498750 - in head/devel/py-wsgiutils: . files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Fri Apr 12 20:58:30 UTC 2019


Author: sunpoet
Date: Fri Apr 12 20:58:25 2019
New Revision: 498750
URL: https://svnweb.freebsd.org/changeset/ports/498750

Log:
  Relax USES=python
  
  - Bump PORTREVISION for package change

Added:
  head/devel/py-wsgiutils/files/
  head/devel/py-wsgiutils/files/patch-setup.py   (contents, props changed)
Modified:
  head/devel/py-wsgiutils/Makefile

Modified: head/devel/py-wsgiutils/Makefile
==============================================================================
--- head/devel/py-wsgiutils/Makefile	Fri Apr 12 20:58:20 2019	(r498749)
+++ head/devel/py-wsgiutils/Makefile	Fri Apr 12 20:58:25 2019	(r498750)
@@ -3,7 +3,7 @@
 
 PORTNAME=	wsgiutils
 PORTVERSION=	0.7.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel textproc www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,12 +15,9 @@ COMMENT=	Utility libraries for development of simple W
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-USES=		python:2.7
-USE_PYTHON=	distutils autoplist
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
-
-post-patch:
-	@${REINPLACE_CMD} -e '/data_files/d' ${WRKSRC}/setup.py
 
 .include <bsd.port.mk>

Added: head/devel/py-wsgiutils/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-wsgiutils/files/patch-setup.py	Fri Apr 12 20:58:25 2019	(r498750)
@@ -0,0 +1,12 @@
+--- setup.py.orig	2018-08-14 08:49:36 UTC
++++ setup.py
+@@ -33,8 +33,8 @@ setup(name="WSGIUtils",
+ 	packages=[
+ 		'wsgiutils',
+ 	],
+-	data_files = [('', ['LICENSE.txt', 'README.txt'])],
+ 	package_dir = {'': 'lib'},
++        use_2to3=True,
+ 	classifiers = [
+ 		'Development Status :: 5 - Production/Stable',
+ 		'Intended Audience :: Developers',


More information about the svn-ports-all mailing list