Summary: | [exp-run] allow coexistence of python ports with different python versions required (py33-foo and py27-bar) | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Po-Chuan Hsieh <sunpoet> |
Component: | Individual Port(s) | Assignee: | Bryan Drewery <bdrewery> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | ||
Priority: | Normal | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Po-Chuan Hsieh
2014-02-26 18:40:00 UTC
Responsible Changed From-To: freebsd-ports-bugs->portmgr Request exp-run. Responsible Changed From-To: portmgr->bdrewery I'll take it. Author: sunpoet Date: Thu Mar 6 16:33:17 2014 New Revision: 347268 URL: http://svnweb.freebsd.org/changeset/ports/347268 QAT: https://qat.redports.org/buildarchive/r347268/ Log: - Add slave port of devel/py-setuptools for different python versions (27, 32 and 33) - Update Mk/bsd.python.mk to use new devel/py-setuptools{27|32|33} PR: ports/187091 Submitted by: sunpoet (myself) Discussed with: lwhsu, mva, koobs, crees Exp-run by: bdrewery With hat: python MFH: 2014Q1 Added: head/devel/py-setuptools27/ head/devel/py-setuptools27/Makefile (contents, props changed) head/devel/py-setuptools32/ head/devel/py-setuptools32/Makefile (contents, props changed) head/devel/py-setuptools33/ head/devel/py-setuptools33/Makefile (contents, props changed) Modified: head/Mk/bsd.python.mk Modified: head/Mk/bsd.python.mk ============================================================================== --- head/Mk/bsd.python.mk Thu Mar 6 16:32:42 2014 (r347267) +++ head/Mk/bsd.python.mk Thu Mar 6 16:33:17 2014 (r347268) @@ -411,10 +411,10 @@ PYTHONPREFIX_INCLUDEDIR= ${PYTHON_INCLUD PYTHONPREFIX_LIBDIR= ${PYTHON_LIBDIR:S;${PYTHONBASE};${PREFIX};} PYTHONPREFIX_SITELIBDIR= ${PYTHON_SITELIBDIR:S;${PYTHONBASE};${PREFIX};} -_CURRENTPORT:= ${PKGNAMEPREFIX}${PORTNAME} -.if defined(USE_PYDISTUTILS) && ${_CURRENTPORT} != ${PYTHON_PKGNAMEPREFIX}setuptools -BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools>0:${PORTSDIR}/devel/py-setuptools -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools>0:${PORTSDIR}/devel/py-setuptools +_CURRENTPORT:= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} +.if defined(USE_PYDISTUTILS) && ${_CURRENTPORT:S/${PYTHON_SUFFIX}$//} != ${PYTHON_PKGNAMEPREFIX}setuptools +BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools${PYTHON_SUFFIX}>0:${PORTSDIR}/devel/py-setuptools${PYTHON_SUFFIX} +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools${PYTHON_SUFFIX}>0:${PORTSDIR}/devel/py-setuptools${PYTHON_SUFFIX} .endif # setuptools support Added: head/devel/py-setuptools27/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-setuptools27/Makefile Thu Mar 6 16:33:17 2014 (r347268) @@ -0,0 +1,10 @@ +# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PKGNAMESUFFIX= ${PYTHON_SUFFIX} + +PYTHON_VERSION= 2.7 + +MASTERDIR= ${.CURDIR}/../py-setuptools + +.include "${MASTERDIR}/Makefile" Added: head/devel/py-setuptools32/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-setuptools32/Makefile Thu Mar 6 16:33:17 2014 (r347268) @@ -0,0 +1,10 @@ +# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PKGNAMESUFFIX= ${PYTHON_SUFFIX} + +PYTHON_VERSION= 3.2 + +MASTERDIR= ${.CURDIR}/../py-setuptools + +.include "${MASTERDIR}/Makefile" Added: head/devel/py-setuptools33/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-setuptools33/Makefile Thu Mar 6 16:33:17 2014 (r347268) @@ -0,0 +1,10 @@ +# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PKGNAMESUFFIX= ${PYTHON_SUFFIX} + +PYTHON_VERSION= 3.3 + +MASTERDIR= ${.CURDIR}/../py-setuptools + +.include "${MASTERDIR}/Makefile" _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" Author: sunpoet Date: Thu Mar 6 16:37:56 2014 New Revision: 347272 URL: http://svnweb.freebsd.org/changeset/ports/347272 QAT: https://qat.redports.org/buildarchive/r347272/ Log: - Add slave port of devel/py-setuptools for different python versions (27, 32 and 33) - Update Mk/bsd.python.mk to use new devel/py-setuptools{27|32|33} PR: ports/187091 Submitted by: sunpoet (myself) Discussed with: lwhsu, mva, koobs, crees Exp-run by: bdrewery With hat: python MFH: 2014Q1 Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Thu Mar 6 16:35:42 2014 (r347271) +++ head/devel/Makefile Thu Mar 6 16:37:56 2014 (r347272) @@ -3801,6 +3801,9 @@ SUBDIR += py-serpent SUBDIR += py-setproctitle SUBDIR += py-setuptools + SUBDIR += py-setuptools27 + SUBDIR += py-setuptools32 + SUBDIR += py-setuptools33 SUBDIR += py-setuptools-git SUBDIR += py-setuptools_darcs SUBDIR += py-setuptools_hg _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" State Changed From-To: open->closed This was done and committed |