Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Apr 2019 20:58:25 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r498750 - in head/devel/py-wsgiutils: . files
Message-ID:  <201904122058.x3CKwPpk093188@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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',



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904122058.x3CKwPpk093188>