commit:     b4fe1d6e78bf96247bf6cc53c71572f52cb07923
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 19 11:02:16 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Aug 19 11:05:21 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4fe1d6e

dev-python/cleo: Modernize

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/cleo/Manifest             |  1 +
 dev-python/cleo/cleo-0.8.1-r1.ebuild | 33 +++++++++++++++++++++++++++++++++
 dev-python/cleo/metadata.xml         |  2 +-
 3 files changed, 35 insertions(+), 1 deletion(-)

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>

Reply via email to