summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-08-19 13:02:16 +0200
committerMichał Górny <mgorny@gentoo.org>2022-08-19 13:05:21 +0200
commitb4fe1d6e78bf96247bf6cc53c71572f52cb07923 (patch)
tree4dbc20c195fca3e86410a9e8a2b5abb7a041623a /dev-python/cleo
parentdev-python/clikit: Add python@ as co-maint. (diff)
downloadgentoo-b4fe1d6e78bf96247bf6cc53c71572f52cb07923.tar.gz
gentoo-b4fe1d6e78bf96247bf6cc53c71572f52cb07923.tar.bz2
gentoo-b4fe1d6e78bf96247bf6cc53c71572f52cb07923.zip
dev-python/cleo: Modernize
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/cleo')
-rw-r--r--dev-python/cleo/Manifest1
-rw-r--r--dev-python/cleo/cleo-0.8.1-r1.ebuild33
-rw-r--r--dev-python/cleo/metadata.xml2
3 files changed, 35 insertions, 1 deletions
diff --git a/dev-python/cleo/Manifest b/dev-python/cleo/Manifest
index 86a6d75da698..a3b3f64d5a29 100644
--- a/dev-python/cleo/Manifest
+++ b/dev-python/cleo/Manifest
@@ -1 +1,2 @@
+DIST cleo-0.8.1.gh.tar.gz 96220 BLAKE2B 57971f6254a31ecf5101d89e96607b5915ab5138d727279d445172b89a10acd6b76619d344973fa2bdbc320866fa1dbdf05c889f4eca879839fa6bcbbad0af7c SHA512 9cd470063db9866a526f0bb8619d772c585377d5b1a662e0f94bad9fb9c853598b176444ca1ac0fadec82992196c471646504d6a28d4dcd1171433b8d160be9c
DIST cleo-0.8.1.tar.gz 96220 BLAKE2B 57971f6254a31ecf5101d89e96607b5915ab5138d727279d445172b89a10acd6b76619d344973fa2bdbc320866fa1dbdf05c889f4eca879839fa6bcbbad0af7c SHA512 9cd470063db9866a526f0bb8619d772c585377d5b1a662e0f94bad9fb9c853598b176444ca1ac0fadec82992196c471646504d6a28d4dcd1171433b8d160be9c
diff --git a/dev-python/cleo/cleo-0.8.1-r1.ebuild b/dev-python/cleo/cleo-0.8.1-r1.ebuild
new file mode 100644
index 000000000000..eb4a005048fe
--- /dev/null
+++ b/dev-python/cleo/cleo-0.8.1-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python tool for building testable command-line interfaces"
+HOMEPAGE="
+ https://github.com/python-poetry/cleo/
+ https://pypi.org/project/cleo/
+"
+SRC_URI="
+ https://github.com/python-poetry/cleo/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+BDEPEND="
+ test? (
+ dev-python/clikit[${PYTHON_USEDEP}]
+ dev-python/crashtest[${PYTHON_USEDEP}]
+ dev-python/pytest-mock[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
diff --git a/dev-python/cleo/metadata.xml b/dev-python/cleo/metadata.xml
index 0a2fd8dc3506..85c267fe0c12 100644
--- a/dev-python/cleo/metadata.xml
+++ b/dev-python/cleo/metadata.xml
@@ -7,7 +7,7 @@
</maintainer>
<stabilize-allarches/>
<upstream>
- <remote-id type="github">sdispater/cleo</remote-id>
+ <remote-id type="github">python-poetry/cleo</remote-id>
<remote-id type="pypi">cleo</remote-id>
</upstream>
</pkgmetadata>