aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2023-01-06 08:04:48 +0500
committerAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2023-01-06 08:08:11 +0500
commite6e11e218626348c0e8b6ef2ccae85a23c8aa3cd (patch)
tree445f9a1c86bd386ca58ae6678f9a3b418cec3747 /dev-python
parentacct-user/tang: keyword 0 (diff)
downloadguru-e6e11e218626348c0e8b6ef2ccae85a23c8aa3cd.tar.gz
guru-e6e11e218626348c0e8b6ef2ccae85a23c8aa3cd.tar.bz2
guru-e6e11e218626348c0e8b6ef2ccae85a23c8aa3cd.zip
dev-python/sphinx-argparse-cli: add 1.11.0, drop 1.8.2
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/sphinx-argparse-cli/Manifest2
-rw-r--r--dev-python/sphinx-argparse-cli/sphinx-argparse-cli-1.11.0.ebuild (renamed from dev-python/sphinx-argparse-cli/sphinx-argparse-cli-1.8.2.ebuild)15
2 files changed, 11 insertions, 6 deletions
diff --git a/dev-python/sphinx-argparse-cli/Manifest b/dev-python/sphinx-argparse-cli/Manifest
index aa4446872..5cab68fc1 100644
--- a/dev-python/sphinx-argparse-cli/Manifest
+++ b/dev-python/sphinx-argparse-cli/Manifest
@@ -1,2 +1,2 @@
-DIST sphinx_argparse_cli-1.8.2.tar.gz 21990 BLAKE2B fda2e87902fa8682a183aa4a16fd80f686a6f0144c4b61d2f8e3840c857b937e27422d2e2c3f346296ef79cc4624ad535ab892409d1633c782343c256d08a763 SHA512 bbc26b0171b20e62a17e130a91b962785ec9edad98b9e838e7a82fe9d464397ac4b12b33c4556253a47320aae2c3e695f938bee04e6583cfbabfe0383955a2d5
+DIST sphinx-argparse-cli-1.11.0.gh.tar.gz 18745 BLAKE2B 9660fc48b80885a9968cb664abd1234d8718d4757e64b0642a46e6fcab9b95c5888cb47acd0b731a88ee8da309a6325eca5ff06b6acac200553caf6446ef92f9 SHA512 adb1c9c2c04cc2d714403806b71705a09ea085e562bd2e97d73249e5b33a1341880151b200a96734291606318acc4d8f7c23d3d42798e677744a37496d88d5ac
DIST sphinx_argparse_cli-1.9.0.tar.gz 23389 BLAKE2B 790db176b789945ebe786ef38cc35a516d8422d0139e5f2b9070acd4a64504d6f0f58793608259bde053cda99e0cad774971cc9c972602b104d3714f48543322 SHA512 effc9c107c184b91c4f13b0c4ce3c3d7559007373e1851bc7802a1832f3056a7d4c715520184392aa49c615a23f000f0c50639bcb8b82e3f98bdb1741e60e935
diff --git a/dev-python/sphinx-argparse-cli/sphinx-argparse-cli-1.8.2.ebuild b/dev-python/sphinx-argparse-cli/sphinx-argparse-cli-1.11.0.ebuild
index 969b77f4e..8141001d6 100644
--- a/dev-python/sphinx-argparse-cli/sphinx-argparse-cli-1.8.2.ebuild
+++ b/dev-python/sphinx-argparse-cli/sphinx-argparse-cli-1.11.0.ebuild
@@ -3,19 +3,24 @@
EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{8..11} ) # no pypy3 support
inherit distutils-r1
-MY_PN="${PN//-/_}"
DESCRIPTION="Render CLI arguments (sub-commands friendly) defined by argparse module"
HOMEPAGE="https://github.com/tox-dev/sphinx-argparse-cli https://pypi.org/project/sphinx-argparse-cli/"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
-S="${WORKDIR}/${MY_PN}-${PV}"
+SRC_URI="https://github.com/tox-dev/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
-RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]"
+RDEPEND="
+ >=dev-python/sphinx-5.3.0[${PYTHON_USEDEP}]
+ <dev-python/sphinx-6.1.0[${PYTHON_USEDEP}]
+"
+BDEPEND="dev-python/hatch-vcs[${PYTHON_USEDEP}]"
distutils_enable_tests pytest
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}