From 792d0e2ec65ca63f1325cf17cd7f95430dbebbcc Mon Sep 17 00:00:00 2001 From: adam Date: Mon, 13 Feb 2017 21:21:09 +0000 Subject: Added www/py-parsel version 1.1.0 Parsel is a library to extract data from HTML and XML using XPath and CSS selectors. Features: * Extract text using CSS or XPath selectors * Regular expression helper methods --- www/py-parsel/DESCR | 6 ++++++ www/py-parsel/Makefile | 21 +++++++++++++++++++++ www/py-parsel/PLIST | 19 +++++++++++++++++++ www/py-parsel/distinfo | 6 ++++++ 4 files changed, 52 insertions(+) create mode 100644 www/py-parsel/DESCR create mode 100644 www/py-parsel/Makefile create mode 100644 www/py-parsel/PLIST create mode 100644 www/py-parsel/distinfo (limited to 'www/py-parsel') diff --git a/www/py-parsel/DESCR b/www/py-parsel/DESCR new file mode 100644 index 00000000000..c4402b42c6a --- /dev/null +++ b/www/py-parsel/DESCR @@ -0,0 +1,6 @@ +Parsel is a library to extract data from HTML and XML using XPath and CSS +selectors. + +Features: +* Extract text using CSS or XPath selectors +* Regular expression helper methods diff --git a/www/py-parsel/Makefile b/www/py-parsel/Makefile new file mode 100644 index 00000000000..dd2eccac672 --- /dev/null +++ b/www/py-parsel/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1 2017/02/13 21:21:09 adam Exp $ + +DISTNAME= parsel-1.1.0 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= www python +MASTER_SITES= ${MASTER_SITE_PYPI:=p/parsel/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://github.com/scrapy/parsel +COMMENT= Library to extract data from HTML and XML using XPath and CSS +LICENSE= modified-bsd + +DEPENDS+= ${PYPKGPREFIX}-cssselect>=0.9:../../textproc/py-cssselect +DEPENDS+= ${PYPKGPREFIX}-lxml>=2.3:../../textproc/py-lxml +DEPENDS+= ${PYPKGPREFIX}-six>=1.5.2:../../lang/py-six +DEPENDS+= ${PYPKGPREFIX}-w3lib>=1.8.0:../../www/py-w3lib + +USE_LANGUAGES= # none + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/www/py-parsel/PLIST b/www/py-parsel/PLIST new file mode 100644 index 00000000000..66e60a81d32 --- /dev/null +++ b/www/py-parsel/PLIST @@ -0,0 +1,19 @@ +@comment $NetBSD: PLIST,v 1.1 2017/02/13 21:21:09 adam Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/not-zip-safe +${PYSITELIB}/${EGG_INFODIR}/requires.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/parsel/__init__.py +${PYSITELIB}/parsel/__init__.pyc +${PYSITELIB}/parsel/__init__.pyo +${PYSITELIB}/parsel/csstranslator.py +${PYSITELIB}/parsel/csstranslator.pyc +${PYSITELIB}/parsel/csstranslator.pyo +${PYSITELIB}/parsel/selector.py +${PYSITELIB}/parsel/selector.pyc +${PYSITELIB}/parsel/selector.pyo +${PYSITELIB}/parsel/utils.py +${PYSITELIB}/parsel/utils.pyc +${PYSITELIB}/parsel/utils.pyo diff --git a/www/py-parsel/distinfo b/www/py-parsel/distinfo new file mode 100644 index 00000000000..6b49e7a003a --- /dev/null +++ b/www/py-parsel/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2017/02/13 21:21:09 adam Exp $ + +SHA1 (parsel-1.1.0.tar.gz) = 980be253dffa2f3c41bf277f581697062650c3a9 +RMD160 (parsel-1.1.0.tar.gz) = 5e225a5de3676b4734d473abb7115fc3885a9df2 +SHA512 (parsel-1.1.0.tar.gz) = fdc08423cdef31d6e430d1562ce22be47d998e3dcdc1049055500081a0d52f46f670350f731de18e212bec23642e3f005f89f6ae0bfa7d7d0222eda8b969d5ba +Size (parsel-1.1.0.tar.gz) = 32243 bytes -- cgit v1.2.3