commit:     e9ab235445cded9f2f68dbbc14f6a1d5e2ea91b6
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  3 20:19:17 2023 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Aug  3 20:21:24 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9ab2354

dev-python/python-lhafile: Switch to PEP517, add Python 3.12

Closes: https://bugs.gentoo.org/909956
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 dev-python/python-lhafile/Manifest                                 | 2 +-
 ...{python-lhafile-0.3.0.ebuild => python-lhafile-0.3.0-r1.ebuild} | 7 +++++--
 2 files changed, 6 insertions(+), 3 deletions(-)

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.ebuild 
b/dev-python/python-lhafile/python-lhafile-0.3.0-r1.ebuild
similarity index 79%
rename from dev-python/python-lhafile/python-lhafile-0.3.0.ebuild
rename to dev-python/python-lhafile/python-lhafile-0.3.0-r1.ebuild
index 42ea9642b9c0..337bd2b67c42 100644
--- a/dev-python/python-lhafile/python-lhafile-0.3.0.ebuild
+++ b/dev-python/python-lhafile/python-lhafile-0.3.0-r1.ebuild
@@ -3,12 +3,15 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+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}.tar.gz"
+SRC_URI="https://github.com/FrodeSolheim/${PN}/archive/v${PV}.tar.gz -> 
${P}.gh.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"

Reply via email to