pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/py-w3lib This is a Python library of web-related f...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ded4f4e34837
branches: trunk
changeset: 358504:ded4f4e34837
user: adam <adam%pkgsrc.org@localhost>
date: Mon Feb 13 21:19:51 2017 +0000
description:
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:
www/py-w3lib/DESCR | 9 +++++++++
www/py-w3lib/Makefile | 18 ++++++++++++++++++
www/py-w3lib/PLIST | 28 ++++++++++++++++++++++++++++
www/py-w3lib/distinfo | 6 ++++++
4 files changed, 61 insertions(+), 0 deletions(-)
diffs (77 lines):
diff -r cd480ecfb00d -r ded4f4e34837 www/py-w3lib/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-w3lib/DESCR Mon Feb 13 21:19:51 2017 +0000
@@ -0,0 +1,9 @@
+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
diff -r cd480ecfb00d -r ded4f4e34837 www/py-w3lib/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-w3lib/Makefile Mon Feb 13 21:19:51 2017 +0000
@@ -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@localhost
+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"
diff -r cd480ecfb00d -r ded4f4e34837 www/py-w3lib/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-w3lib/PLIST Mon Feb 13 21:19:51 2017 +0000
@@ -0,0 +1,28 @@
+@comment $NetBSD: PLIST,v 1.1 2017/02/13 21:19:51 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}/w3lib/__init__.py
+${PYSITELIB}/w3lib/__init__.pyc
+${PYSITELIB}/w3lib/__init__.pyo
+${PYSITELIB}/w3lib/encoding.py
+${PYSITELIB}/w3lib/encoding.pyc
+${PYSITELIB}/w3lib/encoding.pyo
+${PYSITELIB}/w3lib/form.py
+${PYSITELIB}/w3lib/form.pyc
+${PYSITELIB}/w3lib/form.pyo
+${PYSITELIB}/w3lib/html.py
+${PYSITELIB}/w3lib/html.pyc
+${PYSITELIB}/w3lib/html.pyo
+${PYSITELIB}/w3lib/http.py
+${PYSITELIB}/w3lib/http.pyc
+${PYSITELIB}/w3lib/http.pyo
+${PYSITELIB}/w3lib/url.py
+${PYSITELIB}/w3lib/url.pyc
+${PYSITELIB}/w3lib/url.pyo
+${PYSITELIB}/w3lib/util.py
+${PYSITELIB}/w3lib/util.pyc
+${PYSITELIB}/w3lib/util.pyo
diff -r cd480ecfb00d -r ded4f4e34837 www/py-w3lib/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-w3lib/distinfo Mon Feb 13 21:19:51 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/02/13 21:19:51 adam Exp $
+
+SHA1 (w3lib-1.17.0.tar.gz) = 7dd33133de5f8bfae23c07a435a48a34b74c7c2a
+RMD160 (w3lib-1.17.0.tar.gz) = 8c52dbd4c35c9aed6caf317c2c5228930502f15f
+SHA512 (w3lib-1.17.0.tar.gz) = a131e1671e27d34c77ff62ce17aa1d28461d12b66e1fef4f4410d061f2a75ee4cdbbb447eea16c265ca6e4f1da2e72c8cf30f87fe1a92a8f3f70df036b4b2c96
+Size (w3lib-1.17.0.tar.gz) = 30357 bytes
Home |
Main Index |
Thread Index |
Old Index