commit: efdbde33cb37952d928a854ab348cbd972cb061f
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 3 06:22:38 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Apr 3 07:59:37 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efdbde33
dev-python/calver: Bump to 2025.04.02
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/calver/Manifest | 1 +
dev-python/calver/calver-2025.04.02.ebuild | 39 ++++++++++++++++++++++++++++++
2 files changed, 40 insertions(+)
diff --git a/dev-python/calver/Manifest b/dev-python/calver/Manifest
index 289b439b01d6..c3084e90160a 100644
--- a/dev-python/calver/Manifest
+++ b/dev-python/calver/Manifest
@@ -1,3 +1,4 @@
DIST calver-2022.06.26.gh.tar.gz 7601 BLAKE2B
e4bea1dc8954b4f65003cb06dadebfa6a7ad0554d64c23e5339652955d2e4659ffc093b8d11d284e03bc74267059a10043a45dd1eb7717378fb22327d6409428
SHA512
4d436cead8930cae1a71eddef9f0ecd2881f8cb632c3814dc75390b061a909e7ca969a604a5fded1c66647947856d540e2180bd3ce4bed5087b4dbc9d5edb393
DIST calver-2025.03.31.gh.tar.gz 7950 BLAKE2B
5217d26bccb1997056fc2073fcdc9b8873e689283a0845af52202bdc84aca8502886c995532936ff46469614720d0f58b510354677e45aa7e3cb50a2118bd8b1
SHA512
f728e42326dfb7d1cc5f1a0d86d67c7bd479dc98ef5829d6fe70606317ce36662f5d2c8d06c76a1016a4b9a6e9c5474049b71d53c201c486aaa2d93c7a59a91e
DIST calver-2025.04.01.gh.tar.gz 7923 BLAKE2B
83f777161486256459bf2cba236ef670345f88bbd342acf1e43ef94c673364e1b7ed96508701ae252a59069254cd3424abde2495e7080c2b328132968ca167b6
SHA512
e74ac06bf21c7ec610f7f2eac0e6f2e538e3d9b442a7f5e861d5dc484f8a5d839349491a98796401f2834e1fa505d0570c8e2c52dc7b52f33374e0bf4904132f
+DIST calver-2025.04.02.gh.tar.gz 8158 BLAKE2B
4e1fb81d8e8295497ae30d2323799460838db3de10317fd2301113d95574630efee7c3abb32e35a97be21f86aac28cb283e2d13e26ead9d421f3f4ddb4e5ab8a
SHA512
7af7a2f844bcfcdacd1a4e985c508b1901a5194c3e21e1f7b7c0f381778ac905dba1276ef7201db6140b08fb57fef8acaf293b270710160871e353e8315c9a02
diff --git a/dev-python/calver/calver-2025.04.02.ebuild
b/dev-python/calver/calver-2025.04.02.ebuild
new file mode 100644
index 000000000000..4f95bfa1afbd
--- /dev/null
+++ b/dev-python/calver/calver-2025.04.02.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} )
+
+inherit distutils-r1
+
+DESCRIPTION="Setuptools extension for CalVer package versions"
+HOMEPAGE="
+ https://github.com/di/calver/
+ https://pypi.org/project/calver/
+"
+SRC_URI="
+ https://github.com/di/calver/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos
~x64-macos ~x64-solaris"
+
+BDEPEND="
+ >=dev-python/setuptools-77.0.1[${PYTHON_USEDEP}]
+ test? (
+ dev-python/pretend[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+src_compile() {
+ # what a mess, also we need to scope it not to break tests
+ local -x SOURCE_DATE_EPOCH=$(date --date="${PV//./-}" +%s)
+
+ distutils-r1_src_compile
+}