Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Mar 2014 16:33:18 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r347268 - in head: Mk devel/py-setuptools27 devel/py-setuptools32 devel/py-setuptools33
Message-ID:  <201403061633.s26GXIFM087800@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403061633.s26GXIFM087800>