From c59bf91253c21270ebe3de1f5bc305b26821f45b Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sat, 21 May 2022 08:59:31 +0200 Subject: dev-python/kgb: Remove .dev tag from version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/kgb/kgb-7.0-r1.ebuild | 33 +++++++++++++++++++++++++++++++++ dev-python/kgb/kgb-7.0.ebuild | 27 --------------------------- 2 files changed, 33 insertions(+), 27 deletions(-) create mode 100644 dev-python/kgb/kgb-7.0-r1.ebuild delete mode 100644 dev-python/kgb/kgb-7.0.ebuild (limited to 'dev-python/kgb') diff --git a/dev-python/kgb/kgb-7.0-r1.ebuild b/dev-python/kgb/kgb-7.0-r1.ebuild new file mode 100644 index 000000000000..1dfcbc9ec48f --- /dev/null +++ b/dev-python/kgb/kgb-7.0-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{8..10} ) + +inherit distutils-r1 + +MY_P=${PN}-release-${PV} +DESCRIPTION="Python function spy support for unit tests" +HOMEPAGE=" + https://github.com/beanbaginc/kgb/ + https://pypi.org/project/kgb/ +" +SRC_URI=" + https://github.com/beanbaginc/kgb/archive/release-${PV}.tar.gz + -> ${MY_P}.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests pytest + +src_prepare() { + # remove .dev tag that breaks revdeps + sed -i -e '/tag_build/d' setup.cfg || die + distutils-r1_src_prepare +} diff --git a/dev-python/kgb/kgb-7.0.ebuild b/dev-python/kgb/kgb-7.0.ebuild deleted file mode 100644 index fc718ad7efc4..000000000000 --- a/dev-python/kgb/kgb-7.0.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{8..10} ) - -inherit distutils-r1 - -MY_P=${PN}-release-${PV} -DESCRIPTION="Python function spy support for unit tests" -HOMEPAGE=" - https://github.com/beanbaginc/kgb/ - https://pypi.org/project/kgb/ -" -SRC_URI=" - https://github.com/beanbaginc/kgb/archive/release-${PV}.tar.gz - -> ${MY_P}.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -distutils_enable_tests pytest -- cgit v1.2.3-65-gdbad