commit: 8baf6bf0f8f68ee41271ca9ff310b14da36f2675
Author: Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Sun Sep 10 09:56:01 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Oct 3 11:52:29 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8baf6bf0
dev-python/cloup: new package, add 3.0.2
Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>
dev-python/cloup/Manifest | 1 +
dev-python/cloup/cloup-3.0.2.ebuild | 34 ++++++++++++++++++++++++++++++++++
dev-python/cloup/metadata.xml | 14 ++++++++++++++
3 files changed, 49 insertions(+)
diff --git a/dev-python/cloup/Manifest b/dev-python/cloup/Manifest
new file mode 100644
index 0000000000..7d42675ff5
--- /dev/null
+++ b/dev-python/cloup/Manifest
@@ -0,0 +1 @@
+DIST cloup-3.0.2.gh.tar.gz 225377 BLAKE2B
cec9fd4c493b46e4498eea7541b8eedd1b9902952fc8ec353c7b5fc14306aea778ef5683b3ec217b54989cfce2b681be3da262879ac3060d3db4284a3ac6c1f8
SHA512
4e19a058c7c07841296ff680cd6be0044d5ab181cd7bcd053b30c709f4dcc21720db8fac60045e453f91b2af7c168df1f0afa425d5dc9d5794040846c72bd79c
diff --git a/dev-python/cloup/cloup-3.0.2.ebuild
b/dev-python/cloup/cloup-3.0.2.ebuild
new file mode 100644
index 0000000000..35e3d168d4
--- /dev/null
+++ b/dev-python/cloup/cloup-3.0.2.ebuild
@@ -0,0 +1,34 @@
+# 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="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"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ >=dev-python/click-8.0[${PYTHON_USEDEP}]
+ <dev-python/click-9.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+
+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}
+}
diff --git a/dev-python/cloup/metadata.xml b/dev-python/cloup/metadata.xml
new file mode 100644
index 0000000000..538230a029
--- /dev/null
+++ b/dev-python/cloup/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+ <maintainer type="person">
+ <email>[email protected]</email>
+ <name>Gasc Henri</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">cloup</remote-id>
+ <remote-id type="github">janLuke/cloup</remote-id>
+ <doc>https://cloup.readthedocs.io/</doc>
+ </upstream>
+ <longdescription>Library to build command line interfaces based on (and
100% compatible) with Click. It's like using Click but with more built-in
features: option groups, constraints (e.g. mutually exclusive params), command
aliases, help themes, "did you mean ...?" suggestions and
more.</longdescription>
+</pkgmetadata>