summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatoro Mahri <matoro_gentoo@matoro.tk>2023-12-15 13:04:20 -0500
committerMiroslav Šulc <fordfrog@gentoo.org>2023-12-16 20:51:25 +0100
commit75ef3042882fc0113e74028d5c5083a31e839442 (patch)
treefd38f31a7eccdbd30f9c729c45389e4140132a0f
parentapp-laptop/tuxedo-drivers: cleanup ebuild after pkgmove (diff)
downloadgentoo-75ef3042882fc0113e74028d5c5083a31e839442.tar.gz
gentoo-75ef3042882fc0113e74028d5c5083a31e839442.tar.bz2
gentoo-75ef3042882fc0113e74028d5c5083a31e839442.zip
dev-python/sphinxygen: fix tests
Use VCS tarball over pypi. Also test dep. Closes: https://bugs.gentoo.org/918401 Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk> Closes: https://github.com/gentoo/gentoo/pull/34297 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
-rw-r--r--dev-python/sphinxygen/Manifest1
-rw-r--r--dev-python/sphinxygen/sphinxygen-1.0.4-r1.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-python/sphinxygen/Manifest b/dev-python/sphinxygen/Manifest
index 060ce35000a2..7f04c09dbb60 100644
--- a/dev-python/sphinxygen/Manifest
+++ b/dev-python/sphinxygen/Manifest
@@ -1 +1,2 @@
+DIST sphinxygen-1.0.4.gh.tar.gz 17706 BLAKE2B 48c99ba80ebdc9f2ed9ef147d8d7c4f0deb7d4e1118ff6969cf510a0a10bc2335fa9ba91fb38caf60b8770a023e7a0730efa0a5606726dd1d0292650374d9271 SHA512 38ac258850fe6ab38e88c7b59d41e1400b89b13443862a0a9e7c7d1a2e3b887660f1cb17ce94737bc6366025172b40a50da0107d970120610fc9410f41c3250c
DIST sphinxygen-1.0.4.tar.gz 13732 BLAKE2B 1b2f957bcacea9acf287263c4054199759bbe19f3d90fa85a143c5e85a2e383837936d72c6c1e57257d2d586722cfccab7fd38083ae6709553e5e6400273d549 SHA512 3094e3f9c5c50bf4e6a8332acf7147fa8b5e0a32c3dc49bf9786b6684e7e60b08971c52c46d4413ab23cd0b4bcd1cf02c924cdad51b7e1da29c1e747880c6f96
diff --git a/dev-python/sphinxygen/sphinxygen-1.0.4-r1.ebuild b/dev-python/sphinxygen/sphinxygen-1.0.4-r1.ebuild
new file mode 100644
index 000000000000..4779a085a625
--- /dev/null
+++ b/dev-python/sphinxygen/sphinxygen-1.0.4-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Python module/script that generates Sphinx markup to describe a C API"
+HOMEPAGE="
+ https://gitlab.com/drobilla/sphinxygen
+ https://pypi.org/project/sphinxygen/
+"
+SRC_URI="https://gitlab.com/drobilla/sphinxygen/-/archive/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+SLOT="0"
+LICENSE="ISC"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+S="${WORKDIR}/${PN}-v${PV}"
+
+BDEPEND="test? ( dev-python/html5lib[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest