From e9ab235445cded9f2f68dbbc14f6a1d5e2ea91b6 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Thu, 3 Aug 2023 21:19:17 +0100 Subject: dev-python/python-lhafile: Switch to PEP517, add Python 3.12 Closes: https://bugs.gentoo.org/909956 Signed-off-by: James Le Cuirot --- dev-python/python-lhafile/Manifest | 2 +- .../python-lhafile/python-lhafile-0.3.0-r1.ebuild | 19 +++++++++++++++++++ dev-python/python-lhafile/python-lhafile-0.3.0.ebuild | 16 ---------------- 3 files changed, 20 insertions(+), 17 deletions(-) create mode 100644 dev-python/python-lhafile/python-lhafile-0.3.0-r1.ebuild delete mode 100644 dev-python/python-lhafile/python-lhafile-0.3.0.ebuild (limited to 'dev-python/python-lhafile') diff --git a/dev-python/python-lhafile/Manifest b/dev-python/python-lhafile/Manifest index cbdcf14a57ee..a62188ec86f9 100644 --- a/dev-python/python-lhafile/Manifest +++ b/dev-python/python-lhafile/Manifest @@ -1 +1 @@ -DIST python-lhafile-0.3.0.tar.gz 267965 BLAKE2B 1331f21059f84f5e517339ac26546d73bc9dc125578840bf24483c274b651d8f0e2494b1b7e140bede07412b5c44e499269ea23dd1180bb955b1044b06d82ee8 SHA512 bb4db2767a702d30f2e713e5f7890d619de312d609761ade2ff8f4e99ffede8e35a72cd116abf3b8ea29b0885ebe2c993dc37f44722c8e5fe346be93dfdbbf81 +DIST python-lhafile-0.3.0.gh.tar.gz 267965 BLAKE2B 1331f21059f84f5e517339ac26546d73bc9dc125578840bf24483c274b651d8f0e2494b1b7e140bede07412b5c44e499269ea23dd1180bb955b1044b06d82ee8 SHA512 bb4db2767a702d30f2e713e5f7890d619de312d609761ade2ff8f4e99ffede8e35a72cd116abf3b8ea29b0885ebe2c993dc37f44722c8e5fe346be93dfdbbf81 diff --git a/dev-python/python-lhafile/python-lhafile-0.3.0-r1.ebuild b/dev-python/python-lhafile/python-lhafile-0.3.0-r1.ebuild new file mode 100644 index 000000000000..337bd2b67c42 --- /dev/null +++ b/dev-python/python-lhafile/python-lhafile-0.3.0-r1.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..12} ) + +inherit distutils-r1 + +DESCRIPTION="LHA archive support for Python" +HOMEPAGE="https://github.com/FrodeSolheim/python-lhafile" +SRC_URI="https://github.com/FrodeSolheim/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc64" +RESTRICT="test" # The tests don't work, they're probably outdated. diff --git a/dev-python/python-lhafile/python-lhafile-0.3.0.ebuild b/dev-python/python-lhafile/python-lhafile-0.3.0.ebuild deleted file mode 100644 index 42ea9642b9c0..000000000000 --- a/dev-python/python-lhafile/python-lhafile-0.3.0.ebuild +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) -inherit distutils-r1 - -DESCRIPTION="LHA archive support for Python" -HOMEPAGE="https://github.com/FrodeSolheim/python-lhafile" -SRC_URI="https://github.com/FrodeSolheim/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~ppc64" -RESTRICT="test" # The tests don't work, they're probably outdated. -- cgit v1.2.3-65-gdbad