From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Feb 23 10:10:06 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7AD0216A405 for ; Fri, 23 Feb 2007 10:10:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 5D23D13C4A8 for ; Fri, 23 Feb 2007 10:10:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l1NAA6J2088332 for ; Fri, 23 Feb 2007 10:10:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l1NAA6w6088331; Fri, 23 Feb 2007 10:10:06 GMT (envelope-from gnats) Resent-Date: Fri, 23 Feb 2007 10:10:06 GMT Resent-Message-Id: <200702231010.l1NAA6w6088331@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, nivit@FreeBSD.org (Nicola Vitale) Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0967F16A402 for ; Fri, 23 Feb 2007 10:04:07 +0000 (UTC) (envelope-from nivit@FreeBSD.org) Received: from vsmtp14.tin.it (vsmtp14.tin.it [212.216.176.118]) by mx1.freebsd.org (Postfix) with ESMTP id C49CC13C441 for ; Fri, 23 Feb 2007 10:04:06 +0000 (UTC) (envelope-from nivit@FreeBSD.org) Received: from localhost (87.15.149.126) by vsmtp14.tin.it (7.2.072.1) id 45DC304E0035D1BF for FreeBSD-gnats-submit@freebsd.org; Fri, 23 Feb 2007 11:04:05 +0100 Received: (qmail 77043 invoked by uid 0); 23 Feb 2007 10:03:13 -0000 Message-Id: <20070223100313.77042.qmail@arancino> Date: 23 Feb 2007 10:03:13 -0000 From: nivit@FreeBSD.org (Nicola Vitale) To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/109454: [PATCH] www/py-mechanize: update to 0.1.6.b X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2007 10:10:06 -0000 >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 +PLIST_SUB+= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \ + PYMECHANIZE_EGG=${PYMECHANIZE_EGG} \ + PORTNAME=${PORTNAME} PORTVERSION=${PORTVERSION} + +PYMECHANIZE_EGG= ${DISTNAME}-py${PYTHON_VER}.egg + +.include + +PYCLIENTFORM_EGG!= ${MAKE} -f ${PORTSDIR}/www/py-clientform/Makefile -V PYCLIENTFORM_EGG + +.include 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: