Diff rubber-1.6.7 with a rubber-9999
/usr/portage/dev-tex/rubber/rubber-9999.ebuild 2024-07-02 13:51:45.673851500 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2025 Gentoo Authors |
|
1 |
# Copyright 1999-2024 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
PYTHON_COMPAT=( python3_{10..12} ) |
|
6 |
PYTHON_COMPAT=( python3_{9..12} ) |
|
7 | 7 |
DISTUTILS_USE_PEP517=hatchling |
8 | 8 | |
9 | 9 |
inherit distutils-r1 |
... | ... | |
14 | 14 |
else |
15 | 15 |
# NOTE: Cannot be "PYPI_PN=latex-rubber" + "inherit pypi" due to missing files |
16 | 16 |
SRC_URI="https://gitlab.com/latex-rubber/${PN}/-/archive/${PV}/${P}.tar.bz2" |
17 |
KEYWORDS="amd64 ~ppc ~riscv ~x86" |
|
17 |
KEYWORDS="~amd64 ~ppc ~riscv ~x86" |
|
18 | 18 |
fi |
19 | 19 | |
20 | 20 |
DESCRIPTION="A LaTeX wrapper for automatically building documents" |
... | ... | |
93 | 93 |
./run.sh * || die "Tests failed with ${EPYTHON}" |
94 | 94 |
} |
95 | 95 | |
96 |
python_install() { |
|
97 |
local my_install_args=( |
|
98 |
--mandir="${EPREFIX}/usr/share/man" |
|
99 |
--infodir="${EPREFIX}/usr/share/info" |
|
100 |
--docdir="${EPREFIX}/usr/share/doc/${PF}" |
|
101 |
) |
|
102 | ||
103 |
distutils-r1_python_install "${my_install_args[@]}" |
|
104 |
} |
|
105 | ||
96 | 106 |
src_install() { |
97 | 107 |
distutils-r1_src_install |
98 | 108 | |
99 |
# Move misplaced files to correct location |
|
100 |
doinfo doc/${PN}/${PN}.info |
|
101 |
rm "${ED}"/usr/share/doc/${PN}/${PN}.{texi,info} || die |
|
102 |
mv "${ED}"/usr/share/doc/{${PN}/*,${PF}/} || die |
|
103 |
rmdir "${ED}"/usr/share/doc/${PN} || die |
|
109 |
mv "${D}"/usr/share/doc/{${PN},${PF}} || die |
|
104 | 110 |
} |