commit: 9fbc696c42515282d5a61dd437bfe34292d5709a
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May 18 02:28:00 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May 18 02:28:00 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fbc696c
dev-python/python-stdnum: Bump to 2.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/python-stdnum/Manifest | 1 +
dev-python/python-stdnum/python-stdnum-2.1.ebuild | 34 +++++++++++++++++++++++
2 files changed, 35 insertions(+)
diff --git a/dev-python/python-stdnum/Manifest
b/dev-python/python-stdnum/Manifest
index 8bf913e51d47..c3aa170d8e04 100644
--- a/dev-python/python-stdnum/Manifest
+++ b/dev-python/python-stdnum/Manifest
@@ -1,2 +1,3 @@
DIST python-stdnum-1.20.tar.gz 1191978 BLAKE2B
8395106d155c1f4642a74691d219230b42e81b521db41c57d5e978eb8e1769ca51598a1ad061356a1997fac5a60ca21796d1e8f79fa7d737e70fbbfe78dbfcc6
SHA512
92ec9fcb3bf71405569e93668ab1d089225da74a33095e63ee8f0116c868a4b937d093ba98e29085889d1745cc55eab13936d6ed9ceb24beecbc193c722a515e
DIST python_stdnum-2.0.tar.gz 1237342 BLAKE2B
d1a0f163b5ef97827aab579bbb12d669923b466a29a4e6799dc950126fcc823e91ea9f1426b8239085355893cd588cd7504424a57e7fc783972b3087a94078af
SHA512
583379fec66dd507429b1740edd5c9c66fc1a7bcefc3af608535f86265c375dea2b7e004ac9aae6b4757c3e085c501b64d4e8a7a6c55bed7c452f49d873c2f08
+DIST python_stdnum-2.1.tar.gz 1238596 BLAKE2B
91c7189a05c88c4c5db20585ac5290ca9b98b4040be8cd9cfba852800f2a368e5f1763a2220becba05bf99c3375a74f65d305f000bbab00cea46fafcf6804093
SHA512
d29989fd7a13fbc07763bd61ffd56914f1fdb66d89ad9538f64cf26c00550dda2d4725f24cc7e038a7164115ed68ab9877b4f2485ffd1682500aaca38853d4c0
diff --git a/dev-python/python-stdnum/python-stdnum-2.1.ebuild
b/dev-python/python-stdnum/python-stdnum-2.1.ebuild
new file mode 100644
index 000000000000..d8eb018cc297
--- /dev/null
+++ b/dev-python/python-stdnum/python-stdnum-2.1.ebuild
@@ -0,0 +1,34 @@
+# 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_{11..13} )
+
+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}]
+ )
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ sed -i -e 's:--cov.*::' setup.cfg || die
+ distutils-r1_src_prepare
+}