Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cleo/
Date: Fri, 19 Aug 2022 11:05:36
Message-Id: 1660907121.b4fe1d6e78bf96247bf6cc53c71572f52cb07923.mgorny@gentoo
1 commit: b4fe1d6e78bf96247bf6cc53c71572f52cb07923
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 19 11:02:16 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 19 11:05:21 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4fe1d6e
7
8 dev-python/cleo: Modernize
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/cleo/Manifest | 1 +
13 dev-python/cleo/cleo-0.8.1-r1.ebuild | 33 +++++++++++++++++++++++++++++++++
14 dev-python/cleo/metadata.xml | 2 +-
15 3 files changed, 35 insertions(+), 1 deletion(-)
16
17 diff --git a/dev-python/cleo/Manifest b/dev-python/cleo/Manifest
18 index 86a6d75da698..a3b3f64d5a29 100644
19 --- a/dev-python/cleo/Manifest
20 +++ b/dev-python/cleo/Manifest
21 @@ -1 +1,2 @@
22 +DIST cleo-0.8.1.gh.tar.gz 96220 BLAKE2B 57971f6254a31ecf5101d89e96607b5915ab5138d727279d445172b89a10acd6b76619d344973fa2bdbc320866fa1dbdf05c889f4eca879839fa6bcbbad0af7c SHA512 9cd470063db9866a526f0bb8619d772c585377d5b1a662e0f94bad9fb9c853598b176444ca1ac0fadec82992196c471646504d6a28d4dcd1171433b8d160be9c
23 DIST cleo-0.8.1.tar.gz 96220 BLAKE2B 57971f6254a31ecf5101d89e96607b5915ab5138d727279d445172b89a10acd6b76619d344973fa2bdbc320866fa1dbdf05c889f4eca879839fa6bcbbad0af7c SHA512 9cd470063db9866a526f0bb8619d772c585377d5b1a662e0f94bad9fb9c853598b176444ca1ac0fadec82992196c471646504d6a28d4dcd1171433b8d160be9c
24
25 diff --git a/dev-python/cleo/cleo-0.8.1-r1.ebuild b/dev-python/cleo/cleo-0.8.1-r1.ebuild
26 new file mode 100644
27 index 000000000000..eb4a005048fe
28 --- /dev/null
29 +++ b/dev-python/cleo/cleo-0.8.1-r1.ebuild
30 @@ -0,0 +1,33 @@
31 +# Copyright 2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=poetry
37 +PYTHON_COMPAT=( python3_{8..11} )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Python tool for building testable command-line interfaces"
42 +HOMEPAGE="
43 + https://github.com/python-poetry/cleo/
44 + https://pypi.org/project/cleo/
45 +"
46 +SRC_URI="
47 + https://github.com/python-poetry/cleo/archive/${PV}.tar.gz
48 + -> ${P}.gh.tar.gz
49 +"
50 +
51 +LICENSE="MIT"
52 +SLOT="0"
53 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
54 +
55 +BDEPEND="
56 + test? (
57 + dev-python/clikit[${PYTHON_USEDEP}]
58 + dev-python/crashtest[${PYTHON_USEDEP}]
59 + dev-python/pytest-mock[${PYTHON_USEDEP}]
60 + )
61 +"
62 +
63 +distutils_enable_tests pytest
64
65 diff --git a/dev-python/cleo/metadata.xml b/dev-python/cleo/metadata.xml
66 index 0a2fd8dc3506..85c267fe0c12 100644
67 --- a/dev-python/cleo/metadata.xml
68 +++ b/dev-python/cleo/metadata.xml
69 @@ -7,7 +7,7 @@
70 </maintainer>
71 <stabilize-allarches/>
72 <upstream>
73 - <remote-id type="github">sdispater/cleo</remote-id>
74 + <remote-id type="github">python-poetry/cleo</remote-id>
75 <remote-id type="pypi">cleo</remote-id>
76 </upstream>
77 </pkgmetadata>