diff options
author | alexbl <alexbl@FreeBSD.org> | 2007-07-30 17:42:28 +0800 |
---|---|---|
committer | alexbl <alexbl@FreeBSD.org> | 2007-07-30 17:42:28 +0800 |
commit | 7d749db4cf14f30613e9a53a08ffa3d3b4575146 (patch) | |
tree | ad9062005432bbf28f5cce4ad3a1cd32a59dba69 /www/py-funkload | |
parent | 8e2da239f74a82ad1c98b69bd27abb3f4e40ecf3 (diff) | |
download | freebsd-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 'www/py-funkload')
-rw-r--r-- | www/py-funkload/Makefile | 18 | ||||
-rw-r--r-- | www/py-funkload/pkg-plist | 4 |
2 files changed, 3 insertions, 19 deletions
diff --git a/www/py-funkload/Makefile b/www/py-funkload/Makefile index 59551b58cfe0..4ba6c354999d 100644 --- a/www/py-funkload/Makefile +++ b/www/py-funkload/Makefile @@ -16,28 +16,14 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= lwhsu@FreeBSD.org COMMENT= FunkLoad is a functional and load web tester -BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools -RUN_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools \ - ${PYTHON_SITELIBDIR}/docutils/__init__.py:${PORTSDIR}/textproc/py-docutils \ +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/docutils/__init__.py:${PORTSDIR}/textproc/py-docutils \ ${PYTHON_SITELIBDIR}/gdchart.so:${PORTSDIR}/graphics/py-gdchart \ ${PYTHON_SITELIBDIR}/webunit/__init__.py:${PORTSDIR}/www/py-webunit \ ${PYXML} \ tcpwatch.py:${PORTSDIR}/net/tcpwatch USE_PYTHON= 2.4+ -USE_PYDISTUTILS= yes - -EASY_INSTALL_CMD?= easy_install-${PYTHON_VER} - -PYDISTUTILS_BUILD_TARGET= bdist_egg -PYDISTUTILS_INSTALL_TARGET= easy_install -PYDISTUTILS_INSTALLARGS= -O 1 -N -S ${PYTHON_SITELIBDIR} ${WRKSRC}/dist/${PYFUNKLOAD_EGG} - -PYFUNKLOAD_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg - -PLIST_SUB+= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \ - PYFUNKLOAD_EGG=${PYFUNKLOAD_EGG} \ - PYFUNKLOAD_EGG_VER="${PORTNAME}==${PORTVERSION}" +USE_PYDISTUTILS= easy_install DOCSDIR= ${TARGETDIR}/share/doc/py-${PORTNAME} EXAMPLESDIR= ${TARGETDIR}/share/examples/py-${PORTNAME} diff --git a/www/py-funkload/pkg-plist b/www/py-funkload/pkg-plist index b26f8aa30408..f1916e775384 100644 --- a/www/py-funkload/pkg-plist +++ b/www/py-funkload/pkg-plist @@ -1,6 +1,4 @@ -@unexec %%EASY_INSTALL_CMD%% -q -m -S %D/%%PYTHON_SITELIBDIR%% %%PYFUNKLOAD_EGG_VER%% -%%PYTHON_SITELIBDIR%%/%%PYFUNKLOAD_EGG%% -@exec %%EASY_INSTALL_CMD%% -q -N -S %D/%%PYTHON_SITELIBDIR%% %%PYFUNKLOAD_EGG_VER%% +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% bin/fl-build-report bin/fl-credential-ctl bin/fl-import-from-tm-recorder |