From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Feb 1 05:00:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A72AB9D3 for ; Sat, 1 Feb 2014 05:00:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 826361B2F for ; Sat, 1 Feb 2014 05:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s11500T6012049 for ; Sat, 1 Feb 2014 05:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s11500Ig012048; Sat, 1 Feb 2014 05:00:00 GMT (envelope-from gnats) Resent-Date: Sat, 1 Feb 2014 05:00:00 GMT Resent-Message-Id: <201402010500.s11500Ig012048@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, Olivier Duchateau Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3FF979CE for ; Sat, 1 Feb 2014 04:59:27 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2063E1B29 for ; Sat, 1 Feb 2014 04:59:27 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id s114xQft057186 for ; Sat, 1 Feb 2014 04:59:26 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id s114xQbW057185; Sat, 1 Feb 2014 04:59:26 GMT (envelope-from nobody) Message-Id: <201402010459.s114xQbW057185@oldred.freebsd.org> Date: Sat, 1 Feb 2014 04:59:26 GMT From: Olivier Duchateau To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/186328: [UPDATE] www/py-cssselect to 0.9.1 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Feb 2014 05:00:00 -0000 >Number: 186328 >Category: ports >Synopsis: [UPDATE] www/py-cssselect to 0.9.1 >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: Sat Feb 01 05:00:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Olivier Duchateau >Release: >Organization: >Environment: >Description: - Update to 0.9.1 - Support STAGEDIR - Clean little bit documentation part (install only necessary files) >How-To-Repeat: >Fix: Patch attached with submission follows: Index: Makefile =================================================================== --- Makefile (révision 342096) +++ Makefile (copie de travail) @@ -2,9 +2,8 @@ # $FreeBSD$ PORTNAME= cssselect -PORTVERSION= 0.7.1 -#PORTREVISION= 0 -CATEGORIES= www +PORTVERSION= 0.9.1 +CATEGORIES= www python MASTER_SITES= CHEESESHOP http://docs.python.org/:sphinx PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz @@ -16,16 +15,15 @@ LICENSE= BSD +USE_PYTHON= yes +USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes + OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options OPTIONS_DEFINE= DOCS -NO_STAGE= yes .include -# Python3 ready -USE_PYTHON= 2 -USE_PYDISTUTILS= easy_install - DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} SPHINX_BUILD= sphinx-build @@ -33,19 +31,24 @@ .if ${PORT_OPTIONS:MDOCS} DISTFILES+= objects.inv:sphinx -BUILD_DEPENDS+= sphinx-build:${PORTSDIR}/textproc/py-sphinx - -REINPLACE_ARGS= -i.bak -e 's,%%DISTDIR%%,${DISTDIR},g' \ - -e 's,%%PORTNAME%%,${PORTNAME},g' +BUILD_DEPENDS= sphinx-build:${PORTSDIR}/textproc/py-sphinx post-patch: - ${REINPLACE_CMD} ${WRKSRC}/docs/conf.py + @${REINPLACE_CMD} -e 's,%%DISTDIR%%,${DISTDIR}, ; \ + s,%%PORTNAME%%,${PORTNAME},' \ + ${WRKSRC}/docs/conf.py post-install: + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${SETENV} PYTHONPATH="${PYTHONPREFIX_SITELIBDIR}" \ - ${SPHINX_BUILD} -N -a -b html ${WRKSRC}/docs ${WRKSRC}/docs.html && \ - cd ${WRKSRC}/docs.html && ${MKDIR} ${DOCSDIR} && \ - ${COPYTREE_SHARE} . ${DOCSDIR} + ${SPHINX_BUILD} -N -a -b html \ + ${WRKSRC}/docs ${WRKSRC}/docs.html +.for i in html js + @cd ${WRKSRC}/docs.html && \ + ${INSTALL_DATA} *.${i} ${STAGEDIR}${DOCSDIR} +.endfor + @cd ${WRKSRC}/docs.html && \ + ${COPYTREE_SHARE} _static/ ${STAGEDIR}${DOCSDIR} .endif .include Index: distinfo =================================================================== --- distinfo (révision 342096) +++ distinfo (copie de travail) @@ -1,4 +1,4 @@ -SHA256 (cssselect/cssselect-0.7.1.tar.gz) = 74f411a349fcfb676b68336fcae8799ba9fbb0a0446562f544dee019fb0e2ae7 -SIZE (cssselect/cssselect-0.7.1.tar.gz) = 30480 -SHA256 (cssselect/objects.inv) = ed23f7aa1326b6f9b9dce41f452a9a0dff6da38f6e66c8a4cf4f164553947943 -SIZE (cssselect/objects.inv) = 114160 +SHA256 (cssselect/cssselect-0.9.1.tar.gz) = 0535a7e27014874b27ae3a4d33e8749e345bdfa62766195208b7996bf1100682 +SIZE (cssselect/cssselect-0.9.1.tar.gz) = 32952 +SHA256 (cssselect/objects.inv) = 3a987e56191886c673b6fdc1991219a430ab6afe1b2a72f888908b4734f78df4 +SIZE (cssselect/objects.inv) = 114996 Index: pkg-descr =================================================================== --- pkg-descr (révision 342096) +++ pkg-descr (copie de travail) @@ -5,4 +5,4 @@ This module used to live inside of lxml as ``lxml.cssselect`` before it was extracted as a stand-alone project. -WWW: http://packages.python.org/cssselect/ +WWW: http://packages.python.org/cssselect/ >Release-Note: >Audit-Trail: >Unformatted: