commit:     07b916a2019c2df97a95023582aa3bc654605330
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 17 05:30:33 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Jan 17 05:54:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07b916a2

games-simulation/singularity: enable py3.11, use pep517

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 ...ngularity-1.00-r1.ebuild => singularity-1.00-r2.ebuild} | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/games-simulation/singularity/singularity-1.00-r1.ebuild 
b/games-simulation/singularity/singularity-1.00-r2.ebuild
similarity index 81%
rename from games-simulation/singularity/singularity-1.00-r1.ebuild
rename to games-simulation/singularity/singularity-1.00-r2.ebuild
index d1dcbba13215..faf2e9b246f6 100644
--- a/games-simulation/singularity/singularity-1.00-r1.ebuild
+++ b/games-simulation/singularity/singularity-1.00-r2.ebuild
@@ -4,7 +4,8 @@
 EAPI=8
 
 DISTUTILS_SINGLE_IMPL=1
-PYTHON_COMPAT=( python3_{9..10} )
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
 inherit desktop distutils-r1
 
 SINGULARITY_MUSIC="endgame-${PN}-music-007"
@@ -35,12 +36,15 @@ BDEPEND="app-arch/unzip"
 distutils_enable_sphinx docs
 distutils_enable_tests pytest
 
-src_install() {
-       local DOCS=( AUTHORS.txt Changelog.txt README.txt TODO )
-       distutils-r1_src_install
+python_install() {
+       distutils-r1_python_install
 
        python_moduleinto ${PN}/music
-       python_domodule ../${SINGULARITY_MUSIC}/.
+       python_domodule "${WORKDIR}"/${SINGULARITY_MUSIC}/.
+}
+
+python_install_all() {
+       dodoc AUTHORS.txt Changelog.txt README.txt TODO
 
        newicon ${PN}/data/themes/default/images/icon.png ${PN}.png
        domenu ${PN}.desktop

Reply via email to