Diff metagen-0.7.3-r2 with a metagen-9999
/usr/portage/app-portage/metagen/metagen-9999.ebuild 2023-10-09 14:52:28.848368334 +0300 | ||
---|---|---|
5 | 5 |
DISTUTILS_USE_PEP517=setuptools |
6 | 6 |
PYTHON_COMPAT=( python3_{9..11} ) |
7 | 7 | |
8 |
inherit distutils-r1 pypi |
|
8 |
inherit distutils-r1 git-r3 |
|
9 | 9 | |
10 | 10 |
DESCRIPTION="metadata.xml generator for ebuilds" |
11 | 11 |
HOMEPAGE="https://cgit.gentoo.org/proj/metagen.git" |
12 |
EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/metagen.git" |
|
12 | 13 | |
13 | 14 |
LICENSE="GPL-2" |
14 | 15 |
SLOT="0" |
15 |
KEYWORDS="amd64 ~arm64 ~hppa ppc ~riscv x86 ~amd64-linux ~x86-linux" |
|
16 |
KEYWORDS="" |
|
16 | 17 | |
17 | 18 |
IUSE="" |
18 | 19 |
DEPEND="dev-python/lxml[${PYTHON_USEDEP}] |
... | ... | |
23 | 24 |
distutils-r1_python_install_all |
24 | 25 |
doman docs/metagen.1 |
25 | 26 | |
26 |
# Bug 814545 and 832069 |
|
27 |
if [[ ${PF} != ${P} ]]; then # to be robust across bumps |
|
28 |
mv "${ED}"/usr/share/doc/${P}/* "${ED}"/usr/share/doc/${PF}/ || die |
|
29 |
rmdir "${ED}"/usr/share/doc/${P}/ || die |
|
30 |
fi |
|
27 |
# Address expected path warning for /usr/share/doc/metagen-<not-9999> |
|
28 |
mv "${ED}"/usr/share/doc/metagen-{*.*.*/*,${PV}/} || die |
|
29 |
rmdir "${ED}"/usr/share/doc/metagen-*.*.*/ || die |
|
31 | 30 |
} |
32 | 31 | |
33 | 32 |
python_test() { |