public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/cloup/
Date: Wed,  4 Oct 2023 09:41:45 +0000 (UTC)	[thread overview]
Message-ID: <1696333949.8baf6bf0f8f68ee41271ca9ff310b14da36f2675.flow@gentoo> (raw)

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>gasc@eurecom.fr</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>


             reply	other threads:[~2023-10-04  9:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-04  9:41 Florian Schmaus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-11 21:19 [gentoo-commits] repo/proj/guru:master commit in: dev-python/cloup/ Julien Roy
2025-02-22 22:36 David Roman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1696333949.8baf6bf0f8f68ee41271ca9ff310b14da36f2675.flow@gentoo \
    --to=flow@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox