summaryrefslogtreecommitdiff
path: root/www/py-parsel
diff options
context:
space:
mode:
authoradam <adam>2017-02-13 21:21:09 +0000
committeradam <adam>2017-02-13 21:21:09 +0000
commit792d0e2ec65ca63f1325cf17cd7f95430dbebbcc (patch)
tree42cf44f38cb6f4cb921f5c947e5af2169a11dc42 /www/py-parsel
parent29dfe1a229b2a9695bf5356aec845eb45c675469 (diff)
downloadpkgsrc-792d0e2ec65ca63f1325cf17cd7f95430dbebbcc.tar.gz
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
Diffstat (limited to 'www/py-parsel')
-rw-r--r--www/py-parsel/DESCR6
-rw-r--r--www/py-parsel/Makefile21
-rw-r--r--www/py-parsel/PLIST19
-rw-r--r--www/py-parsel/distinfo6
4 files changed, 52 insertions, 0 deletions
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