commit: f47d97f9168d0fa45e00bcf0e73406668ca0ef4a Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu Jan 16 04:52:43 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Jan 16 05:11:04 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f47d97f9
dev-python/roman: Bump to 5.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/roman/Manifest | 1 + dev-python/roman/roman-5.0.ebuild | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/dev-python/roman/Manifest b/dev-python/roman/Manifest index 18dcda558ee7..a1f3a1f35678 100644 --- a/dev-python/roman/Manifest +++ b/dev-python/roman/Manifest @@ -1 +1,2 @@ DIST roman-4.2.tar.gz 7339 BLAKE2B 1315925ffc4324e21582030fa6d963ed50f9fe917056fdf8dba62d90812874dd40d8899ae47274fc584bb56877c5517f507ff8741266e95a89912aead3a23a15 SHA512 4b1ddd54078e5ab38a11cad29fe4ea1f8e4740d7a9d1b093bec7d08ba37ca2bbbf89b2c420987b74270b01a8af5c03bfbfe8cfb5a4dfeb8923894cb52f083e82 +DIST roman-5.0.tar.gz 7664 BLAKE2B 1e3b8f90eba33abe7bc061ca30b8f12da23976fc15315923813c97a9f9dfc5909de475c3db752f015aa34faa775165cd8518ede5c9a8b1a87da5778abf964305 SHA512 9acd5d1587338497080066d3cd01c0a2cf007c664145514acaaa38cbbd6bbc6eac55469db9015dcd050a2457c69837dd9cdccf110a771f6b09c2a9bd59de8c4e diff --git a/dev-python/roman/roman-5.0.ebuild b/dev-python/roman/roman-5.0.ebuild new file mode 100644 index 000000000000..7f46f2c20fbd --- /dev/null +++ b/dev-python/roman/roman-5.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +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 +}