commit: 86103610b1e83f513f5cfb0f55296aa7e6353fd0 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon Mar 18 04:53:35 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon Mar 18 04:58:39 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86103610
dev-python/python-stdnum: Bump to 1.20 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/python-stdnum/Manifest | 1 + dev-python/python-stdnum/python-stdnum-1.20.ebuild | 38 ++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-python/python-stdnum/Manifest b/dev-python/python-stdnum/Manifest index 0b4e63232368..52c224bb968c 100644 --- a/dev-python/python-stdnum/Manifest +++ b/dev-python/python-stdnum/Manifest @@ -1 +1,2 @@ DIST python-stdnum-1.19.tar.gz 1134517 BLAKE2B a6e35abcd00302dff0c6df82c13691c4528de069b7702f905aabffd840b7d95902f2c74525d824606bc4b28579d38153367997a73910ab93afb4eb4272b76c40 SHA512 02c56aea710a9a02e14160840fbd45751cd00f1a49b1d046124945ba92e2dd3377006f44a146030522d09b92f809ceb4d1e3589ef3d9c9302f7674a79602ef07 +DIST python-stdnum-1.20.tar.gz 1191978 BLAKE2B 8395106d155c1f4642a74691d219230b42e81b521db41c57d5e978eb8e1769ca51598a1ad061356a1997fac5a60ca21796d1e8f79fa7d737e70fbbfe78dbfcc6 SHA512 92ec9fcb3bf71405569e93668ab1d089225da74a33095e63ee8f0116c868a4b937d093ba98e29085889d1745cc55eab13936d6ed9ceb24beecbc193c722a515e diff --git a/dev-python/python-stdnum/python-stdnum-1.20.ebuild b/dev-python/python-stdnum/python-stdnum-1.20.ebuild new file mode 100644 index 000000000000..9ca2716b7fa7 --- /dev/null +++ b/dev-python/python-stdnum/python-stdnum-1.20.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A module to handle standardized numbers and codes" +HOMEPAGE=" + https://arthurdejong.org/python-stdnum/ + https://github.com/arthurdejong/python-stdnum/ + https://pypi.org/project/python-stdnum/ +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="vies" + +RDEPEND=" + vies? ( + || ( + dev-python/zeep[${PYTHON_USEDEP}] + dev-python/suds-community[${PYTHON_USEDEP}] + ) + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e 's:--cov.*::' setup.cfg || die + distutils-r1_src_prepare +}