pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-feedparser Add feedparser 6.0.0, which dro...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/626118f9fe3d
branches:  trunk
changeset: 440617:626118f9fe3d
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Tue Oct 13 12:33:09 2020 +0000

description:
Add feedparser 6.0.0, which drops support for Python 2.7 and adds some
API changes.

diffstat:

 textproc/py-feedparser/DESCR    |   15 +++++
 textproc/py-feedparser/Makefile |   29 +++++++++++
 textproc/py-feedparser/PLIST    |  102 ++++++++++++++++++++++++++++++++++++++++
 textproc/py-feedparser/distinfo |    6 ++
 4 files changed, 152 insertions(+), 0 deletions(-)

diffs (168 lines):

diff -r c1ad1a8b9f4e -r 626118f9fe3d textproc/py-feedparser/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-feedparser/DESCR      Tue Oct 13 12:33:09 2020 +0000
@@ -0,0 +1,15 @@
+Universal Feed Parser is a Python module for downloading and parsing
+syndicated feeds. It can handle RSS 0.90, Netscape RSS 0.91, Userland
+RSS 0.91, RSS 0.92, RSS 0.93, RSS 0.94, RSS 1.0, RSS 2.0, Atom 0.3,
+Atom 1.0, and CDF feeds. It also parses several popular extension
+modules, including Dublin Core and Apple's iTunes extensions.
+
+To use Universal Feed Parser, you will need Python 2.1 or later.
+Universal Feed Parser is not meant to run standalone; it is a module
+for you to use as part of a larger Python program.
+
+Universal Feed Parser is easy to use; the module is self-contained
+in a single file, feedparser.py, and it has one primary public
+function, parse. parse takes a number of arguments, but only one
+is required, and it can be a URL, a local filename, or a raw string
+containing feed data in any format.
diff -r c1ad1a8b9f4e -r 626118f9fe3d textproc/py-feedparser/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-feedparser/Makefile   Tue Oct 13 12:33:09 2020 +0000
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.29 2020/10/13 12:33:09 schmonz Exp $
+
+DISTNAME=              feedparser-6.0.1
+PKGNAME=               ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=            textproc python
+MASTER_SITES=          ${MASTER_SITE_PYPI:=f/feedparser/}
+
+MAINTAINER=            schmonz%NetBSD.org@localhost
+HOMEPAGE=              https://pypi.python.org/pypi/feedparser
+COMMENT=               Parse RSS and Atom feeds in Python
+LICENSE=               2-clause-bsd
+
+USE_LANGUAGES=         # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+DEPENDS+=              ${PYPKGPREFIX}-sgmllib3k-[0-9]*:../../textproc/py-sgmllib3k
+
+post-extract:
+       cd ${WRKSRC}/tests/illformed && \
+       rm -f chardet/big5.xml undeclared_namespace.xml
+
+TEST_ENV+=             PYTHONPATH=${WRKSRC}/build/lib
+
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} tests/runtests.py
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c1ad1a8b9f4e -r 626118f9fe3d textproc/py-feedparser/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-feedparser/PLIST      Tue Oct 13 12:33:09 2020 +0000
@@ -0,0 +1,102 @@
+@comment $NetBSD: PLIST,v 1.6 2020/10/13 12:33:09 schmonz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/feedparser/__init__.py
+${PYSITELIB}/feedparser/__init__.pyc
+${PYSITELIB}/feedparser/__init__.pyo
+${PYSITELIB}/feedparser/api.py
+${PYSITELIB}/feedparser/api.pyc
+${PYSITELIB}/feedparser/api.pyo
+${PYSITELIB}/feedparser/datetimes/__init__.py
+${PYSITELIB}/feedparser/datetimes/__init__.pyc
+${PYSITELIB}/feedparser/datetimes/__init__.pyo
+${PYSITELIB}/feedparser/datetimes/asctime.py
+${PYSITELIB}/feedparser/datetimes/asctime.pyc
+${PYSITELIB}/feedparser/datetimes/asctime.pyo
+${PYSITELIB}/feedparser/datetimes/greek.py
+${PYSITELIB}/feedparser/datetimes/greek.pyc
+${PYSITELIB}/feedparser/datetimes/greek.pyo
+${PYSITELIB}/feedparser/datetimes/hungarian.py
+${PYSITELIB}/feedparser/datetimes/hungarian.pyc
+${PYSITELIB}/feedparser/datetimes/hungarian.pyo
+${PYSITELIB}/feedparser/datetimes/iso8601.py
+${PYSITELIB}/feedparser/datetimes/iso8601.pyc
+${PYSITELIB}/feedparser/datetimes/iso8601.pyo
+${PYSITELIB}/feedparser/datetimes/korean.py
+${PYSITELIB}/feedparser/datetimes/korean.pyc
+${PYSITELIB}/feedparser/datetimes/korean.pyo
+${PYSITELIB}/feedparser/datetimes/perforce.py
+${PYSITELIB}/feedparser/datetimes/perforce.pyc
+${PYSITELIB}/feedparser/datetimes/perforce.pyo
+${PYSITELIB}/feedparser/datetimes/rfc822.py
+${PYSITELIB}/feedparser/datetimes/rfc822.pyc
+${PYSITELIB}/feedparser/datetimes/rfc822.pyo
+${PYSITELIB}/feedparser/datetimes/w3dtf.py
+${PYSITELIB}/feedparser/datetimes/w3dtf.pyc
+${PYSITELIB}/feedparser/datetimes/w3dtf.pyo
+${PYSITELIB}/feedparser/encodings.py
+${PYSITELIB}/feedparser/encodings.pyc
+${PYSITELIB}/feedparser/encodings.pyo
+${PYSITELIB}/feedparser/exceptions.py
+${PYSITELIB}/feedparser/exceptions.pyc
+${PYSITELIB}/feedparser/exceptions.pyo
+${PYSITELIB}/feedparser/html.py
+${PYSITELIB}/feedparser/html.pyc
+${PYSITELIB}/feedparser/html.pyo
+${PYSITELIB}/feedparser/http.py
+${PYSITELIB}/feedparser/http.pyc
+${PYSITELIB}/feedparser/http.pyo
+${PYSITELIB}/feedparser/mixin.py
+${PYSITELIB}/feedparser/mixin.pyc
+${PYSITELIB}/feedparser/mixin.pyo
+${PYSITELIB}/feedparser/namespaces/__init__.py
+${PYSITELIB}/feedparser/namespaces/__init__.pyc
+${PYSITELIB}/feedparser/namespaces/__init__.pyo
+${PYSITELIB}/feedparser/namespaces/_base.py
+${PYSITELIB}/feedparser/namespaces/_base.pyc
+${PYSITELIB}/feedparser/namespaces/_base.pyo
+${PYSITELIB}/feedparser/namespaces/admin.py
+${PYSITELIB}/feedparser/namespaces/admin.pyc
+${PYSITELIB}/feedparser/namespaces/admin.pyo
+${PYSITELIB}/feedparser/namespaces/cc.py
+${PYSITELIB}/feedparser/namespaces/cc.pyc
+${PYSITELIB}/feedparser/namespaces/cc.pyo
+${PYSITELIB}/feedparser/namespaces/dc.py
+${PYSITELIB}/feedparser/namespaces/dc.pyc
+${PYSITELIB}/feedparser/namespaces/dc.pyo
+${PYSITELIB}/feedparser/namespaces/georss.py
+${PYSITELIB}/feedparser/namespaces/georss.pyc
+${PYSITELIB}/feedparser/namespaces/georss.pyo
+${PYSITELIB}/feedparser/namespaces/itunes.py
+${PYSITELIB}/feedparser/namespaces/itunes.pyc
+${PYSITELIB}/feedparser/namespaces/itunes.pyo
+${PYSITELIB}/feedparser/namespaces/mediarss.py
+${PYSITELIB}/feedparser/namespaces/mediarss.pyc
+${PYSITELIB}/feedparser/namespaces/mediarss.pyo
+${PYSITELIB}/feedparser/namespaces/psc.py
+${PYSITELIB}/feedparser/namespaces/psc.pyc
+${PYSITELIB}/feedparser/namespaces/psc.pyo
+${PYSITELIB}/feedparser/parsers/__init__.py
+${PYSITELIB}/feedparser/parsers/__init__.pyc
+${PYSITELIB}/feedparser/parsers/__init__.pyo
+${PYSITELIB}/feedparser/parsers/loose.py
+${PYSITELIB}/feedparser/parsers/loose.pyc
+${PYSITELIB}/feedparser/parsers/loose.pyo
+${PYSITELIB}/feedparser/parsers/strict.py
+${PYSITELIB}/feedparser/parsers/strict.pyc
+${PYSITELIB}/feedparser/parsers/strict.pyo
+${PYSITELIB}/feedparser/sanitizer.py
+${PYSITELIB}/feedparser/sanitizer.pyc
+${PYSITELIB}/feedparser/sanitizer.pyo
+${PYSITELIB}/feedparser/sgml.py
+${PYSITELIB}/feedparser/sgml.pyc
+${PYSITELIB}/feedparser/sgml.pyo
+${PYSITELIB}/feedparser/urls.py
+${PYSITELIB}/feedparser/urls.pyc
+${PYSITELIB}/feedparser/urls.pyo
+${PYSITELIB}/feedparser/util.py
+${PYSITELIB}/feedparser/util.pyc
+${PYSITELIB}/feedparser/util.pyo
diff -r c1ad1a8b9f4e -r 626118f9fe3d textproc/py-feedparser/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-feedparser/distinfo   Tue Oct 13 12:33:09 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.17 2020/10/13 12:33:09 schmonz Exp $
+
+SHA1 (feedparser-6.0.1.tar.gz) = cf953fc23c20d999c49af81e988afbbec86f722b
+RMD160 (feedparser-6.0.1.tar.gz) = 39963b7bb51406b6a1bd240fddf2a0d7255f0159
+SHA512 (feedparser-6.0.1.tar.gz) = 1349de4762a7f17d2c7d52e8f0de9a9d4370e1e6317aa10c0271724b1bb21514cb98d346b10f5faf43a31cd86c9d23476472e3adb10e0719f6d6b6fc3f7a4d8d
+Size (feedparser-6.0.1.tar.gz) = 284620 bytes



Home | Main Index | Thread Index | Old Index