commit:     0b3b3fd707b9867418641b18293dadbc3779661b
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 15 21:34:17 2026 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Feb 15 21:38:55 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b3b3fd7

dev-tex/rubber: Add missing test BDEPENDs, python13

Tests passed.

Closes: https://bugs.gentoo.org/928967
Closes: https://bugs.gentoo.org/952426
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../{rubber-9999.ebuild => rubber-1.6.7-r1.ebuild} | 32 ++++++++--------------
 dev-tex/rubber/rubber-9999.ebuild                  | 13 ++++-----
 2 files changed, 18 insertions(+), 27 deletions(-)

diff --git a/dev-tex/rubber/rubber-9999.ebuild 
b/dev-tex/rubber/rubber-1.6.7-r1.ebuild
similarity index 83%
copy from dev-tex/rubber/rubber-9999.ebuild
copy to dev-tex/rubber/rubber-1.6.7-r1.ebuild
index c560ad27e5d3..0b0fe36abc81 100644
--- a/dev-tex/rubber/rubber-9999.ebuild
+++ b/dev-tex/rubber/rubber-1.6.7-r1.ebuild
@@ -1,14 +1,13 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..12} )
+PYTHON_COMPAT=( python3_{12..13} )
 DISTUTILS_USE_PEP517=hatchling
-
 inherit distutils-r1
 
-if [[ ${PV} == "9999" ]] || [[ -n "${EGIT_COMMIT_ID}" ]]; then
+if [[ ${PV} == *9999* ]] || [[ -n "${EGIT_COMMIT_ID}" ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://gitlab.com/latex-rubber/${PN}.git";
 else
@@ -17,7 +16,7 @@ else
        KEYWORDS="~amd64 ~ppc ~riscv ~x86"
 fi
 
-DESCRIPTION="A LaTeX wrapper for automatically building documents"
+DESCRIPTION="LaTeX wrapper for automatically building documents"
 HOMEPAGE="https://gitlab.com/latex-rubber/rubber";
 
 LICENSE="GPL-3+"
@@ -26,25 +25,24 @@ IUSE="test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="virtual/latex-base"
-
 # Test dependencies:
 # - app-text/texlive-core for rubber's 'cweave' test
 # - dev-lang/R for rubber's 'knitr' test (requires knitr R library, currently 
disabled)
 # - dev-texlive/texlive-latexextra for rubber's 'combine' test (currently 
disabled)
-BDEPEND="
-       ${RDEPEND}
+BDEPEND="${RDEPEND}
        virtual/texi2dvi
        test? (
                app-text/ghostscript-gpl
                app-text/texlive-core
                dev-tex/biber
                dev-tex/biblatex
+               dev-tex/bibtexu
                dev-tex/glossaries
                dev-tex/latex-beamer
                $(python_gen_cond_dep 'dev-tex/pythontex[${PYTHON_USEDEP}]')
                dev-texlive/texlive-latexextra
                dev-texlive/texlive-pstricks
-               media-gfx/asymptote
+               media-gfx/asymptote[latex]
        )
 "
 
@@ -93,18 +91,12 @@ python_test() {
        ./run.sh * || die "Tests failed with ${EPYTHON}"
 }
 
-python_install() {
-       local my_install_args=(
-               --mandir="${EPREFIX}/usr/share/man"
-               --infodir="${EPREFIX}/usr/share/info"
-               --docdir="${EPREFIX}/usr/share/doc/${PF}"
-       )
-
-       distutils-r1_python_install "${my_install_args[@]}"
-}
-
 src_install() {
        distutils-r1_src_install
 
-       mv "${D}"/usr/share/doc/{${PN},${PF}} || die
+       # Move misplaced files to correct location
+       doinfo doc/${PN}/${PN}.info
+       rm "${ED}"/usr/share/doc/${PN}/${PN}.{texi,info} || die
+       mv "${ED}"/usr/share/doc/{${PN}/*,${PF}/} || die
+       rmdir "${ED}"/usr/share/doc/${PN} || die
 }

diff --git a/dev-tex/rubber/rubber-9999.ebuild 
b/dev-tex/rubber/rubber-9999.ebuild
index c560ad27e5d3..d97e2042b5f1 100644
--- a/dev-tex/rubber/rubber-9999.ebuild
+++ b/dev-tex/rubber/rubber-9999.ebuild
@@ -1,14 +1,13 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..12} )
+PYTHON_COMPAT=( python3_{12..13} )
 DISTUTILS_USE_PEP517=hatchling
-
 inherit distutils-r1
 
-if [[ ${PV} == "9999" ]] || [[ -n "${EGIT_COMMIT_ID}" ]]; then
+if [[ ${PV} == *9999* ]] || [[ -n "${EGIT_COMMIT_ID}" ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://gitlab.com/latex-rubber/${PN}.git";
 else
@@ -17,7 +16,7 @@ else
        KEYWORDS="~amd64 ~ppc ~riscv ~x86"
 fi
 
-DESCRIPTION="A LaTeX wrapper for automatically building documents"
+DESCRIPTION="LaTeX wrapper for automatically building documents"
 HOMEPAGE="https://gitlab.com/latex-rubber/rubber";
 
 LICENSE="GPL-3+"
@@ -26,7 +25,6 @@ IUSE="test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="virtual/latex-base"
-
 # Test dependencies:
 # - app-text/texlive-core for rubber's 'cweave' test
 # - dev-lang/R for rubber's 'knitr' test (requires knitr R library, currently 
disabled)
@@ -39,12 +37,13 @@ BDEPEND="
                app-text/texlive-core
                dev-tex/biber
                dev-tex/biblatex
+               dev-tex/bibtexu
                dev-tex/glossaries
                dev-tex/latex-beamer
                $(python_gen_cond_dep 'dev-tex/pythontex[${PYTHON_USEDEP}]')
                dev-texlive/texlive-latexextra
                dev-texlive/texlive-pstricks
-               media-gfx/asymptote
+               media-gfx/asymptote[latex]
        )
 "
 

Reply via email to