From 66ade05f1b109603d17bc20fbac5e7afd0b8056d Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 3 Feb 2023 19:56:37 +0000 Subject: media-gfx/scour: update EAPI 7 -> 8 Closes: https://bugs.gentoo.org/883465 Signed-off-by: Sam James --- media-gfx/scour/scour-0.38.2-r1.ebuild | 22 ++++++++++++++++++++++ media-gfx/scour/scour-0.38.2.ebuild | 21 --------------------- 2 files changed, 22 insertions(+), 21 deletions(-) create mode 100644 media-gfx/scour/scour-0.38.2-r1.ebuild delete mode 100644 media-gfx/scour/scour-0.38.2.ebuild (limited to 'media-gfx') diff --git a/media-gfx/scour/scour-0.38.2-r1.ebuild b/media-gfx/scour/scour-0.38.2-r1.ebuild new file mode 100644 index 000000000000..30d85af79f5f --- /dev/null +++ b/media-gfx/scour/scour-0.38.2-r1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) +inherit distutils-r1 + +DESCRIPTION="Take an SVG file and produce a cleaner and more concise file" +HOMEPAGE="https://github.com/scour-project/scour" +SRC_URI="https://github.com/scour-project/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}]" + +python_test() { + "${EPYTHON}" test_scour.py -v || die "Tests fail with ${EPYTHON}" +} diff --git a/media-gfx/scour/scour-0.38.2.ebuild b/media-gfx/scour/scour-0.38.2.ebuild deleted file mode 100644 index cced72566648..000000000000 --- a/media-gfx/scour/scour-0.38.2.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{9..10} ) -inherit distutils-r1 - -DESCRIPTION="Take an SVG file and produce a cleaner and more concise file" -HOMEPAGE="https://github.com/scour-project/scour" -SRC_URI="https://github.com/scour-project/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" - -RDEPEND="dev-python/six[${PYTHON_USEDEP}]" - -python_test() { - "${EPYTHON}" test_scour.py -v || die "Tests fail with ${EPYTHON}" -} -- cgit v1.2.3-65-gdbad