svn commit: r427281 - in head/devel/py-traits: . files
Wen Heping
wen at FreeBSD.org
Mon Nov 28 03:02:07 UTC 2016
Author: wen
Date: Mon Nov 28 03:02:05 2016
New Revision: 427281
URL: https://svnweb.freebsd.org/changeset/ports/427281
Log:
- Update to 4.6.0
Modified:
head/devel/py-traits/Makefile
head/devel/py-traits/distinfo
head/devel/py-traits/files/patch-setup.py
Modified: head/devel/py-traits/Makefile
==============================================================================
--- head/devel/py-traits/Makefile Mon Nov 28 01:14:59 2016 (r427280)
+++ head/devel/py-traits/Makefile Mon Nov 28 03:02:05 2016 (r427281)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= traits
-PORTVERSION= 4.5.0
+PORTVERSION= 4.6.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -18,11 +18,4 @@ BUILD_DEPENDS= ${PYNUMPY}
USES= python
USE_PYTHON= distutils autoplist
-CFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-
-post-extract:
-# Remove traits/testing directory files are not compatible with Python 3
- cd ${WRKSRC} && ${RM} -R traits/testing/
-
.include <bsd.port.mk>
Modified: head/devel/py-traits/distinfo
==============================================================================
--- head/devel/py-traits/distinfo Mon Nov 28 01:14:59 2016 (r427280)
+++ head/devel/py-traits/distinfo Mon Nov 28 03:02:05 2016 (r427281)
@@ -1,2 +1,3 @@
-SHA256 (traits-4.5.0.tar.gz) = 5293a8786030b0b243e059f52004355b6939d7c0f1be2eb5a605b63cca484c84
-SIZE (traits-4.5.0.tar.gz) = 4853612
+TIMESTAMP = 1480294044
+SHA256 (traits-4.6.0.tar.gz) = 5d82345e0a34b88e394964eea1be47419530027aef7f0b20ad315b6ec6c68370
+SIZE (traits-4.6.0.tar.gz) = 434937
Modified: head/devel/py-traits/files/patch-setup.py
==============================================================================
--- head/devel/py-traits/files/patch-setup.py Mon Nov 28 01:14:59 2016 (r427280)
+++ head/devel/py-traits/files/patch-setup.py Mon Nov 28 03:02:05 2016 (r427281)
@@ -1,20 +1,10 @@
---- setup.py.orig 2014-05-07 10:39:42 UTC
+--- setup.py.orig 2016-11-28 02:44:17 UTC
+++ setup.py
-@@ -11,7 +11,6 @@ exec(compile(open(traits_init).read(), t
- ctraits = Extension(
- 'traits.ctraits',
- sources = ['traits/ctraits.c'],
-- extra_compile_args = ['-DNDEBUG=1', '-O3' ]#, '-DPy_LIMITED_API'],
- )
+@@ -102,7 +102,6 @@ if __name__ == "__main__":
+ ctraits = Extension(
+ 'traits.ctraits',
+ sources=['traits/ctraits.c'],
+- extra_compile_args=['-DNDEBUG=1', '-O3'],
+ )
-
-@@ -55,7 +54,8 @@ setup(
- license = 'BSD',
- maintainer = 'ETS Developers',
- maintainer_email = 'enthought-dev at enthought.com',
-- packages = find_packages(),
-+ # remove 'traits.testing*' directories not compatible with Python 3
-+ packages = find_packages(where='.', exclude=['traits.testing*']),
- platforms = ["Windows", "Linux", "Mac OS-X", "Unix", "Solaris"],
- zip_safe = False,
- use_2to3 = True,
+ def additional_commands():
More information about the svn-ports-head
mailing list