Date: Fri, 1 Nov 2013 20:59:27 +0000 (UTC) From: Nicola Vitale <nivit@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332407 - head/www/py-pyquery Message-ID: <201311012059.rA1KxR79048602@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nivit Date: Fri Nov 1 20:59:26 2013 New Revision: 332407 URL: http://svnweb.freebsd.org/changeset/ports/332407 Log: - Update to 1.2.6 - Add LICENSE (BSD) - Add www/py-webob to RUN_DEPENDS - Add all run-dependencies to BUILD_DEPENDS - Add support for staging - Install docs optionally - Set USE_ZIP - Fix WWW entry in pkg-descr Build logs: https://redports.org/buildarchive/20131101154600-24682/ Modified: head/www/py-pyquery/Makefile (contents, props changed) head/www/py-pyquery/distinfo (contents, props changed) head/www/py-pyquery/pkg-descr (contents, props changed) head/www/py-pyquery/pkg-plist (contents, props changed) Modified: head/www/py-pyquery/Makefile ============================================================================== --- head/www/py-pyquery/Makefile Fri Nov 1 20:32:56 2013 (r332406) +++ head/www/py-pyquery/Makefile Fri Nov 1 20:59:26 2013 (r332407) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= pyquery -PORTVERSION= 1.2.1 +PORTVERSION= 1.2.6 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,11 +10,60 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= nivit@FreeBSD.org COMMENT= A jquery-like library for python -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=2.1:${PORTSDIR}/devel/py-lxml \ - ${PYTHON_PKGNAMEPREFIX}cssselect>=0.6.1:${PORTSDIR}/www/py-cssselect +LICENSE= BSD + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cssselect>=0.6.1:${PORTSDIR}/www/py-cssselect \ + ${PYTHON_PKGNAMEPREFIX}lxml>=2.1:${PORTSDIR}/devel/py-lxml \ + ${PYTHON_PKGNAMEPREFIX}webob>=1.2.2:${PORTSDIR}/www/py-webob +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cssselect>=0.6.1:${PORTSDIR}/www/py-cssselect \ + ${PYTHON_PKGNAMEPREFIX}lxml>=2.1:${PORTSDIR}/devel/py-lxml \ + ${PYTHON_PKGNAMEPREFIX}webob>=1.2.2:${PORTSDIR}/www/py-webob + +# required by stage: target +MAKE_ENV= PYTHONUSERBASE=${STAGEDIR}${PYTHONBASE} + +OPTIONS_DEFINE= DOCS USE_PYTHON= yes USE_PYDISTUTILS= easy_install +USE_ZIP= yes + +# required by stage: target +stage-dir: stage-python-dirs +stage-python-dirs: + @${MKDIR} ${STAGEDIR}${PYEASYINSTALL_BINDIR} \ + ${STAGEDIR}${PYEASYINSTALL_SITELIBDIR} + +.include <bsd.port.options.mk> + +post-install: +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @(cd ${WRKSRC}/docs/_build/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) +.endif +# required by stage: target + @(cd ${STAGEDIR}${PREFIX} && \ + ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ + -d ${PREFIX} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}) + +.include <bsd.port.pre.mk> + +.if ${PORT_OPTIONS:MDOCS} +BUILD_DEPENDS+= sphinx-build:${PORTSDIR}/textproc/py-sphinx +DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} +PYDISTUTILS_BUILD_TARGET+= build_sphinx -a -E +.endif + +# required by stage: target +.undef PYDISTUTILS_INSTALLARGS +PYDISTUTILS_INSTALLARGS= --always-unzip \ + --install-dir ${STAGEDIR}${PYEASYINSTALL_SITELIBDIR} \ + --multi-version \ + --no-deps \ + --quiet \ + --script-dir ${STAGEDIR}${PYEASYINSTALL_BINDIR} \ + --site-dir ${STAGEDIR}${PYEASYINSTALL_SITELIBDIR} \ + --user \ + ${WRKSRC}/dist/${PYEASYINSTALL_EGG} -NO_STAGE= yes -.include <bsd.port.mk> +.include <bsd.port.post.mk> Modified: head/www/py-pyquery/distinfo ============================================================================== --- head/www/py-pyquery/distinfo Fri Nov 1 20:32:56 2013 (r332406) +++ head/www/py-pyquery/distinfo Fri Nov 1 20:59:26 2013 (r332407) @@ -1,2 +1,2 @@ -SHA256 (pyquery-1.2.1.tar.gz) = a607f81a628887e2cf03d5dddee6f092faf411e51b894130a2b4c839e60c408f -SIZE (pyquery-1.2.1.tar.gz) = 21534 +SHA256 (pyquery-1.2.6.zip) = 732bbb1758508a1284b53fcdce9d96aa53cb63ce93d54b38d286f4281a12ac24 +SIZE (pyquery-1.2.6.zip) = 41203 Modified: head/www/py-pyquery/pkg-descr ============================================================================== --- head/www/py-pyquery/pkg-descr Fri Nov 1 20:32:56 2013 (r332406) +++ head/www/py-pyquery/pkg-descr Fri Nov 1 20:59:26 2013 (r332407) @@ -2,4 +2,4 @@ pyquery allows you to make jquery querie The API is as much as possible the similar to jquery (http://jquery.com). pyquery uses lxml for fast XML and HTML manipulation. -WWW: http://pyquery.org +WWW: https://pypi.python.org/pypi/pyquery Modified: head/www/py-pyquery/pkg-plist ============================================================================== --- head/www/py-pyquery/pkg-plist Fri Nov 1 20:32:56 2013 (r332406) +++ head/www/py-pyquery/pkg-plist Fri Nov 1 20:59:26 2013 (r332407) @@ -1,4 +1,3 @@ -@comment $FreeBSD$ %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt @@ -8,24 +7,75 @@ %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyquery/__init__.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyquery/__init__.pyc -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyquery/__init__.pyo %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyquery/ajax.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyquery/ajax.pyc -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyquery/ajax.pyo %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyquery/cssselectpatch.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyquery/cssselectpatch.pyc -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyquery/cssselectpatch.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyquery/openers.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyquery/openers.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyquery/pyquery.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyquery/pyquery.pyc -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyquery/pyquery.pyo %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyquery/rules.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyquery/rules.pyc -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyquery/rules.pyo -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyquery/test.html -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyquery/test.py -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyquery/test.pyc -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyquery/test.pyo -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyquery/tests.txt -@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyquery -@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO -@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% +%%PORTDOCS%%%%DOCSDIR%%/.buildinfo +%%PORTDOCS%%%%DOCSDIR%%/_modules/index.html +%%PORTDOCS%%%%DOCSDIR%%/_modules/pyquery/ajax.html +%%PORTDOCS%%%%DOCSDIR%%/_modules/pyquery/pyquery.html +%%PORTDOCS%%%%DOCSDIR%%/_sources/ajax.txt +%%PORTDOCS%%%%DOCSDIR%%/_sources/api.txt +%%PORTDOCS%%%%DOCSDIR%%/_sources/attributes.txt +%%PORTDOCS%%%%DOCSDIR%%/_sources/changes.txt +%%PORTDOCS%%%%DOCSDIR%%/_sources/css.txt +%%PORTDOCS%%%%DOCSDIR%%/_sources/future.txt +%%PORTDOCS%%%%DOCSDIR%%/_sources/index.txt +%%PORTDOCS%%%%DOCSDIR%%/_sources/manipulating.txt +%%PORTDOCS%%%%DOCSDIR%%/_sources/scrap.txt +%%PORTDOCS%%%%DOCSDIR%%/_sources/testing.txt +%%PORTDOCS%%%%DOCSDIR%%/_sources/tips.txt +%%PORTDOCS%%%%DOCSDIR%%/_sources/traversing.txt +%%PORTDOCS%%%%DOCSDIR%%/_static/ajax-loader.gif +%%PORTDOCS%%%%DOCSDIR%%/_static/basic.css +%%PORTDOCS%%%%DOCSDIR%%/_static/comment-bright.png +%%PORTDOCS%%%%DOCSDIR%%/_static/comment-close.png +%%PORTDOCS%%%%DOCSDIR%%/_static/comment.png +%%PORTDOCS%%%%DOCSDIR%%/_static/doctools.js +%%PORTDOCS%%%%DOCSDIR%%/_static/down-pressed.png +%%PORTDOCS%%%%DOCSDIR%%/_static/down.png +%%PORTDOCS%%%%DOCSDIR%%/_static/file.png +%%PORTDOCS%%%%DOCSDIR%%/_static/jquery.js +%%PORTDOCS%%%%DOCSDIR%%/_static/minus.png +%%PORTDOCS%%%%DOCSDIR%%/_static/nature.css +%%PORTDOCS%%%%DOCSDIR%%/_static/plus.png +%%PORTDOCS%%%%DOCSDIR%%/_static/pygments.css +%%PORTDOCS%%%%DOCSDIR%%/_static/searchtools.js +%%PORTDOCS%%%%DOCSDIR%%/_static/underscore.js +%%PORTDOCS%%%%DOCSDIR%%/_static/up-pressed.png +%%PORTDOCS%%%%DOCSDIR%%/_static/up.png +%%PORTDOCS%%%%DOCSDIR%%/_static/websupport.js +%%PORTDOCS%%%%DOCSDIR%%/ajax.html +%%PORTDOCS%%%%DOCSDIR%%/api.html +%%PORTDOCS%%%%DOCSDIR%%/attributes.html +%%PORTDOCS%%%%DOCSDIR%%/changes.html +%%PORTDOCS%%%%DOCSDIR%%/css.html +%%PORTDOCS%%%%DOCSDIR%%/future.html +%%PORTDOCS%%%%DOCSDIR%%/genindex.html +%%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%%%DOCSDIR%%/manipulating.html +%%PORTDOCS%%%%DOCSDIR%%/objects.inv +%%PORTDOCS%%%%DOCSDIR%%/py-modindex.html +%%PORTDOCS%%%%DOCSDIR%%/scrap.html +%%PORTDOCS%%%%DOCSDIR%%/search.html +%%PORTDOCS%%%%DOCSDIR%%/searchindex.js +%%PORTDOCS%%%%DOCSDIR%%/testing.html +%%PORTDOCS%%%%DOCSDIR%%/tips.html +%%PORTDOCS%%%%DOCSDIR%%/traversing.html +%%PORTDOCS%%@dirrm %%DOCSDIR%%/_static +%%PORTDOCS%%@dirrm %%DOCSDIR%%/_sources +%%PORTDOCS%%@dirrm %%DOCSDIR%%/_modules/pyquery +%%PORTDOCS%%@dirrm %%DOCSDIR%%/_modules +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrmtry %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyquery +@dirrmtry %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO +@dirrmtry %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% +@dirrmtry %%PYTHON_SITELIBDIR%% +@dirrmtry %%PYTHON_LIBDIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311012059.rA1KxR79048602>