commit:     4ac483e43ba55c91dd49bd006b46ac39c04cbf18
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 23 03:33:57 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Sep 23 03:48:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ac483e4

dev-python/textile: Bump to 4.0.3

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/textile/Manifest             |  1 +
 dev-python/textile/textile-4.0.3.ebuild | 42 +++++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/dev-python/textile/Manifest b/dev-python/textile/Manifest
index 7f0d8ee5ac4d..223b434bb7eb 100644
--- a/dev-python/textile/Manifest
+++ b/dev-python/textile/Manifest
@@ -1 +1,2 @@
 DIST python-textile-4.0.2.gh.tar.gz 49296 BLAKE2B 
e9ac36b0ecf401a07aea1037c1f4390e440123d7e16f8fef64c257d27f6ef9c6918018ff34e9f8ad367767f3ebc5ce7957be424b2e6dac62fe8a1f7736b8eff7
 SHA512 
eb59e44b9a8521bcfa98f476e23efd727ffd867277d24f102bbb9511a99a0d636c324e22f8562382074007f304490c4ec6a5fde529f41b15f055a9cf16d49b8e
+DIST python-textile-4.0.3.gh.tar.gz 53228 BLAKE2B 
f72e3aa58afc3509c4e430a54e6099758655d62dd3274af457c45cd752281e1836aded117496ba6b8d154867f4bf30770156110eabd607d6edcec978ded5e0e4
 SHA512 
796e8bffe0e5d1d477bb7ea9ef48b5ac19f870d63ea8f895973b2d895475317fec8d888557f586807541601bd97550e5bc2297f5cfefa3031a53ffd3e0bade00

diff --git a/dev-python/textile/textile-4.0.3.ebuild 
b/dev-python/textile/textile-4.0.3.ebuild
new file mode 100644
index 000000000000..ea9fa9f66595
--- /dev/null
+++ b/dev-python/textile/textile-4.0.3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+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/regex[${PYTHON_USEDEP}]
+       dev-python/textile[${PYTHON_USEDEP}]
+"
+
+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=
+}

Reply via email to