From d478cf93da8d1119dddbbf78a927381df072e57e Mon Sep 17 00:00:00 2001 From: Conrad Kostecki Date: Fri, 4 Nov 2022 00:03:47 +0100 Subject: dev-python/pyspectrum2: migrate to pep517 Also fixed QA PythonGHDistfileSuffix. Signed-off-by: Conrad Kostecki --- dev-python/pyspectrum2/Manifest | 2 +- dev-python/pyspectrum2/pyspectrum2-0.2.0-r1.ebuild | 26 ---------------------- dev-python/pyspectrum2/pyspectrum2-0.2.0-r2.ebuild | 26 ++++++++++++++++++++++ 3 files changed, 27 insertions(+), 27 deletions(-) delete mode 100644 dev-python/pyspectrum2/pyspectrum2-0.2.0-r1.ebuild create mode 100644 dev-python/pyspectrum2/pyspectrum2-0.2.0-r2.ebuild (limited to 'dev-python') diff --git a/dev-python/pyspectrum2/Manifest b/dev-python/pyspectrum2/Manifest index 805d7ac78469..5e212c74833d 100644 --- a/dev-python/pyspectrum2/Manifest +++ b/dev-python/pyspectrum2/Manifest @@ -1 +1 @@ -DIST pyspectrum2-0.2.0.tar.gz 31500 BLAKE2B 230329f9b1f12c7f7cff234b95d9715609cd0922c6c833726dfe72e7da0ba646e8d059d2f42d70fb97c8cb755436307369336551d44bf7954f2281f49d03ea6f SHA512 40c9f7dda808fd5bca05026b7418022b660d53b6ef52d684885ed04a47185ce2d1e2988bff5b874977c736bf5cf75f10f9daf752475504327844d4f1948f2286 +DIST pyspectrum2-0.2.0.gh.tar.gz 31500 BLAKE2B 230329f9b1f12c7f7cff234b95d9715609cd0922c6c833726dfe72e7da0ba646e8d059d2f42d70fb97c8cb755436307369336551d44bf7954f2281f49d03ea6f SHA512 40c9f7dda808fd5bca05026b7418022b660d53b6ef52d684885ed04a47185ce2d1e2988bff5b874977c736bf5cf75f10f9daf752475504327844d4f1948f2286 diff --git a/dev-python/pyspectrum2/pyspectrum2-0.2.0-r1.ebuild b/dev-python/pyspectrum2/pyspectrum2-0.2.0-r1.ebuild deleted file mode 100644 index 5b9254314872..000000000000 --- a/dev-python/pyspectrum2/pyspectrum2-0.2.0-r1.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_SETUPTOOLS="bdepend" -PYTHON_COMPAT=( python3_{8..11} ) - -inherit distutils-r1 - -DESCRIPTION="Implements a protobuf-based interface for Spectrum2 python-based backends" -HOMEPAGE="https://github.com/stv0g/pyspectrum2" -SRC_URI="https://github.com/stv0g/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND="dev-python/protobuf-python[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND}" - -python_install_all() { - distutils-r1_python_install_all - - python_optimize -} diff --git a/dev-python/pyspectrum2/pyspectrum2-0.2.0-r2.ebuild b/dev-python/pyspectrum2/pyspectrum2-0.2.0-r2.ebuild new file mode 100644 index 000000000000..e35e6be56f12 --- /dev/null +++ b/dev-python/pyspectrum2/pyspectrum2-0.2.0-r2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517="setuptools" +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Implements a protobuf-based interface for Spectrum2 python-based backends" +HOMEPAGE="https://github.com/stv0g/pyspectrum2" +SRC_URI="https://github.com/stv0g/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="amd64 x86" + +RDEPEND="dev-python/protobuf-python[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +python_install_all() { + distutils-r1_python_install_all + + python_optimize +} -- cgit v1.2.3