From owner-svn-ports-all@FreeBSD.ORG Fri Jan 23 10:20:19 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 26A1343E; Fri, 23 Jan 2015 10:20:19 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 11925D18; Fri, 23 Jan 2015 10:20:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t0NAKIgF086792; Fri, 23 Jan 2015 10:20:18 GMT (envelope-from olivierd@FreeBSD.org) Received: (from olivierd@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t0NAKIlg086782; Fri, 23 Jan 2015 10:20:18 GMT (envelope-from olivierd@FreeBSD.org) Message-Id: <201501231020.t0NAKIlg086782@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: olivierd set sender to olivierd@FreeBSD.org using -f From: Olivier Duchateau Date: Fri, 23 Jan 2015 10:20:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r377719 - 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-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jan 2015 10:20:19 -0000 Author: olivierd Date: Fri Jan 23 10:20:17 2015 New Revision: 377719 URL: https://svnweb.freebsd.org/changeset/ports/377719 QAT: https://qat.redports.org/buildarchive/r377719/ Log: - Update to 4.5.0 - Switch MASTER_SITES to CHEESESHOP macro - Remove DOCS and EXAMPLES - Adjust dependencies PR: 196977 Submitted by: myself Approved by: wen@ (maintainer) Added: head/devel/py-traits/files/ head/devel/py-traits/files/patch-setup.py (contents, props changed) Modified: head/devel/py-traits/Makefile head/devel/py-traits/distinfo head/devel/py-traits/pkg-descr Modified: head/devel/py-traits/Makefile ============================================================================== --- head/devel/py-traits/Makefile Fri Jan 23 09:35:06 2015 (r377718) +++ head/devel/py-traits/Makefile Fri Jan 23 10:20:17 2015 (r377719) @@ -2,12 +2,10 @@ # $FreeBSD$ PORTNAME= traits -PORTVERSION= 3.6.0 -PORTREVISION= 5 +PORTVERSION= 4.5.0 CATEGORIES= devel python -MASTER_SITES= http://www.enthought.com/repo/ETS/ +MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= Traits-${PORTVERSION} MAINTAINER= wen@FreeBSD.org COMMENT= Explicitly Typed Attributes for Python @@ -15,23 +13,16 @@ COMMENT= Explicitly Typed Attributes for LICENSE= BSD3CLAUSE PSFL LICENSE_COMB= multi -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}EnthoughtBase>=3.0.1:${PORTSDIR}/devel/py-EnthoughtBase \ - ${PYNUMPY} -RUN_DEPENDS:= ${BUILD_DEPENDS} +BUILD_DEPENDS= ${PYNUMPY} USES= python USE_PYTHON= distutils autoplist -OPTIONS_DEFINE= DOCS EXAMPLES +CFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib -post-install: - ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - cd ${WRKSRC}/examples \ - && ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/\{} \; \ - && ${FIND} . -type f -exec ${INSTALL_DATA} \{} ${STAGEDIR}${EXAMPLESDIR}/\{} \; - ${MKDIR} ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC}/docs \ - && ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/\{} \; \ - && ${FIND} . -type f -exec ${INSTALL_DATA} \{} ${STAGEDIR}${DOCSDIR}/\{} \; +post-extract: +# Remove traits/testing directory files are not compatible with Python 3 + cd ${WRKSRC} && ${RM} -Rf traits/testing/ .include Modified: head/devel/py-traits/distinfo ============================================================================== --- head/devel/py-traits/distinfo Fri Jan 23 09:35:06 2015 (r377718) +++ head/devel/py-traits/distinfo Fri Jan 23 10:20:17 2015 (r377719) @@ -1,2 +1,2 @@ -SHA256 (Traits-3.6.0.tar.gz) = f48dcd9bb33bec3389566c3fee43f039ff33fc99e5db5ca8c4967fb8e5db8657 -SIZE (Traits-3.6.0.tar.gz) = 10884341 +SHA256 (traits-4.5.0.tar.gz) = 5293a8786030b0b243e059f52004355b6939d7c0f1be2eb5a605b63cca484c84 +SIZE (traits-4.5.0.tar.gz) = 4853612 Added: head/devel/py-traits/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-traits/files/patch-setup.py Fri Jan 23 10:20:17 2015 (r377719) @@ -0,0 +1,20 @@ +--- setup.py.orig 2014-05-07 10:39:42 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'], + ) + + +@@ -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, Modified: head/devel/py-traits/pkg-descr ============================================================================== --- head/devel/py-traits/pkg-descr Fri Jan 23 09:35:06 2015 (r377718) +++ head/devel/py-traits/pkg-descr Fri Jan 23 10:20:17 2015 (r377719) @@ -14,4 +14,4 @@ of trait attributes within the class. Tr a classs are automatically inherited by any subclass derived from the class. -WWW: https://pypi.python.org/pypi/Traits/ +WWW: https://pypi.python.org/pypi/traits/