From: "Sebastian Pipping" <sping@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/metagen/
Date: Wed, 25 May 2022 19:39:43 +0000 (UTC) [thread overview]
Message-ID: <1653507557.c7ae212843e7d26bdacbc17d8aa327b73f038459.sping@gentoo> (raw)
commit: c7ae212843e7d26bdacbc17d8aa327b73f038459
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Wed May 25 19:31:20 2022 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Wed May 25 19:39:17 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7ae2128
app-portage/metagen: Python 3.10 + EAPI 8
Closes: https://bugs.gentoo.org/845576
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
Package-Manager: Portage-3.0.30, Repoman-3.0.3
...metagen-9999.ebuild => metagen-0.7.3-r1.ebuild} | 25 ++++++++++------------
app-portage/metagen/metagen-9999.ebuild | 11 +++-------
2 files changed, 14 insertions(+), 22 deletions(-)
diff --git a/app-portage/metagen/metagen-9999.ebuild b/app-portage/metagen/metagen-0.7.3-r1.ebuild
similarity index 52%
copy from app-portage/metagen/metagen-9999.ebuild
copy to app-portage/metagen/metagen-0.7.3-r1.ebuild
index 65f6e64cdfda..eb29b0bd9fb6 100644
--- a/app-portage/metagen/metagen-9999.ebuild
+++ b/app-portage/metagen/metagen-0.7.3-r1.ebuild
@@ -1,19 +1,18 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="7"
-PYTHON_COMPAT=( python3_{7..9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
+EAPI="8"
+PYTHON_COMPAT=( python3_{8..10} )
-inherit distutils-r1 git-r3
+inherit distutils-r1
DESCRIPTION="metadata.xml generator for ebuilds"
HOMEPAGE="https://cgit.gentoo.org/proj/metagen.git"
-EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/metagen.git"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~x86 ~amd64-linux ~x86-linux"
IUSE=""
DEPEND="dev-python/lxml[${PYTHON_USEDEP}]
@@ -23,14 +22,12 @@ RDEPEND="${DEPEND}"
python_install_all() {
distutils-r1_python_install_all
doman docs/metagen.1
-}
-
-src_install() {
- distutils-r1_src_install
- # Address expected path warning for /usr/share/doc/metagen-<not-9999>
- mv "${ED}"/usr/share/doc/metagen-{*.*.*/*,${PV}/} || die
- rmdir "${ED}"/usr/share/doc/metagen-*.*.*/ || die
+ # Bug 814545 and 832069
+ if [[ ${PF} != ${P} ]]; then # to be robust across bumps
+ mv "${ED}"/usr/share/doc/${P}/* "${ED}"/usr/share/doc/${PF}/ || die
+ rmdir "${ED}"/usr/share/doc/${P}/ || die
+ fi
}
python_test() {
diff --git a/app-portage/metagen/metagen-9999.ebuild b/app-portage/metagen/metagen-9999.ebuild
index 65f6e64cdfda..3c5877d7288b 100644
--- a/app-portage/metagen/metagen-9999.ebuild
+++ b/app-portage/metagen/metagen-9999.ebuild
@@ -1,9 +1,8 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="7"
-PYTHON_COMPAT=( python3_{7..9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
+EAPI="8"
+PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1 git-r3
@@ -23,10 +22,6 @@ RDEPEND="${DEPEND}"
python_install_all() {
distutils-r1_python_install_all
doman docs/metagen.1
-}
-
-src_install() {
- distutils-r1_src_install
# Address expected path warning for /usr/share/doc/metagen-<not-9999>
mv "${ED}"/usr/share/doc/metagen-{*.*.*/*,${PV}/} || die
next reply other threads:[~2022-05-25 19:39 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-25 19:39 Sebastian Pipping [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-05-28 12:35 [gentoo-commits] repo/gentoo:master commit in: app-portage/metagen/ Sam James
2024-03-31 0:20 Sebastian Pipping
2023-11-05 19:51 Sebastian Pipping
2023-05-20 6:22 Michał Górny
2023-04-20 4:19 Sam James
2023-04-20 4:17 Sam James
2023-04-20 4:14 Arthur Zamarin
2022-11-28 21:21 Sebastian Pipping
2022-11-28 21:21 Sebastian Pipping
2022-08-08 19:59 Jakov Smolić
2022-07-31 16:12 Jakov Smolić
2022-07-31 16:08 Jakov Smolić
2022-01-28 9:31 Agostino Sarubbo
2022-01-26 20:25 Jakov Smolić
2022-01-26 20:18 Jakov Smolić
2022-01-25 22:16 Sebastian Pipping
2022-01-25 18:12 Sebastian Pipping
2021-12-26 12:14 Benda XU
2021-09-28 19:15 Sebastian Pipping
2021-09-23 20:39 Sebastian Pipping
2020-12-07 16:28 Sebastian Pipping
2020-06-06 19:31 Mart Raudsepp
2020-03-19 9:41 Michał Górny
2020-03-19 9:41 Michał Górny
2020-03-02 11:49 Sergei Trofimovich
2020-03-02 11:22 Sergei Trofimovich
2020-02-28 17:50 Agostino Sarubbo
2020-02-27 9:49 Agostino Sarubbo
2020-01-31 18:02 Sebastian Pipping
2020-01-31 16:20 Sebastian Pipping
2020-01-25 22:58 Sebastian Pipping
2019-05-18 10:02 Michał Górny
2018-08-26 8:25 Michał Górny
2018-03-21 18:12 Michał Górny
2017-03-13 19:51 Sebastian Pipping
2017-03-13 19:44 Sebastian Pipping
2016-10-09 11:01 Jeroen Roovers
2016-08-23 2:28 Mike Gilbert
2016-08-22 13:21 Sebastian Pipping
2016-08-11 8:20 Sergey Popov
2016-08-06 12:47 Pacho Ramos
2016-06-23 21:26 Sebastian Pipping
2016-02-21 22:28 Sebastian Pipping
2015-11-04 15:17 Agostino Sarubbo
2015-11-03 15:19 Agostino Sarubbo
2015-11-02 5:28 Jeroen Roovers
2015-10-30 15:20 Sebastian Pipping
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1653507557.c7ae212843e7d26bdacbc17d8aa327b73f038459.sping@gentoo \
--to=sping@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox