From: "Sebastian Pipping" <sping@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/metagen/
Date: Mon, 28 Nov 2022 21:21:04 +0000 (UTC) [thread overview]
Message-ID: <1669670442.25e747a74e49788c2409bf7314424b641ce24532.sping@gentoo> (raw)
commit: 25e747a74e49788c2409bf7314424b641ce24532
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 28 21:03:18 2022 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Mon Nov 28 21:20:42 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25e747a7
app-portage/metagen: Python 3.11 + DistutilsNonPEP517Build + MissingRemoteId
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
app-portage/metagen/metadata.xml | 3 +++
.../{metagen-9999.ebuild => metagen-0.7.3-r2.ebuild} | 17 ++++++++++-------
app-portage/metagen/metagen-9999.ebuild | 3 ++-
3 files changed, 15 insertions(+), 8 deletions(-)
diff --git a/app-portage/metagen/metadata.xml b/app-portage/metagen/metadata.xml
index 6a22e9e318bb..32307ccfc35f 100644
--- a/app-portage/metagen/metadata.xml
+++ b/app-portage/metagen/metadata.xml
@@ -5,4 +5,7 @@
<email>sping@gentoo.org</email>
<name>Sebastian Pipping</name>
</maintainer>
+ <upstream>
+ <remote-id type="pypi">metagen</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/app-portage/metagen/metagen-9999.ebuild b/app-portage/metagen/metagen-0.7.3-r2.ebuild
similarity index 56%
copy from app-portage/metagen/metagen-9999.ebuild
copy to app-portage/metagen/metagen-0.7.3-r2.ebuild
index 3c5877d7288b..431d7950baec 100644
--- a/app-portage/metagen/metagen-9999.ebuild
+++ b/app-portage/metagen/metagen-0.7.3-r2.ebuild
@@ -2,17 +2,18 @@
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
-PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
-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 ~riscv ~x86 ~amd64-linux ~x86-linux"
IUSE=""
DEPEND="dev-python/lxml[${PYTHON_USEDEP}]
@@ -23,9 +24,11 @@ python_install_all() {
distutils-r1_python_install_all
doman docs/metagen.1
- # 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 3c5877d7288b..d7077d243ebb 100644
--- a/app-portage/metagen/metagen-9999.ebuild
+++ b/app-portage/metagen/metagen-9999.ebuild
@@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
-PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1 git-r3
next reply other threads:[~2022-11-28 21:21 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-28 21:21 Sebastian Pipping [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-19 16:52 [gentoo-commits] repo/gentoo:master commit in: app-portage/metagen/ James Le Cuirot
2024-05-28 12:35 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-08-08 19:59 Jakov Smolić
2022-07-31 16:12 Jakov Smolić
2022-07-31 16:08 Jakov Smolić
2022-05-25 19:39 Sebastian Pipping
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=1669670442.25e747a74e49788c2409bf7314424b641ce24532.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