diff options
author | Sebastian Pipping <sping@gentoo.org> | 2024-03-31 01:18:44 +0100 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2024-03-31 01:20:02 +0100 |
commit | 283d5461f53e571a1e7015124319b837ac64a5ca (patch) | |
tree | 0e587f2d1ccc1cb58ba2a4f0aad3a319ee88c6b8 /app-portage/metagen | |
parent | app-containers/buildah: dont call `as` directly (diff) | |
download | gentoo-283d5461f53e571a1e7015124319b837ac64a5ca.tar.gz gentoo-283d5461f53e571a1e7015124319b837ac64a5ca.tar.bz2 gentoo-283d5461f53e571a1e7015124319b837ac64a5ca.zip |
app-portage/metagen: 0.7.4
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Diffstat (limited to 'app-portage/metagen')
-rw-r--r-- | app-portage/metagen/Manifest | 1 | ||||
-rw-r--r-- | app-portage/metagen/metagen-0.7.4.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/app-portage/metagen/Manifest b/app-portage/metagen/Manifest index 55593429be75..215aa06d8cfa 100644 --- a/app-portage/metagen/Manifest +++ b/app-portage/metagen/Manifest @@ -1 +1,2 @@ DIST metagen-0.7.3.tar.gz 9607 BLAKE2B 3c5b9debf10b0a6dda9bdf0e45e157c80019d0496d93f5af18e7be1b502c320fdbf7bd28f382e9021580d3aaa373566d7b342f3fa57f736fcb3676bafdd4d6e2 SHA512 d7293125685ad3be35dd9213b5d52c9219b6a5bcee4ab15fb2426bdccdb95b4df5567c2178bdefc0e75987080cd51026b5b089a4d4cf6402f455429d55d3a9e8 +DIST metagen-0.7.4.tar.gz 9291 BLAKE2B a1ad7267202f8bc477002a4c9deeb0cd26c8f2163f4fb3a0bf74e39b46448f3ba29dcec1201f41a0e98af8780b219102f3733b957a4e87293cc5e04486e39755 SHA512 e3d37cbe32fabbc980185d9948f6a38dfca756f727d86c26f7f5bd92e768bc034bffa14995844347bb3e19fe2d8757dcb45a3cab5b9e58d97c9c562b75a90d26 diff --git a/app-portage/metagen/metagen-0.7.4.ebuild b/app-portage/metagen/metagen-0.7.4.ebuild new file mode 100644 index 000000000000..c2197d9b87d8 --- /dev/null +++ b/app-portage/metagen/metagen-0.7.4.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="metadata.xml generator for ebuilds" +HOMEPAGE="https://cgit.gentoo.org/proj/metagen.git" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux" + +DEPEND="dev-python/lxml[${PYTHON_USEDEP}] + sys-apps/portage[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND}" + +distutils_enable_tests pytest + +python_install_all() { + distutils-r1_python_install_all + doman docs/metagen.1 + + # 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 +} |