diff options
author | Nicola Vitale <nivit@FreeBSD.org> | 2010-12-11 10:10:44 +0000 |
---|---|---|
committer | Nicola Vitale <nivit@FreeBSD.org> | 2010-12-11 10:10:44 +0000 |
commit | 8d0bab03e7b724d8fce5866473179ade8c973a38 (patch) | |
tree | 7ee7a6a4cf5e0f6661842ae4e7d126f04de3c9e8 /devel/py-virtualenv | |
parent | 9687c32d22f7dfafaad4268e28abc4762727bbe8 (diff) | |
download | ports-8d0bab03e7b724d8fce5866473179ade8c973a38.tar.gz ports-8d0bab03e7b724d8fce5866473179ade8c973a38.zip |
Notes
Diffstat (limited to 'devel/py-virtualenv')
-rw-r--r-- | devel/py-virtualenv/Makefile | 22 | ||||
-rw-r--r-- | devel/py-virtualenv/distinfo | 3 | ||||
-rw-r--r-- | devel/py-virtualenv/pkg-plist | 2 |
3 files changed, 21 insertions, 6 deletions
diff --git a/devel/py-virtualenv/Makefile b/devel/py-virtualenv/Makefile index 54018cd322aa..37e09bff374b 100644 --- a/devel/py-virtualenv/Makefile +++ b/devel/py-virtualenv/Makefile @@ -12,14 +12,15 @@ CATEGORIES= devel python MASTER_SITES= CHEESESHOP \ http://nivi.interfree.it/distfiles/${PORTNAME}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz +EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}.tar.gz MAINTAINER= nivit@FreeBSD.org COMMENT= Virtual Python Environment builder -PYEASYINSTALL_INSTALLARGS= -q -N -S ${PYTHON_SITELIBDIR} -x ${PYDISTUTILS_PKGNAME}==${PYDISTUTILS_PKGVERSION} -PYEASYINSTALL_UNINSTALLARGS+= -q -m -S ${PYTHON_SITELIBDIR} -x ${PYDISTUTILS_PKGNAME}==${PYDISTUTILS_PKGVERSION} +PLIST_SUB= PYVER=${PYTHON_VER} -USE_PYTHON= 2.4+ +USE_PYTHON= -2.7 USE_PYDISTUTILS= easy_install .if !defined(NOPORTDOCS) @@ -30,4 +31,17 @@ post-install: @cd ${WRKSRC}/docs && ${INSTALL_DATA} index.txt ${DOCSDIR}/ .endif -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} >= 270 + +SETUPTOOLS27_EGG= setuptools-0.6c11-py2.7.egg +MASTER_SITES+= http://pypi.python.org/packages/2.7/s/setuptools/:st27 +DISTFILES+= ${SETUPTOOLS27_EGG}:st27 + +post-patch: + ${CP} ${DISTDIR}/${SETUPTOOLS27_EGG} ${WRKSRC}/virtualenv_support/ + +.endif + +.include <bsd.port.post.mk> diff --git a/devel/py-virtualenv/distinfo b/devel/py-virtualenv/distinfo index 91d73e714642..d461c47d2744 100644 --- a/devel/py-virtualenv/distinfo +++ b/devel/py-virtualenv/distinfo @@ -1,3 +1,4 @@ -MD5 (virtualenv-1.5.1.tar.gz) = 3daa1f449d5d2ee03099484cecb1c2b7 SHA256 (virtualenv-1.5.1.tar.gz) = e2bbc4e80164e1ad83afba698559c2923f4bb7e61197b885c0a0befb29533438 SIZE (virtualenv-1.5.1.tar.gz) = 1424650 +SHA256 (setuptools-0.6c11-py2.7.egg) = 0d58908ff49d88391082f701c4baa43f1246abde920a5f91ce78edcc1aa67262 +SIZE (setuptools-0.6c11-py2.7.egg) = 332005 diff --git a/devel/py-virtualenv/pkg-plist b/devel/py-virtualenv/pkg-plist index 6aaa2da1567b..fa258ad0fdf3 100644 --- a/devel/py-virtualenv/pkg-plist +++ b/devel/py-virtualenv/pkg-plist @@ -14,7 +14,7 @@ bin/virtualenv %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/virtualenv_support/__init__.pyo %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/virtualenv_support/distribute-0.6.14.tar.gz %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/virtualenv_support/pip-0.8.1.tar.gz -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/virtualenv_support/setuptools-0.6c11-py2.6.egg +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/virtualenv_support/setuptools-0.6c11-py%%PYVER%%.egg %%PORTDOCS%%%%DOCSDIR%%/index.txt %%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/virtualenv_support |