From 02eb6576978c38afed5787f6f2dbab8353379d66 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 22 Apr 2024 12:05:36 +0100 Subject: gentoo auto-resync : 22:04:2024 - 12:05:36 --- dev-tex/rubber/Manifest | 2 +- dev-tex/rubber/rubber-1.6.5-r1.ebuild | 104 ++++++++++++++++++++++++++++++++ dev-tex/rubber/rubber-1.6.5.ebuild | 110 ---------------------------------- 3 files changed, 105 insertions(+), 111 deletions(-) create mode 100644 dev-tex/rubber/rubber-1.6.5-r1.ebuild delete mode 100644 dev-tex/rubber/rubber-1.6.5.ebuild (limited to 'dev-tex/rubber') diff --git a/dev-tex/rubber/Manifest b/dev-tex/rubber/Manifest index a37711077292..14b5eecc3a15 100644 --- a/dev-tex/rubber/Manifest +++ b/dev-tex/rubber/Manifest @@ -7,6 +7,6 @@ EBUILD rubber-1.5.1-r1.ebuild 734 BLAKE2B 7a5830ee24b406390b747717e16a1f2c175dbb EBUILD rubber-1.6.0-r1.ebuild 3043 BLAKE2B 0ad277227573c51966d2cdb38d8a6472c7730ff14883f5a8b227a1288dfef3a439d8a8e9a4d03b91a7c65dc96573a3ea5989c7eb4eb261f5ad9715bcb1f22cad SHA512 9c60c59414e01e14416e68e3564b1fb10c746624158c85b6932350a6b3580ff84fcabecb4ad2c2b216a8b15e067a99001e2df5867457ca306d10b0fc9f293a1c EBUILD rubber-1.6.4-r1.ebuild 3221 BLAKE2B 3e14f0fce9fd58971f072ea64d91d2510ef4b89bd1b365b32a5dd8b1029a31015c770fb488dbcd02b965b32420dc6062f2cbd1a6cb1f8d404c26022a9f535e7d SHA512 e47b8cd38eb855bd0823267682c6594769b69e374748e0596a7a91b81690ad708a3c0073028f3c1f2f6b29d84c442d1d5bfb881b76d508263569ab60877856f7 EBUILD rubber-1.6.4.ebuild 3191 BLAKE2B ec1242306e1a44dcb053d6cba31eb4dffa8e2b945cf882111c007f7c9cca8fa53c88da0b72a61544cde93ef95a55e4b3bba15fe6220eb6275ce4c8e483f5af82 SHA512 e5285fcc84fa09682887b418bc83f0c95f459ac1048204c3800762e2dc88aabc7b591eab3481553039636db0ae8fd32cab9df1845ff653fb6e0bc0476f6372be -EBUILD rubber-1.6.5.ebuild 3063 BLAKE2B bebee4b147039485125977969a59a889139e7d7a385643e42f02e501574345371b0e4f9fb7222675831405cdd8c75fc492fdfae5becfd4ba616cdbe0318fb43b SHA512 e6ec8847ad6b3c997d50bdf23ff102c12cdd2e4039789e2d401a3a4f8d4da0e35e654e869ab335edbe5f9c812d905fd0e7918f0656411557b2b69f7e260c7c4f +EBUILD rubber-1.6.5-r1.ebuild 3013 BLAKE2B b46aef013196ca1944e56514d2128855e6c2bbb06ccfaa4a4acbed73f5439a10dec899443de433b8161e8e44a81c6cd5954a9b3e6f3afc61c638c2d30575d289 SHA512 28157b7cf692b6f2df11e2145630194fb982bc909b74d0027c3c7764b696c87d18263d923d7699375a2383183140d3c3470a7af2a03a4f5c46809453ba8fc21f EBUILD rubber-9999.ebuild 3063 BLAKE2B bebee4b147039485125977969a59a889139e7d7a385643e42f02e501574345371b0e4f9fb7222675831405cdd8c75fc492fdfae5becfd4ba616cdbe0318fb43b SHA512 e6ec8847ad6b3c997d50bdf23ff102c12cdd2e4039789e2d401a3a4f8d4da0e35e654e869ab335edbe5f9c812d905fd0e7918f0656411557b2b69f7e260c7c4f MISC metadata.xml 465 BLAKE2B 36be3746c0ec60fc3396323dd3a1e9401b754c7ab8cf893a0bee6201cf054c90e7caf337772a75c66e4e2391ad6bfeeb5f1284761a87301d09c1421513e1daa1 SHA512 5dbf081ccc11b8ce546c3939267e786f50bf47d5fab94715721a5cac841472143720748914f20079851c9fbe02ed28ddfe734357acde49de13d5106747f39128 diff --git a/dev-tex/rubber/rubber-1.6.5-r1.ebuild b/dev-tex/rubber/rubber-1.6.5-r1.ebuild new file mode 100644 index 000000000000..0d6cb11369e9 --- /dev/null +++ b/dev-tex/rubber/rubber-1.6.5-r1.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +DISTUTILS_USE_PEP517=hatchling + +inherit distutils-r1 + +if [[ ${PV} == "9999" ]] || [[ -n "${EGIT_COMMIT_ID}" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/latex-rubber/${PN}.git" +else + # NOTE: Cannot be "PYPI_PN=latex-rubber" + "inherit pypi" due to missing files + SRC_URI="https://gitlab.com/latex-rubber/${PN}/-/archive/${PV}/${P}.tar.bz2" + KEYWORDS="~amd64 ~ppc ~riscv ~x86" +fi + +DESCRIPTION="A LaTeX wrapper for automatically building documents" +HOMEPAGE="https://gitlab.com/latex-rubber/rubber" + +LICENSE="GPL-3+" +SLOT="0" +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} + virtual/texi2dvi + test? ( + app-text/ghostscript-gpl + app-text/texlive-core + dev-tex/biber + dev-tex/biblatex + 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 + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.6.4-pythontex.patch +) + +pkg_setup() { + # https://bugs.gentoo.org/727996 + export VARTEXFONTS="${T}"/fonts +} + +python_test() { + cd tests || die + + # Disable the broken 'combine' test as it uses the 'combine' as a + # latex package when it is only a document class (probably only in + # newer versions of combine). Also note that this tests works + # under debian 'buster'. TODO: Look into potential modifications + # done by debian. + touch combine/disable || die + + # This test does not work under Gentoo nor Debian 'buster'. + # TODO: Investigate why it does not work. + touch cweb-latex/disable || die + + # TODO: Investigate why the following are failing. + touch fig2dev-dvi/disable || die + touch fig2dev-path/disable || die + touch fig2dev-path-inplace/disable || die + touch fig2dev-path-into/disable || die + touch graphicx-dotted-files/disable || die + touch hooks-input-file/disable || die + touch knitr/disable || die + + # Even tough metapost is available, those tests fail on Gentoo + # (while they succeed on Debian 'buster'). + # TODO: Determine why. + # ERROR:mpost:I can't read MetaPost's log file, this is wrong. + touch metapost/disable || die + # expected error message not reported by Rubber + touch metapost-error/disable || die + # ERROR:mpost:I can't read MetaPost's log file, this is wrong. + touch metapost-input/disable || die + + ./run.sh * || die "Tests failed with ${EPYTHON}" +} + +src_install() { + distutils-r1_src_install + + # 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-1.6.5.ebuild b/dev-tex/rubber/rubber-1.6.5.ebuild deleted file mode 100644 index cc981e17fe39..000000000000 --- a/dev-tex/rubber/rubber-1.6.5.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) -DISTUTILS_USE_PEP517=hatchling - -inherit distutils-r1 - -if [[ ${PV} == "9999" ]] || [[ -n "${EGIT_COMMIT_ID}" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.com/latex-rubber/${PN}.git" -else - # NOTE: Cannot be "PYPI_PN=latex-rubber" + "inherit pypi" due to missing files - SRC_URI="https://gitlab.com/latex-rubber/${PN}/-/archive/${PV}/${P}.tar.bz2" - KEYWORDS="~amd64 ~ppc ~riscv ~x86" -fi - -DESCRIPTION="A LaTeX wrapper for automatically building documents" -HOMEPAGE="https://gitlab.com/latex-rubber/rubber" - -LICENSE="GPL-3+" -SLOT="0" -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} - virtual/texi2dvi - test? ( - app-text/ghostscript-gpl - app-text/texlive-core - dev-tex/biber - dev-tex/biblatex - 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 - ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-1.6.4-pythontex.patch -) - -pkg_setup() { - # https://bugs.gentoo.org/727996 - export VARTEXFONTS="${T}"/fonts -} - -python_test() { - cd tests || die - - # Disable the broken 'combine' test as it uses the 'combine' as a - # latex package when it is only a document class (probably only in - # newer versions of combine). Also note that this tests works - # under debian 'buster'. TODO: Look into potential modifications - # done by debian. - touch combine/disable || die - - # This test does not work under Gentoo nor Debian 'buster'. - # TODO: Investigate why it does not work. - touch cweb-latex/disable || die - - # TODO: Investigate why the following are failing. - touch fig2dev-dvi/disable || die - touch fig2dev-path/disable || die - touch fig2dev-path-inplace/disable || die - touch fig2dev-path-into/disable || die - touch graphicx-dotted-files/disable || die - touch hooks-input-file/disable || die - touch knitr/disable || die - - # Even tough metapost is available, those tests fail on Gentoo - # (while they succeed on Debian 'buster'). - # TODO: Determine why. - # ERROR:mpost:I can't read MetaPost's log file, this is wrong. - touch metapost/disable || die - # expected error message not reported by Rubber - touch metapost-error/disable || die - # ERROR:mpost:I can't read MetaPost's log file, this is wrong. - touch metapost-input/disable || die - - ./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 -} -- cgit v1.2.3