commit:     022c135b94b7ee2349dd6d24d2c9245919b9a647
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 25 17:14:51 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 25 17:14:51 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=022c135b

dev-python/roman: add 4.2

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/roman/Manifest         |  1 +
 dev-python/roman/roman-4.2.ebuild | 26 ++++++++++++++++++++++++++
 2 files changed, 27 insertions(+)

diff --git a/dev-python/roman/Manifest b/dev-python/roman/Manifest
index 503fc37d5503..e4db7d2df6c6 100644
--- a/dev-python/roman/Manifest
+++ b/dev-python/roman/Manifest
@@ -1 +1,2 @@
 DIST roman-4.1.tar.gz 7005 BLAKE2B 
de3e7dc4e05994f906b357d8db2f1149f3bf9f420552220cf1cf9427a8ae63ed3ba873b28b75dcbc1f675a370354efa5cae3ac9fb070f9b02126a2867bcefb07
 SHA512 
69214f35098e17bd106411036feec8a4e5c8450e394c74d60a8e3cc17c6884556347a1d2852fa174db4f66d969e71b26c066439afd6d278786d1a47bf925f302
+DIST roman-4.2.tar.gz 7339 BLAKE2B 
1315925ffc4324e21582030fa6d963ed50f9fe917056fdf8dba62d90812874dd40d8899ae47274fc584bb56877c5517f507ff8741266e95a89912aead3a23a15
 SHA512 
4b1ddd54078e5ab38a11cad29fe4ea1f8e4740d7a9d1b093bec7d08ba37ca2bbbf89b2c420987b74270b01a8af5c03bfbfe8cfb5a4dfeb8923894cb52f083e82

diff --git a/dev-python/roman/roman-4.2.ebuild 
b/dev-python/roman/roman-4.2.ebuild
new file mode 100644
index 000000000000..d9b08af45690
--- /dev/null
+++ b/dev-python/roman/roman-4.2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2024 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="An Integer to Roman numerals converter"
+HOMEPAGE="
+       https://pypi.org/project/roman/
+       https://github.com/zopefoundation/roman
+"
+
+LICENSE="ZPL"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+distutils_enable_tests unittest
+
+python_prepare_all() {
+       mv "${S}/src/tests.py" . || die "moving test file failed"
+       distutils-r1_python_prepare_all
+}

Reply via email to