From owner-svn-ports-head@freebsd.org Mon Nov 28 03:02:07 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8346BC58769; Mon, 28 Nov 2016 03:02:07 +0000 (UTC) (envelope-from wen@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3FD29680; Mon, 28 Nov 2016 03:02:07 +0000 (UTC) (envelope-from wen@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uAS326LN033411; Mon, 28 Nov 2016 03:02:06 GMT (envelope-from wen@FreeBSD.org) Received: (from wen@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uAS326fk033408; Mon, 28 Nov 2016 03:02:06 GMT (envelope-from wen@FreeBSD.org) Message-Id: <201611280302.uAS326fk033408@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: wen set sender to wen@FreeBSD.org using -f From: Wen Heping Date: Mon, 28 Nov 2016 03:02:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r427281 - in head/devel/py-traits: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2016 03:02:07 -0000 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 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@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():