dev-python/cloup: add 2.1.2, add 3.0.3, drop 3.0.2

Signed-off-by: Henri Gasc <gasc@eurecom.fr>
This commit is contained in:
Henri Gasc
2023-12-04 15:56:42 +01:00
parent 39921ca553
commit c60a518128
3 changed files with 54 additions and 4 deletions

View File

@@ -1 +1,2 @@
DIST cloup-3.0.2.gh.tar.gz 225377 BLAKE2B cec9fd4c493b46e4498eea7541b8eedd1b9902952fc8ec353c7b5fc14306aea778ef5683b3ec217b54989cfce2b681be3da262879ac3060d3db4284a3ac6c1f8 SHA512 4e19a058c7c07841296ff680cd6be0044d5ab181cd7bcd053b30c709f4dcc21720db8fac60045e453f91b2af7c168df1f0afa425d5dc9d5794040846c72bd79c
DIST cloup-2.1.2.gh.tar.gz 225435 BLAKE2B 035068c22b652a349b98c270c91b8a7c2c8694ae3b7025da576f3495ccde140301376c8c30d75088c5e89a8bdfe47fcab0ad0968e48593802a0de5b6dcc3b31a SHA512 1328459afdfc9e10b7b2e0e4c1794376a4c8fd6c53f811b3dac2d6054059031c51bc2d44dda86d5ea1623d1a2ed536f58028f95eb9fec7631e9bc9c10b744926
DIST cloup-3.0.3.gh.tar.gz 225678 BLAKE2B 0505c09cd1951427dd037de36f01cbe9bc62a77134909d2b0b674c5cf902d3afd396f0aacf1581395f8779dcc0ddea12763512d7366f2f41b167cdbb7e4469a8 SHA512 8bb90afc8f9d84df9f0173bf6d861d487dfc085191021636599f1e519d9903a3a71a93d8090ca4792636d620cab74693c8d780764cf87e1b197e971c8ab334af

View File

@@ -0,0 +1,42 @@
# 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
DESCRIPTION="Click + option groups + constraints + aliases + help themes + ..."
HOMEPAGE="https://github.com/janluke/cloup https://pypi.org/project/cloup/"
SRC_URI="https://github.com/janluke/cloup/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/click-8.0[${PYTHON_USEDEP}]
<dev-python/click-9.0[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
BDEPEND="
dev-python/setuptools-scm[${PYTHON_USEDEP}]
"
# BDEPEND="
# doc? (
# dev-python/sphinx-autoapi[${PYTHON_USEDEP}]
# dev-python/sphinx-panels[${PYTHON_USEDEP}]
# dev-python/sphinx-copybutton[${PYTHON_USEDEP}]
# dev-python/sphinx-version-warning[${PYTHON_USEDEP}]
# dev-python/sphinx-issues[${PYTHON_USEDEP}]
# )
distutils_enable_tests pytest
# distutils_enable_sphinx docs # The doc need dev-python/sphinx < 5, which we don't have
src_prepare() {
default
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
}

View File

@@ -6,13 +6,13 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1 pypi
inherit distutils-r1
DESCRIPTION="Click + option groups + constraints + aliases + help themes + ..."
HOMEPAGE="https://github.com/janluke/cloup https://pypi.org/project/cloup/"
SRC_URI="https://github.com/janluke/cloup/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
@@ -20,10 +20,17 @@ RDEPEND="
>=dev-python/click-8.0[${PYTHON_USEDEP}]
<dev-python/click-9.0[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
BDEPEND="
dev-python/setuptools-scm[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
# doc? (
# dev-python/sphinx-autoapi[${PYTHON_USEDEP}]
# dev-python/sphinx-panels[${PYTHON_USEDEP}]
# dev-python/sphinx-copybutton[${PYTHON_USEDEP}]
# dev-python/sphinx-version-warning[${PYTHON_USEDEP}]
# dev-python/sphinx-issues[${PYTHON_USEDEP}]
# )
distutils_enable_tests pytest
# distutils_enable_sphinx docs # The doc need dev-python/sphinx < 5, which we don't have