1 |
commit: fb854dfad791b7502d50cdab9b27c25800bcf2d8 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 28 18:10:00 2023 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 28 18:16:26 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb854dfa |
7 |
|
8 |
dev-python/roman: add 4.0 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/roman/Manifest | 1 + |
13 |
dev-python/roman/roman-4.0.ebuild | 25 +++++++++++++++++++++++++ |
14 |
2 files changed, 26 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/roman/Manifest b/dev-python/roman/Manifest |
17 |
index 951d57716ea5..fb7bbad64f30 100644 |
18 |
--- a/dev-python/roman/Manifest |
19 |
+++ b/dev-python/roman/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST roman-3.3.tar.gz 7577 BLAKE2B 651d30154e01c9bc61326581c5600efb5f717b2c21cb6345d51ba5aa44d79bff00e66492d3962ed4c9682103a9c00af8205ae9d90b30b9a3f13dc2d18e6f1592 SHA512 8d2952640519052ce629a3881cb871448fc7921eb5f45525305c43ef9fb2672062d0ca96ab16d7aaa95f5eebcad028fdcf519f224f3631734fbb6a4a314f3a49 |
22 |
+DIST roman-4.0.tar.gz 9380 BLAKE2B f158a9c7ed9aae2e8c3aaf8b4db9610cd437119493af87c248f8f7d2157228f2bbeb7085eb8f02d169f3e3f5221831ebb10a773d70c5dc7133d32896d5c21dbd SHA512 5421ac46fc5f49c8913a6089d51781bc0a01f2863ea2655b57adba1d07632d4e459fcb26350d0c2dfdf4a31c64a31e9fc86b22165df212c9f8db4bf41cf2e2a1 |
23 |
|
24 |
diff --git a/dev-python/roman/roman-4.0.ebuild b/dev-python/roman/roman-4.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..334e4e988845 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/roman/roman-4.0.ebuild |
29 |
@@ -0,0 +1,25 @@ |
30 |
+# Copyright 1999-2023 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{9..11} ) |
37 |
+inherit distutils-r1 pypi |
38 |
+ |
39 |
+DESCRIPTION="An Integer to Roman numerals converter" |
40 |
+HOMEPAGE=" |
41 |
+ https://pypi.org/project/roman/ |
42 |
+ https://github.com/zopefoundation/roman |
43 |
+" |
44 |
+ |
45 |
+LICENSE="PSF-2" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+ |
49 |
+distutils_enable_tests unittest |
50 |
+ |
51 |
+python_prepare_all() { |
52 |
+ mv "${S}/src/tests.py" . || die "moving test file failed" |
53 |
+ distutils-r1_python_prepare_all |
54 |
+} |