summaryrefslogtreecommitdiff
path: root/dev-python/inscriptis/inscriptis-2.3.1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/inscriptis/inscriptis-2.3.1.ebuild')
-rw-r--r--dev-python/inscriptis/inscriptis-2.3.1.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/inscriptis/inscriptis-2.3.1.ebuild b/dev-python/inscriptis/inscriptis-2.3.1.ebuild
new file mode 100644
index 000000000000..d1fd36d52a2f
--- /dev/null
+++ b/dev-python/inscriptis/inscriptis-2.3.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7,8,9,10,11} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+DESCRIPTION="HTML to text converter"
+HOMEPAGE="
+ https://pypi.org/project/inscriptis/
+ https://github.com/weblyzard/inscriptis
+"
+SRC_URI="https://github.com/weblyzard/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-python/lxml[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+"
+
+DOCS=( AUTHORS {CONTRIBUTING,RENDERING}.md README.rst TODO.txt )
+
+distutils_enable_tests pytest
+
+distutils_enable_sphinx docs \
+ dev-python/myst-parser \
+ dev-python/alabaster