From owner-svn-ports-head@freebsd.org Wed May 18 16:50:22 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 A0D48B41D5F; Wed, 18 May 2016 16:50:22 +0000 (UTC) (envelope-from woodsb02@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 6524F1337; Wed, 18 May 2016 16:50:22 +0000 (UTC) (envelope-from woodsb02@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4IGoLRI049367; Wed, 18 May 2016 16:50:21 GMT (envelope-from woodsb02@FreeBSD.org) Received: (from woodsb02@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4IGoLoP049364; Wed, 18 May 2016 16:50:21 GMT (envelope-from woodsb02@FreeBSD.org) Message-Id: <201605181650.u4IGoLoP049364@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: woodsb02 set sender to woodsb02@FreeBSD.org using -f From: Ben Woods Date: Wed, 18 May 2016 16:50:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r415456 - in head/devel: . py-nose py3-nose 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.22 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: Wed, 18 May 2016 16:50:22 -0000 Author: woodsb02 Date: Wed May 18 16:50:21 2016 New Revision: 415456 URL: https://svnweb.freebsd.org/changeset/ports/415456 Log: Create new port devel/py3-nose: - This is a variant of devel/py-nose for Python 3.x. A separate port is needed until the ports tree gets VARIANTS support. The science/gramps port will soon be updated to a version which only supports python3, and it depends on py-nose with python3. To allow people to only use packages directly (and not ports), the package building infrastructure needs to build 2 packages: py-nose with python2 and py-nose with python3. Since the ports tree doesn't yet have VARIANTS support, this is not yet possible without making a separate py3-nose port. - Ensure devel/py-nose does not clobber USES variable in slave devel/py3-nose - Fix devel/py-nose target regression-test to use selftest.py [1] [1] https://github.com/nose-devs/nose/issues/400 PR: 207036 Reviewed by: mat (mentor) Approved by: adamw (mentor), koobs (maintainer) Differential Revision: https://reviews.freebsd.org/D6280 Added: head/devel/py3-nose/ head/devel/py3-nose/Makefile (contents, props changed) Modified: head/devel/Makefile head/devel/py-nose/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Wed May 18 16:23:35 2016 (r415455) +++ head/devel/Makefile Wed May 18 16:50:21 2016 (r415456) @@ -4616,6 +4616,7 @@ SUBDIR += py3-gobject3 SUBDIR += py3-jsonschema SUBDIR += py3-libpeas + SUBDIR += py3-nose SUBDIR += py3-pyicu SUBDIR += py3-python-magic SUBDIR += py3-pytz Modified: head/devel/py-nose/Makefile ============================================================================== --- head/devel/py-nose/Makefile Wed May 18 16:23:35 2016 (r415455) +++ head/devel/py-nose/Makefile Wed May 18 16:50:21 2016 (r415456) @@ -13,7 +13,7 @@ COMMENT= Discovery-based unittest extens LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/lgpl.txt -USES= python +USES?= python USE_PYTHON= autoplist concurrent distutils .include @@ -23,6 +23,6 @@ regression-test: build .if ${PYTHON_REL} >= 3000 @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} build_tests .endif - @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test + @cd ${WRKSRC} && ${PYTHON_CMD} selftest.py .include Added: head/devel/py3-nose/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py3-nose/Makefile Wed May 18 16:50:21 2016 (r415456) @@ -0,0 +1,8 @@ +# Created by: Ben Woods +# $FreeBSD$ + +MASTERDIR= ${.CURDIR}/../py-nose + +USES= python:3.1+ + +.include "${MASTERDIR}/Makefile"