From 4e235452fc9388905dccaf72f24c3f3ee0c07d02 Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 17 Feb 2023 06:36:51 +0000 Subject: dev-python/semver: enable py3.11, PEP517 Signed-off-by: Sam James --- dev-python/semver/Manifest | 2 +- dev-python/semver/semver-2.13.0-r1.ebuild | 25 +++++++++++++++++++++++++ dev-python/semver/semver-2.13.0.ebuild | 24 ------------------------ 3 files changed, 26 insertions(+), 25 deletions(-) create mode 100644 dev-python/semver/semver-2.13.0-r1.ebuild delete mode 100644 dev-python/semver/semver-2.13.0.ebuild (limited to 'dev-python/semver') diff --git a/dev-python/semver/Manifest b/dev-python/semver/Manifest index 83bf711cc293..fcb567acb5f3 100644 --- a/dev-python/semver/Manifest +++ b/dev-python/semver/Manifest @@ -1 +1 @@ -DIST semver-2.13.0.tar.gz 43674 BLAKE2B 35d0ca0b61836d0e6deb97f067a0c1cbba310dde6eb83d78f02f85c3f7485114ad549559d572d4494aa7c4444c7d6feabcb36394561a238489d56bfd04ed8590 SHA512 ca0d408d8bb7305e90802ea04d935cd7b76b8f166a9ec97ed3427dbc2cf60eeca0b2d27ad0cb2f15f32f5b2589d6717a63717c463183374c5335bf79e1eec222 +DIST semver-2.13.0.gh.tar.gz 43674 BLAKE2B 35d0ca0b61836d0e6deb97f067a0c1cbba310dde6eb83d78f02f85c3f7485114ad549559d572d4494aa7c4444c7d6feabcb36394561a238489d56bfd04ed8590 SHA512 ca0d408d8bb7305e90802ea04d935cd7b76b8f166a9ec97ed3427dbc2cf60eeca0b2d27ad0cb2f15f32f5b2589d6717a63717c463183374c5335bf79e1eec222 diff --git a/dev-python/semver/semver-2.13.0-r1.ebuild b/dev-python/semver/semver-2.13.0-r1.ebuild new file mode 100644 index 000000000000..f534300fab4d --- /dev/null +++ b/dev-python/semver/semver-2.13.0-r1.ebuild @@ -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 +} diff --git a/dev-python/semver/semver-2.13.0.ebuild b/dev-python/semver/semver-2.13.0.ebuild deleted file mode 100644 index df1afc006d40..000000000000 --- a/dev-python/semver/semver-2.13.0.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 2019-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( pypy3 python3_{9..10} ) -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}.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 -} -- cgit v1.2.3-65-gdbad