commit:     2cc5c8b1b48fae000ff8349dd285d7245ff77e02
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  7 16:20:07 2020 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Mon Dec  7 16:26:20 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cc5c8b1

app-portage/metagen: Address PythonCompatUpdate + fix 9999

Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
Package-Manager: Portage-3.0.0, Repoman-2.3.23

 app-portage/metagen/metagen-0.7.2.ebuild | 2 +-
 app-portage/metagen/metagen-9999.ebuild  | 7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/app-portage/metagen/metagen-0.7.2.ebuild 
b/app-portage/metagen/metagen-0.7.2.ebuild
index ea76c3c225c..356b1a27a77 100644
--- a/app-portage/metagen/metagen-0.7.2.ebuild
+++ b/app-portage/metagen/metagen-0.7.2.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6..9} )
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
 inherit distutils-r1

diff --git a/app-portage/metagen/metagen-9999.ebuild 
b/app-portage/metagen/metagen-9999.ebuild
index 5ac50c432b4..23b39f0add2 100644
--- a/app-portage/metagen/metagen-9999.ebuild
+++ b/app-portage/metagen/metagen-9999.ebuild
@@ -2,14 +2,14 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6..9} )
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
 inherit distutils-r1 git-r3
 
 DESCRIPTION="metadata.xml generator for ebuilds"
 HOMEPAGE="https://cgit.gentoo.org/proj/metagen.git";
-EGIT_REPO_URI="git://anongit.gentoo.org/proj/metagen.git"
+EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/metagen.git";
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -29,7 +29,8 @@ src_install() {
        distutils-r1_src_install
 
        # Address expected path warning for /usr/share/doc/metagen-<not-9999>
-       mv "${D}"/usr/share/doc/metagen-{*,${PV}}/ || die
+       mv "${D}"/usr/share/doc/metagen-{*.*.*/*,${PV}/} || die
+       rmdir "${D}"/usr/share/doc/metagen-*.*.*/ || die
 }
 
 python_test() {

Reply via email to