pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-readability-lxml: Import py-readability-lxml-0.8.1
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Wed Nov 27 18:56:45 2024 +0100
Changeset: c0d5604bce4ca2f8e5b3b1d56a12b3dab65f563b
Added Files:
py-readability-lxml/DESCR
py-readability-lxml/Makefile
py-readability-lxml/PLIST
py-readability-lxml/distinfo
Log Message:
py-readability-lxml: Import py-readability-lxml-0.8.1
Given a HTML document, it pulls out the main body text and cleans it up.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c0d5604bce4ca2f8e5b3b1d56a12b3dab65f563b
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-readability-lxml/DESCR | 1 +
py-readability-lxml/Makefile | 20 ++++++++++++++++++++
py-readability-lxml/PLIST | 33 +++++++++++++++++++++++++++++++++
py-readability-lxml/distinfo | 5 +++++
4 files changed, 59 insertions(+)
diffs:
diff --git a/py-readability-lxml/DESCR b/py-readability-lxml/DESCR
new file mode 100644
index 0000000000..12445f5e87
--- /dev/null
+++ b/py-readability-lxml/DESCR
@@ -0,0 +1 @@
+Given a HTML document, it pulls out the main body text and cleans it up.
diff --git a/py-readability-lxml/Makefile b/py-readability-lxml/Makefile
new file mode 100644
index 0000000000..7ba69887e0
--- /dev/null
+++ b/py-readability-lxml/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+DISTNAME= readability-lxml-0.8.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= www python
+MASTER_SITES= ${MASTER_SITE_PYPI:=r/readability-lxml/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/buriy/python-readability
+COMMENT= Fast HTML to text parser (article readability tool)
+LICENSE= apache-2.0
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=44.0:../../devel/py-setuptools
+DEPENDS+= ${PYPKGPREFIX}-chardet-[0-9]*:../../converters/py-chardet
+DEPENDS+= ${PYPKGPREFIX}-cssselect-[0-9]*:../../textproc/py-cssselect
+DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
+DEPENDS+= ${PYPKGPREFIX}-lxml-html-clean-[0-9]*:../../textproc/py-lxml-html-clean
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-readability-lxml/PLIST b/py-readability-lxml/PLIST
new file mode 100644
index 0000000000..055273b9f8
--- /dev/null
+++ b/py-readability-lxml/PLIST
@@ -0,0 +1,33 @@
+@comment $NetBSD$
+${PYSITELIB}/readability/__init__.py
+${PYSITELIB}/readability/__init__.pyc
+${PYSITELIB}/readability/__init__.pyo
+${PYSITELIB}/readability/browser.py
+${PYSITELIB}/readability/browser.pyc
+${PYSITELIB}/readability/browser.pyo
+${PYSITELIB}/readability/cleaners.py
+${PYSITELIB}/readability/cleaners.pyc
+${PYSITELIB}/readability/cleaners.pyo
+${PYSITELIB}/readability/compat/__init__.py
+${PYSITELIB}/readability/compat/__init__.pyc
+${PYSITELIB}/readability/compat/__init__.pyo
+${PYSITELIB}/readability/compat/three.py
+${PYSITELIB}/readability/compat/three.pyc
+${PYSITELIB}/readability/compat/three.pyo
+${PYSITELIB}/readability/compat/two.py
+${PYSITELIB}/readability/debug.py
+${PYSITELIB}/readability/debug.pyc
+${PYSITELIB}/readability/debug.pyo
+${PYSITELIB}/readability/encoding.py
+${PYSITELIB}/readability/encoding.pyc
+${PYSITELIB}/readability/encoding.pyo
+${PYSITELIB}/readability/htmls.py
+${PYSITELIB}/readability/htmls.pyc
+${PYSITELIB}/readability/htmls.pyo
+${PYSITELIB}/readability/readability.py
+${PYSITELIB}/readability/readability.pyc
+${PYSITELIB}/readability/readability.pyo
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
diff --git a/py-readability-lxml/distinfo b/py-readability-lxml/distinfo
new file mode 100644
index 0000000000..0d656ba5b3
--- /dev/null
+++ b/py-readability-lxml/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (readability-lxml-0.8.1.tar.gz) = 96cab93209f580eeb27ca86428b5b46f6fe46c2ed1deec8b2a030881ef2b7c3a
+SHA512 (readability-lxml-0.8.1.tar.gz) = e975116c8e34d7395e22acab2257dc9e90d75835317deadab6fb4bfd8aea5a8af9eacaabf26e96230665006dee63a0e7dd2afceba480da4d5f31b2b3bf7129c2
+Size (readability-lxml-0.8.1.tar.gz) = 15878 bytes
Home |
Main Index |
Thread Index |
Old Index