summaryrefslogtreecommitdiff
path: root/dev-python/textile
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/textile')
-rw-r--r--dev-python/textile/Manifest1
-rw-r--r--dev-python/textile/textile-4.0.4.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/textile/Manifest b/dev-python/textile/Manifest
index dc830c17bce3..1493b0a27f8e 100644
--- a/dev-python/textile/Manifest
+++ b/dev-python/textile/Manifest
@@ -1 +1,2 @@
DIST python-textile-4.0.3.gh.tar.gz 53228 BLAKE2B f72e3aa58afc3509c4e430a54e6099758655d62dd3274af457c45cd752281e1836aded117496ba6b8d154867f4bf30770156110eabd607d6edcec978ded5e0e4 SHA512 796e8bffe0e5d1d477bb7ea9ef48b5ac19f870d63ea8f895973b2d895475317fec8d888557f586807541601bd97550e5bc2297f5cfefa3031a53ffd3e0bade00
+DIST python-textile-4.0.4.gh.tar.gz 53418 BLAKE2B e779b0bf013ab2c2e71c0795dfce0695df6d991545fcc93f0a7b4acdb69ddcb157405e6660748613e890902755dbb6ec4406257c39667d458f7b7c97b0d3bae5 SHA512 7724977343b33b5569feb667977f0e677985c9415cd8defe41103458f33219342b62651b8471a7e20d48498f03063a55e7d212c7a58578356d38553f6f781e9d
diff --git a/dev-python/textile/textile-4.0.4.ebuild b/dev-python/textile/textile-4.0.4.ebuild
new file mode 100644
index 000000000000..f722261a27d7
--- /dev/null
+++ b/dev-python/textile/textile-4.0.4.ebuild
@@ -0,0 +1,43 @@
+# 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_{10..14} )
+
+inherit distutils-r1
+
+MY_P="python-textile-${PV}"
+DESCRIPTION="A Python port of Textile, A humane web text generator"
+HOMEPAGE="
+ https://github.com/textile/python-textile/
+ https://pypi.org/project/textile/
+"
+SRC_URI="
+ https://github.com/textile/python-textile/archive/${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+RDEPEND="
+ dev-python/nh3[${PYTHON_USEDEP}]
+ dev-python/regex[${PYTHON_USEDEP}]
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # tests that need network access
+ tests/test_getimagesize.py
+ tests/test_imagesize.py
+ tests/test_textile.py
+ )
+ epytest -o addopts=
+}