diff options
author | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2008-09-25 06:27:54 +0000 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2008-09-25 06:27:54 +0000 |
commit | 2812972801d4e6d33894482976b983ea019e0fd8 (patch) | |
tree | 444d7b24eb4e60b8330c4bdd8b8b4d0bc72fcc43 /www/py-mechanize | |
parent | 825835dd5cc80c56a27567948ad955482aad4331 (diff) | |
download | ports-2812972801d4e6d33894482976b983ea019e0fd8.tar.gz ports-2812972801d4e6d33894482976b983ea019e0fd8.zip |
Notes
Diffstat (limited to 'www/py-mechanize')
-rw-r--r-- | www/py-mechanize/Makefile | 34 | ||||
-rw-r--r-- | www/py-mechanize/distinfo | 6 | ||||
-rw-r--r-- | www/py-mechanize/pkg-plist | 4 |
3 files changed, 11 insertions, 33 deletions
diff --git a/www/py-mechanize/Makefile b/www/py-mechanize/Makefile index 55194ca5b2f2..505df8d142e4 100644 --- a/www/py-mechanize/Makefile +++ b/www/py-mechanize/Makefile @@ -7,39 +7,21 @@ # PORTNAME= mechanize -PORTVERSION= 0.1.7.b +PORTVERSION= 0.1.9 CATEGORIES= www python -MASTER_SITES= http://wwwsearch.sourceforge.net/mechanize/src/ \ - http://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/ +MASTER_SITES= CHEESESHOP \ + http://wwwsearch.sourceforge.net/mechanize/src/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E} MAINTAINER= lwhsu@FreeBSD.org COMMENT= Stateful programmatic web browsing in Python -BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools \ - ${PYTHON_SITELIBDIR}/${PYCLIENTFORM_EGG}:${PORTSDIR}/www/py-clientform -RUN_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools \ - ${PYTHON_SITELIBDIR}/${PYCLIENTFORM_EGG}:${PORTSDIR}/www/py-clientform +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}clientform>0:${PORTSDIR}/www/py-clientform +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}clientform>0:${PORTSDIR}/www/py-clientform USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_PKGVERSION= 0.1.6b -PYDISTUTILS_NOEGGINFO= yes # XXX convert easy_install support to bsd.python.mk's +USE_PYDISTUTILS= easy_install -EASY_INSTALL_CMD?= easy_install-${PYTHON_VER} -PYDISTUTILS_BUILD_TARGET= bdist_egg -PYDISTUTILS_INSTALL_TARGET= easy_install -PYDISTUTILS_INSTALLARGS= -N -s ${PREFIX}/bin -S ${PYTHON_SITELIBDIR} dist/${PYMECHANIZE_EGG} +PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% -PLIST_SUB+= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \ - PYMECHANIZE_EGG=${PYMECHANIZE_EGG} \ - PORTNAME=${PORTNAME} PORTVERSION=${PORTVERSION} - -PYMECHANIZE_EGG= ${DISTNAME}-py${PYTHON_VER}.egg - -.include <bsd.port.pre.mk> - -PYCLIENTFORM_EGG!= ${MAKE} -f ${PORTSDIR}/www/py-clientform/Makefile -V PYCLIENTFORM_EGG - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/www/py-mechanize/distinfo b/www/py-mechanize/distinfo index 2fb86759f94c..2313bfd64a59 100644 --- a/www/py-mechanize/distinfo +++ b/www/py-mechanize/distinfo @@ -1,3 +1,3 @@ -MD5 (mechanize-0.1.7b.tar.gz) = 7d431ccec4e64063c7378ce3be53ea34 -SHA256 (mechanize-0.1.7b.tar.gz) = e58a2f23e607634c29c0e2067415f365aa448c3400f0d615c0f2fa53c90640c3 -SIZE (mechanize-0.1.7b.tar.gz) = 240993 +MD5 (mechanize-0.1.9.tar.gz) = 6754f9959a2d00ec028bf84db9300e87 +SHA256 (mechanize-0.1.9.tar.gz) = e7872b25703ba88b286aa0d7da24b2d9e893fb8ff3bc44eeceb572ee5299af0d +SIZE (mechanize-0.1.9.tar.gz) = 248226 diff --git a/www/py-mechanize/pkg-plist b/www/py-mechanize/pkg-plist deleted file mode 100644 index 89f645bbdbcd..000000000000 --- a/www/py-mechanize/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -@comment $FreeBSD$ -@unexec %%EASY_INSTALL_CMD%% -q -m -S %D/%%PYTHON_SITELIBDIR%% %%PORTNAME%%==%%PORTVERSION%% -%%PYTHON_SITELIBDIR%%/%%PYMECHANIZE_EGG%% -@exec %%EASY_INSTALL_CMD%% -N -S %D/%%PYTHON_SITELIBDIR%% %%PORTNAME%%==%%PORTVERSION%% |