From 0f196466438860829a1e0d01d5c500f0119d78ed Mon Sep 17 00:00:00 2001 From: "Anna (cybertailor) Vyalkova" Date: Sat, 17 Jun 2023 13:25:07 +0500 Subject: [PATCH] dev-python/sphinx-argparse-cli: add 1.11.1, drop 1.9.0 Signed-off-by: Anna (cybertailor) Vyalkova --- dev-python/sphinx-argparse-cli/Manifest | 2 +- ...ebuild => sphinx-argparse-cli-1.11.1.ebuild} | 17 +++++++++++++---- 2 files changed, 14 insertions(+), 5 deletions(-) rename dev-python/sphinx-argparse-cli/{sphinx-argparse-cli-1.9.0.ebuild => sphinx-argparse-cli-1.11.1.ebuild} (50%) diff --git a/dev-python/sphinx-argparse-cli/Manifest b/dev-python/sphinx-argparse-cli/Manifest index 5cab68fc14..0eb23194a0 100644 --- a/dev-python/sphinx-argparse-cli/Manifest +++ b/dev-python/sphinx-argparse-cli/Manifest @@ -1,2 +1,2 @@ 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 +DIST sphinx-argparse-cli-1.11.1.gh.tar.gz 18689 BLAKE2B 34dd1f84547dd590e4d12a600cf14a8133fc4fefa1726e0af1b7d52cd3b24317d8a66597aa9e135c98b331af20f67c9a1698efeff73c2d8cd7d587e8b698aca4 SHA512 027ac458a5bb3ddec81e1b26fe422d66071609590aba5b97b5399071ed44e13ea03e67e2a1177c31284b8e3bbdebfd15a10a1805b5de2e8ee03eaf72a0aa02c5 diff --git a/dev-python/sphinx-argparse-cli/sphinx-argparse-cli-1.9.0.ebuild b/dev-python/sphinx-argparse-cli/sphinx-argparse-cli-1.11.1.ebuild similarity index 50% rename from dev-python/sphinx-argparse-cli/sphinx-argparse-cli-1.9.0.ebuild rename to dev-python/sphinx-argparse-cli/sphinx-argparse-cli-1.11.1.ebuild index e50c1b26f6..39823c3848 100644 --- a/dev-python/sphinx-argparse-cli/sphinx-argparse-cli-1.9.0.ebuild +++ b/dev-python/sphinx-argparse-cli/sphinx-argparse-cli-1.11.1.ebuild @@ -1,19 +1,28 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2021-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -DISTUTILS_USE_PEP517=setuptools +DISTUTILS_USE_PEP517=hatchling PYTHON_COMPAT=( python3_{10..11} ) # no pypy3 support -inherit distutils-r1 pypi +inherit distutils-r1 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="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-7.0.1[${PYTHON_USEDEP}] +" +BDEPEND="dev-python/hatch-vcs[${PYTHON_USEDEP}]" distutils_enable_tests pytest + +src_configure() { + distutils-r1_src-configure + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +}