Date: Fri, 11 Jul 2014 18:09:01 +0000 (UTC) From: Sofian Brabez <sbz@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r361574 - in head/lang: python27 python32 python33 python34 Message-ID: <201407111809.s6BI91OG026707@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sbz Date: Fri Jul 11 18:09:01 2014 New Revision: 361574 URL: http://svnweb.freebsd.org/changeset/ports/361574 QAT: https://qat.redports.org/buildarchive/r361574/ Log: - Add CPE entries for python - Remove NOPORTDATA as it's deprecated since r359061 Modified: head/lang/python27/Makefile head/lang/python32/Makefile head/lang/python33/Makefile head/lang/python34/Makefile Modified: head/lang/python27/Makefile ============================================================================== --- head/lang/python27/Makefile Fri Jul 11 17:47:46 2014 (r361573) +++ head/lang/python27/Makefile Fri Jul 11 18:09:01 2014 (r361574) @@ -22,10 +22,14 @@ MAKE_ENV= VPATH="${PYTHON_WRKSRC}" INSTALL_TARGET= altinstall -USES= readline tar:xz +USES= readline tar:xz cpe USE_LDCONFIG= yes USE_PYTHON= yes +CPE_VENDOR= python +CPE_PRODUCT= ${CPE_VENDOR} +CPE_VERSION= ${PORTVERSION} + PYTHON_VERSION= python2.7 PYTHON_NO_DEPENDS= yes @@ -272,10 +276,9 @@ post-install: ${INSTALL_MAN} ${PYTHON_WRKSRC}/Misc/python.man \ ${STAGEDIR}${MAN1PREFIX}/man/man1/${PYTHON_VERSION}.1 -.if !defined(NOPORTDATA) @${MKDIR} ${STAGEDIR}${DATADIR} @(cd ${PYTHON_WRKSRC}; ${TAR} -cf - Tools | (cd ${STAGEDIR}${DATADIR}; ${TAR} --no-same-owner -xf -)) -.endif + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @(cd ${PYTHON_WRKSRC}/Demo; ${TAR} -cf - * | \ (cd ${STAGEDIR}${EXAMPLESDIR}; ${TAR} --no-same-owner -xf -)) Modified: head/lang/python32/Makefile ============================================================================== --- head/lang/python32/Makefile Fri Jul 11 17:47:46 2014 (r361573) +++ head/lang/python32/Makefile Fri Jul 11 18:09:01 2014 (r361574) @@ -1,30 +1,34 @@ # $FreeBSD$ -PORTNAME= python32 -PORTVERSION= 3.2.5 -PORTREVISION= 9 -CATEGORIES= lang python ipv6 -MASTER_SITES= PYTHON +PORTNAME= python32 +PORTVERSION= 3.2.5 +PORTREVISION= 9 +CATEGORIES= lang python ipv6 +MASTER_SITES= PYTHON MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR} -DISTNAME= ${PYTHON_DISTNAME} -DIST_SUBDIR= python +DISTNAME= ${PYTHON_DISTNAME} +DIST_SUBDIR= python MAINTAINER= python@FreeBSD.org COMMENT= Interpreted object-oriented programming language LICENSE= PSFL -GNU_CONFIGURE= yes +GNU_CONFIGURE= yes CONFIGURE_SCRIPT= ../configure # must be relative -CONFIGURE_ENV= OPT="" SVNVERSION="echo freebsd" -MAKE_ENV= VPATH="${PYTHON_WRKSRC}" +CONFIGURE_ENV= OPT="" SVNVERSION="echo freebsd" +MAKE_ENV= VPATH="${PYTHON_WRKSRC}" INSTALL_TARGET= altinstall -USES= readline tar:xz +USES= readline tar:xz cpe USE_LDCONFIG= yes USE_PYTHON= yes +CPE_VENDOR= python +CPE_PRODUCT= ${CPE_VENDOR} +CPE_VERSION= ${PORTVERSION} + PYTHON_VERSION= python3.2 PYTHON_NO_DEPENDS= yes @@ -213,11 +217,9 @@ post-install: ${INSTALL_MAN} ${PYTHON_WRKSRC}/Misc/python.man \ ${STAGEDIR}${MAN1PREFIX}/man/man1/${PYTHON_VERSION}.1 -.if !defined(NOPORTDATA) @${MKDIR} ${STAGEDIR}${DATADIR} @cd ${PYTHON_WRKSRC}; ${TAR} -cf - Tools | \ (cd ${STAGEDIR}${DATADIR}; ${TAR} -xf -) -.endif @${CAT} ${PKGMESSAGE} Modified: head/lang/python33/Makefile ============================================================================== --- head/lang/python33/Makefile Fri Jul 11 17:47:46 2014 (r361573) +++ head/lang/python33/Makefile Fri Jul 11 18:09:01 2014 (r361574) @@ -21,10 +21,14 @@ MAKE_ENV= VPATH="${PYTHON_WRKSRC}" INSTALL_TARGET= altinstall -USES= gmake readline shebangfix tar:xz +USES= gmake readline shebangfix tar:xz cpe USE_LDCONFIG= yes USE_PYTHON= yes +CPE_VENDOR= python +CPE_PRODUCT= ${CPE_VENDOR} +CPE_VERSION= ${PORTVERSION} + PYTHON_VERSION= python3.3 PYTHON_NO_DEPENDS= yes @@ -213,11 +217,9 @@ post-install: ${INSTALL_MAN} ${PYTHON_WRKSRC}/Misc/python.man \ ${STAGEDIR}${MAN1PREFIX}/man/man1/${PYTHON_VERSION}.1 -.if !defined(NOPORTDATA) @${MKDIR} ${STAGEDIR}${DATADIR} @cd ${PYTHON_WRKSRC}; ${TAR} -cf - Tools | \ (cd ${STAGEDIR}${DATADIR}; ${TAR} -xf -) -.endif regression-test: build @cd ${WRKSRC} && ${MAKE_CMD} TESTOPTS=-j${MAKE_JOBS_NUMBER} test Modified: head/lang/python34/Makefile ============================================================================== --- head/lang/python34/Makefile Fri Jul 11 17:47:46 2014 (r361573) +++ head/lang/python34/Makefile Fri Jul 11 18:09:01 2014 (r361574) @@ -1,25 +1,29 @@ # Created by: Kubilay Kocak <koobs@FreeBSD.org> # $FreeBSD$ -PORTNAME= python34 -PORTVERSION= 3.4.1 -PORTREVISION= 1 -CATEGORIES= lang python ipv6 -MASTER_SITES= PYTHON +PORTNAME= python34 +PORTVERSION= 3.4.1 +PORTREVISION= 1 +CATEGORIES= lang python ipv6 +MASTER_SITES= PYTHON MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR} -DISTNAME= ${PYTHON_DISTNAME} -DIST_SUBDIR= python +DISTNAME= ${PYTHON_DISTNAME} +DIST_SUBDIR= python MAINTAINER= python@FreeBSD.org COMMENT= Interpreted object-oriented programming language LICENSE= PSFL -USES= ncurses pkgconfig readline tar:xz +USES= ncurses pkgconfig readline tar:xz cpe USE_LDCONFIG= yes USE_PYTHON= yes GNU_CONFIGURE= yes +CPE_VENDOR= python +CPE_PRODUCT= ${CPE_VENDOR} +CPE_VERSION= ${PORTVERSION} + PYTHON_VERSION= python3.4 PYTHON_NO_DEPENDS= yes
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407111809.s6BI91OG026707>