Index: head/devel/py-traits/Makefile =================================================================== --- head/devel/py-traits/Makefile (revision 427280) +++ head/devel/py-traits/Makefile (revision 427281) @@ -1,28 +1,21 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= traits -PORTVERSION= 4.5.0 +PORTVERSION= 4.6.0 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= wen@FreeBSD.org COMMENT= Explicitly Typed Attributes for Python LICENSE= BSD3CLAUSE PSFL LICENSE_COMB= multi 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 Index: head/devel/py-traits/distinfo =================================================================== --- head/devel/py-traits/distinfo (revision 427280) +++ head/devel/py-traits/distinfo (revision 427281) @@ -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 Index: head/devel/py-traits/files/patch-setup.py =================================================================== --- head/devel/py-traits/files/patch-setup.py (revision 427280) +++ head/devel/py-traits/files/patch-setup.py (revision 427281) @@ -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@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():