summaryrefslogtreecommitdiff
path: root/www/py-w3lib/Makefile
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2017-02-13 21:19:51 +0000
committeradam <adam@pkgsrc.org>2017-02-13 21:19:51 +0000
commit29a7abd0cd3d2c4238c64967808287144780597a (patch)
tree6fb79df103f8ffb5da8cf354a5266e1151cb51ea /www/py-w3lib/Makefile
parentb3bb15202b26fc8d5ea96e854b6017acf0fad608 (diff)
downloadpkgsrc-29a7abd0cd3d2c4238c64967808287144780597a.tar.gz
This is a Python library of web-related functions, such as:
* remove comments, or tags from HTML snippets * extract base url from HTML snippets * translate entites on HTML strings * convert raw HTTP headers to dicts and vice-versa * construct HTTP auth header * converting HTML pages to unicode * sanitize urls (like browsers do) * extract arguments from urls
Diffstat (limited to 'www/py-w3lib/Makefile')
-rw-r--r--www/py-w3lib/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/www/py-w3lib/Makefile b/www/py-w3lib/Makefile
new file mode 100644
index 00000000000..c7ebf68c885
--- /dev/null
+++ b/www/py-w3lib/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2017/02/13 21:19:51 adam Exp $
+
+DISTNAME= w3lib-1.17.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= www python
+MASTER_SITES= ${MASTER_SITE_PYPI:=w/w3lib/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://github.com/scrapy/w3lib
+COMMENT= Python library of web-related functions
+LICENSE= modified-bsd
+
+DEPENDS+= ${PYPKGPREFIX}-six>=1.4.1:../../lang/py-six
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"