Date: 23 Feb 2007 10:03:13 -0000 From: nivit@FreeBSD.org (Nicola Vitale) To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/109454: [PATCH] www/py-mechanize: update to 0.1.6.b Message-ID: <20070223100313.77042.qmail@arancino> Resent-Message-ID: <200702231010.l1NAA6w6088331@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 109454 >Category: ports >Synopsis: [PATCH] www/py-mechanize: update to 0.1.6.b >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Feb 23 10:10:05 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Nicola Vitale >Release: FreeBSD 6.2-STABLE i386 >Organization: >Environment: System: FreeBSD arancino.domo.sva 6.2-STABLE FreeBSD 6.2-STABLE #11: Mon Jan 15 17:21:21 CET 2007 >Description: - Update to 0.1.6.b Added file(s): - pkg-plist Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- py24-mechanize-0.1.6.b.patch begins here --- diff -ruN --exclude=CVS /usr/ports/www/py-mechanize/Makefile /usr/ports/www/py-mechanize.update-0.1.6.b/Makefile --- /usr/ports/www/py-mechanize/Makefile Fri Apr 29 09:06:01 2005 +++ /usr/ports/www/py-mechanize.update-0.1.6.b/Makefile Fri Feb 23 11:02:50 2007 @@ -7,7 +7,7 @@ # PORTNAME= mechanize -PORTVERSION= 0.0.9.a +PORTVERSION= 0.1.6.b CATEGORIES= www python MASTER_SITES= http://wwwsearch.sourceforge.net/mechanize/src/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -16,18 +16,28 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Stateful programmatic web browsing in Python -BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/ClientCookie/__init__.py:${PORTSDIR}/devel/py-clientcookie \ - ${PYTHON_SITELIBDIR}/ClientForm.py:${PORTSDIR}/www/py-clientform \ +BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools \ + ${PYTHON_SITELIBDIR}/ClientCookie/__init__.py:${PORTSDIR}/devel/py-clientcookie \ + ${PYTHON_SITELIBDIR}/${PYCLIENTFORM_EGG}:${PORTSDIR}/www/py-clientform \ ${PYTHON_SITELIBDIR}/pullparser.py:${PORTSDIR}/www/py-pullparser RUN_DEPENDS= ${BUILD_DEPENDS} USE_PYTHON= yes USE_PYDISTUTILS= yes -post-install: - @${FIND} ${PYTHON_SITELIBDIR}/mechanize ! -type d | \ - ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} - @${FIND} ${PYTHON_SITELIBDIR}/mechanize -type d | ${SORT} -r | \ - ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} +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} -.include <bsd.port.mk> +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> diff -ruN --exclude=CVS /usr/ports/www/py-mechanize/distinfo /usr/ports/www/py-mechanize.update-0.1.6.b/distinfo --- /usr/ports/www/py-mechanize/distinfo Fri Nov 25 20:02:14 2005 +++ /usr/ports/www/py-mechanize.update-0.1.6.b/distinfo Fri Feb 23 10:36:00 2007 @@ -1,3 +1,3 @@ -MD5 (mechanize-0.0.9a.tar.gz) = 7c805a9d3596b9e3267b1f88a9bbe1da -SHA256 (mechanize-0.0.9a.tar.gz) = d46055a526f8772bc0f74cefe5125f0d400411fc74a6540c6e7c2d072045cfd1 -SIZE (mechanize-0.0.9a.tar.gz) = 25378 +MD5 (mechanize-0.1.6b.tar.gz) = 98c27be9464f1342ede05784999d2757 +SHA256 (mechanize-0.1.6b.tar.gz) = 133c7f2e75fbff97dc05d45cbf261c272cf0969bacfcdfa6e72eb03cbf50864d +SIZE (mechanize-0.1.6b.tar.gz) = 230996 diff -ruN --exclude=CVS /usr/ports/www/py-mechanize/pkg-plist /usr/ports/www/py-mechanize.update-0.1.6.b/pkg-plist --- /usr/ports/www/py-mechanize/pkg-plist Thu Jan 1 01:00:00 1970 +++ /usr/ports/www/py-mechanize.update-0.1.6.b/pkg-plist Fri Feb 23 10:45:00 2007 @@ -0,0 +1,4 @@ +@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%% --- py24-mechanize-0.1.6.b.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070223100313.77042.qmail>