summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-11-13 07:42:59 +0100
committerMichał Górny <mgorny@gentoo.org>2024-11-13 07:55:18 +0100
commit57947d4342bce2d568d4d7602df55889dc880036 (patch)
tree970b160ebd87745768c5a03274af971a702f9632 /dev-python/manuel
parentdev-python/patsy: Bump to 1.0.1 (diff)
downloadgentoo-57947d4342bce2d568d4d7602df55889dc880036.tar.gz
gentoo-57947d4342bce2d568d4d7602df55889dc880036.tar.bz2
gentoo-57947d4342bce2d568d4d7602df55889dc880036.zip
dev-python/manuel: Bump to 1.13.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/manuel')
-rw-r--r--dev-python/manuel/Manifest1
-rw-r--r--dev-python/manuel/manuel-1.13.0.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/manuel/Manifest b/dev-python/manuel/Manifest
index 288e3f7d0e6c..75eed572b2bf 100644
--- a/dev-python/manuel/Manifest
+++ b/dev-python/manuel/Manifest
@@ -1 +1,2 @@
+DIST manuel-1.13.0.tar.gz 46185 BLAKE2B e9f089bd9c15ae3ed55fa544a18f2cfd9df01d3261a090a00dbbd98f7507de579158871bd8d045c35ce91ee5e22f7974dce5dfc90c558d12c003ffa6e5b1756e SHA512 f3da52838d74954bfb9e63abca92ec51eabfe354c54a6cc2508faf4bd97904b14224980d4bb27dd72b418ef3ca0e3de35480f8650bf480840014709bf3863b12
DIST manuel-3f4d94d2ace3bdab4acad6896c93f5c96d6bee92.tar.gz 39774 BLAKE2B 7be5bad5ee39358e1b0229c02c86c9492cae09684d8a942b9f5dcf0afe31037f635295019306d404a1fb0b81e40bb523d194cc499a89b32600f1a330ddaf4d2d SHA512 f96fe6c9438b00d7562d64ead32ef84dcc4746281f066e4e7c175b1b274691ccd615c31e1d26fdc25a67e67d03f28b52182652921ab2c9ff365f59aaa475adaf
diff --git a/dev-python/manuel/manuel-1.13.0.ebuild b/dev-python/manuel/manuel-1.13.0.ebuild
new file mode 100644
index 000000000000..87787ea86596
--- /dev/null
+++ b/dev-python/manuel/manuel-1.13.0.ebuild
@@ -0,0 +1,40 @@
+# 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 pypi
+
+DESCRIPTION="Lets you mix and match traditional doctests with custom test syntax"
+HOMEPAGE="
+ https://github.com/benji-york/manuel/
+ https://pypi.org/project/manuel/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ test? (
+ dev-python/zope-testing[${PYTHON_USEDEP}]
+ )
+"
+
+src_prepare() {
+ # unused rdep
+ sed -e "/'setuptools'/d" -i setup.py || die
+ distutils-r1_src_prepare
+}
+
+python_test() {
+ # tests are installed to site-packages but dependent data files
+ # are not, so run them from src instead
+ local -x PYTHONPATH=src
+ "${EPYTHON}" -m unittest -vv manuel.tests.test_suite || die
+}