mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-python/calver: add 2025.04.01
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
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
|
||||
|
||||
38
dev-python/calver/calver-2025.04.01.ebuild
Normal file
38
dev-python/calver/calver-2025.04.01.ebuild
Normal file
@@ -0,0 +1,38 @@
|
||||
# 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="
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user