pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/py-w3lib



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Feb 13 21:19:51 UTC 2017

Added Files:
        pkgsrc/www/py-w3lib: DESCR Makefile PLIST distinfo

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/www/py-w3lib/DESCR pkgsrc/www/py-w3lib/Makefile \
    pkgsrc/www/py-w3lib/PLIST pkgsrc/www/py-w3lib/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/www/py-w3lib/DESCR
diff -u /dev/null pkgsrc/www/py-w3lib/DESCR:1.1
--- /dev/null   Mon Feb 13 21:19:51 2017
+++ pkgsrc/www/py-w3lib/DESCR   Mon Feb 13 21:19:51 2017
@@ -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
Index: pkgsrc/www/py-w3lib/Makefile
diff -u /dev/null pkgsrc/www/py-w3lib/Makefile:1.1
--- /dev/null   Mon Feb 13 21:19:51 2017
+++ pkgsrc/www/py-w3lib/Makefile        Mon Feb 13 21:19:51 2017
@@ -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"
Index: pkgsrc/www/py-w3lib/PLIST
diff -u /dev/null pkgsrc/www/py-w3lib/PLIST:1.1
--- /dev/null   Mon Feb 13 21:19:51 2017
+++ pkgsrc/www/py-w3lib/PLIST   Mon Feb 13 21:19:51 2017
@@ -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
Index: pkgsrc/www/py-w3lib/distinfo
diff -u /dev/null pkgsrc/www/py-w3lib/distinfo:1.1
--- /dev/null   Mon Feb 13 21:19:51 2017
+++ pkgsrc/www/py-w3lib/distinfo        Mon Feb 13 21:19:51 2017
@@ -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