summaryrefslogtreecommitdiff
path: root/dev-python/justext
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/justext')
-rw-r--r--dev-python/justext/Manifest1
-rw-r--r--dev-python/justext/justext-3.0.2.ebuild30
-rw-r--r--dev-python/justext/metadata.xml12
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/justext/Manifest b/dev-python/justext/Manifest
new file mode 100644
index 000000000000..8f32049da9c9
--- /dev/null
+++ b/dev-python/justext/Manifest
@@ -0,0 +1 @@
+DIST justext-3.0.2.tar.gz 938111 BLAKE2B 386593003675d113aaa76f8884a185865541250b31ae290f3bd1336e4f79f9921cba1a714e4f960c019ea65b0c0f152517601313866c7676fc208d2de7167c0d SHA512 c0d2b44c774738346b0dd1cc424e64e01099539b5ee6416f1331b52d95ff9149fd0a48d0bfc48da8e5e221c881cbb814b436112f85e7275f79d711d0dcb08c8a
diff --git a/dev-python/justext/justext-3.0.2.ebuild b/dev-python/justext/justext-3.0.2.ebuild
new file mode 100644
index 000000000000..6cc5c3bd32ec
--- /dev/null
+++ b/dev-python/justext/justext-3.0.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit distutils-r1
+
+DESCRIPTION="Heuristic based boilerplate removal tool"
+HOMEPAGE="https://github.com/miso-belica/jusText"
+SRC_URI="https://github.com/miso-belica/jusText/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+S="${WORKDIR}/jusText-${PV}"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-python/lxml-html-clean[${PYTHON_USEDEP}]
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+python_test() {
+ epytest --override-ini="addopts="
+}
diff --git a/dev-python/justext/metadata.xml b/dev-python/justext/metadata.xml
new file mode 100644
index 000000000000..54bf59dda70d
--- /dev/null
+++ b/dev-python/justext/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://srcux.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <name>Pavel Sobolev</name>
+ <email>contact@paveloom.dev</email>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/miso-belica/jusText/issues</bugs-to>
+ </upstream>
+ <origin>srcux</origin>
+</pkgmetadata>