semver: add old for objection

This commit is contained in:
Rick Farina (Zero_Chaos) 2023-04-12 10:59:57 -04:00
parent fd7b81fa92
commit b38bfd9c01
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST semver-2.13.0.gh.tar.gz 43674 BLAKE2B 35d0ca0b61836d0e6deb97f067a0c1cbba310dde6eb83d78f02f85c3f7485114ad549559d572d4494aa7c4444c7d6feabcb36394561a238489d56bfd04ed8590 SHA512 ca0d408d8bb7305e90802ea04d935cd7b76b8f166a9ec97ed3427dbc2cf60eeca0b2d27ad0cb2f15f32f5b2589d6717a63717c463183374c5335bf79e1eec222

View file

@ -0,0 +1,25 @@
# Copyright 2019-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3 python3_{9..11} )
inherit distutils-r1
DESCRIPTION="A Python module for semantic versioning"
HOMEPAGE="https://github.com/python-semver/python-semver"
SRC_URI="https://github.com/python-${PN}/python-${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/python-${P}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
distutils_enable_tests pytest
python_prepare_all() {
# contains pytest/cov args we don't want
rm setup.cfg || die
distutils-r1_python_prepare_all
}