aboutsummaryrefslogtreecommitdiff
path: root/www/py-pullparser
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-02-26 15:48:16 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-02-26 15:48:16 +0000
commit016689207d8eca587fa1d46602b6f37c9aadc80a (patch)
tree14b750129a2080db51275858798b611f9466625f /www/py-pullparser
parent969dc0e76e179eb268c5ec08f5c99b7bbf19074b (diff)
downloadports-016689207d8eca587fa1d46602b6f37c9aadc80a.tar.gz
ports-016689207d8eca587fa1d46602b6f37c9aadc80a.zip
Notes
Diffstat (limited to 'www/py-pullparser')
-rw-r--r--www/py-pullparser/Makefile15
-rw-r--r--www/py-pullparser/distinfo6
-rw-r--r--www/py-pullparser/pkg-plist6
3 files changed, 20 insertions, 7 deletions
diff --git a/www/py-pullparser/Makefile b/www/py-pullparser/Makefile
index 9365bc9fecc4..436d9f1df6d3 100644
--- a/www/py-pullparser/Makefile
+++ b/www/py-pullparser/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= pullparser
-PORTVERSION= 0.0.6
+PORTVERSION= 0.1.0
CATEGORIES= www python
MASTER_SITES= http://wwwsearch.sourceforge.net/pullparser/src/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,7 +15,20 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= A simple "pull API" for HTML parsing
+BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
+
USE_PYTHON= yes
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/${PULLPARSER_EGG}
+
+PULLPARSER_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
+
+PLIST_SUB+= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
+ PULLPARSER_EGG=${PULLPARSER_EGG} \
+ PULLPARSER_EGG_VER="${PORTNAME}==${PORTVERSION}"
.include <bsd.port.mk>
diff --git a/www/py-pullparser/distinfo b/www/py-pullparser/distinfo
index 4905848dc9a7..2c542128ca0c 100644
--- a/www/py-pullparser/distinfo
+++ b/www/py-pullparser/distinfo
@@ -1,3 +1,3 @@
-MD5 (pullparser-0.0.6.tar.gz) = e7074a671ced63ca019d00e1a1b25ca4
-SHA256 (pullparser-0.0.6.tar.gz) = 91076dd3c1c0826242f0e574bd0b5920ebfb65b39077eae6aaea7a0dce6f9c08
-SIZE (pullparser-0.0.6.tar.gz) = 11676
+MD5 (pullparser-0.1.0.tar.gz) = 0625ebe0e056e1f810543d182c39bcf5
+SHA256 (pullparser-0.1.0.tar.gz) = 039da20c26ecd3334cb95680d67eafb6e11451a4c22d19f6ee74e8a9b4372696
+SIZE (pullparser-0.1.0.tar.gz) = 21472
diff --git a/www/py-pullparser/pkg-plist b/www/py-pullparser/pkg-plist
index 18a80afb8f5c..effb622e1cdd 100644
--- a/www/py-pullparser/pkg-plist
+++ b/www/py-pullparser/pkg-plist
@@ -1,3 +1,3 @@
-%%PYTHON_SITELIBDIR%%/pullparser.py
-%%PYTHON_SITELIBDIR%%/pullparser.pyc
-%%PYTHON_SITELIBDIR%%/pullparser.pyo
+@unexec %%EASY_INSTALL_CMD%% -q -m -S %D/%%PYTHON_SITELIBDIR%% %%PULLPARSER_EGG_VER%%
+%%PYTHON_SITELIBDIR%%/%%PULLPARSER_EGG%%
+@exec %%EASY_INSTALL_CMD%% -q -N -S %D/%%PYTHON_SITELIBDIR%% %%PULLPARSER_EGG_VER%%