svn commit: r347268 - in head: Mk devel/py-setuptools27 devel/py-setuptools32 devel/py-setuptools33
Bryan Drewery
bdrewery at FreeBSD.org
Thu Mar 6 16:37:00 UTC 2014
On 2014-03-06 10:33, Sunpoet Po-Chuan Hsieh wrote:
> 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)
You forgot devel/Makefile.
> 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 at 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 at 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 at FreeBSD.org>
> +# $FreeBSD$
> +
> +PKGNAMESUFFIX= ${PYTHON_SUFFIX}
> +
> +PYTHON_VERSION= 3.3
> +
> +MASTERDIR= ${.CURDIR}/../py-setuptools
> +
> +.include "${MASTERDIR}/Makefile"
--
Regards,
Bryan Drewery
More information about the svn-ports-all
mailing list