aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/py-genshi-devel
diff options
context:
space:
mode:
authoralexbl <alexbl@FreeBSD.org>2007-07-30 17:42:28 +0800
committeralexbl <alexbl@FreeBSD.org>2007-07-30 17:42:28 +0800
commit7d749db4cf14f30613e9a53a08ffa3d3b4575146 (patch)
treead9062005432bbf28f5cce4ad3a1cd32a59dba69 /textproc/py-genshi-devel
parent8e2da239f74a82ad1c98b69bd27abb3f4e40ecf3 (diff)
downloadfreebsd-ports-gnome-7d749db4cf14f30613e9a53a08ffa3d3b4575146.tar.gz
freebsd-ports-gnome-7d749db4cf14f30613e9a53a08ffa3d3b4575146.tar.zst
freebsd-ports-gnome-7d749db4cf14f30613e9a53a08ffa3d3b4575146.zip
- Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with Python Eggs and the easy_install system Tested by: pointyhat runs Approved by: pav (portmgr) Most work by: perky Thanks to: pav
Diffstat (limited to 'textproc/py-genshi-devel')
-rw-r--r--textproc/py-genshi-devel/Makefile12
-rw-r--r--textproc/py-genshi-devel/pkg-plist5
2 files changed, 2 insertions, 15 deletions
diff --git a/textproc/py-genshi-devel/Makefile b/textproc/py-genshi-devel/Makefile
index eed450711622..41d20a527099 100644
--- a/textproc/py-genshi-devel/Makefile
+++ b/textproc/py-genshi-devel/Makefile
@@ -17,17 +17,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Python toolkit for stream-based generation of output for the web
-BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-
-PYGENSHI_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
-
-PLIST_SUB= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
- PYGENSHI_EGG=${PYGENSHI_EGG}
-
-EASY_INSTALL_CMD?= easy_install-${PYTHON_VER}
+USE_PYDISTUTILS= easy_install
.include <bsd.port.mk>
diff --git a/textproc/py-genshi-devel/pkg-plist b/textproc/py-genshi-devel/pkg-plist
index bde4759ebc5a..ddf68a1c022f 100644
--- a/textproc/py-genshi-devel/pkg-plist
+++ b/textproc/py-genshi-devel/pkg-plist
@@ -1,4 +1 @@
-@comment $FreeBSD$
-@unexec %%EASY_INSTALL_CMD%% -N -m %D/%%PYTHON_SITELIBDIR%%/%%PYGENSHI_EGG%%
-%%PYTHON_SITELIBDIR%%/%%PYGENSHI_EGG%%
-@exec %%EASY_INSTALL_CMD%% -N %D/%%PYTHON_SITELIBDIR%%/PYGENSHI_EGG%%
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%