diff options
Diffstat (limited to 'dev-tex/rubber')
-rw-r--r-- | dev-tex/rubber/Manifest | 9 | ||||
-rw-r--r-- | dev-tex/rubber/rubber-1.5.1-r1.ebuild | 31 | ||||
-rw-r--r-- | dev-tex/rubber/rubber-1.6.0-r1.ebuild | 108 | ||||
-rw-r--r-- | dev-tex/rubber/rubber-1.6.4.ebuild | 111 | ||||
-rw-r--r-- | dev-tex/rubber/rubber-1.6.7.ebuild (renamed from dev-tex/rubber/rubber-1.6.4-r1.ebuild) | 24 |
5 files changed, 9 insertions, 274 deletions
diff --git a/dev-tex/rubber/Manifest b/dev-tex/rubber/Manifest index ce36aab353bb..0ef4f52036a9 100644 --- a/dev-tex/rubber/Manifest +++ b/dev-tex/rubber/Manifest @@ -1,14 +1,9 @@ AUX rubber-1.6.4-pythontex.patch 962 BLAKE2B 6f1e2f16f326b5d3cef5e658d905d54e9ec18a816b7e6ec4eabaa54afc25afe81cd19ea586c89f6a99ee6f4eaa13e615d3e8b010ffd931ad20a147f4d9dc77a5 SHA512 e1440d82bfd2d34c9fba48e57d15c477775f473418dd9f3b0dd59fe7e8b1ebfb767bd36bdf8d8af94f4441a5b4e260acc44137e44479330758a216a4a5229ba3 -DIST rubber-1.5.1.tar.gz 111812 BLAKE2B 4d08527689d669e3ac8dd6e9050fc09766bfb46c53d9923ce10efc0aaf8a62a962cb2f1c27a0e7a19a9be96710edba923d93589d816aa22305eec33fd08aa08c SHA512 ba22eeddc24b4f9abf0bf087604a4261add648877ec558b766555de09538cd20c21c8cfd9731c1421540bb2479501dd6ed066346d250c6bc981529e31efacc40 -DIST rubber-1.6.0.tar.bz2 98055 BLAKE2B e3355a53f811e972b68a918393023a16c11a84035c0ea76b560df25db2d9c20f2a7c9d0d4fc3b0395c6baab5dc785840fa18a76aa0e3f480cf2c14668d61b083 SHA512 68674c27fa7c6eb2c8ec60c0a961fd2dd07822fe5ba50682e863a7dbe7d1e0ce8ebffce84a52b72a254cb9c8d446a33005715b81e43dd6266e2c247f12ebb1e6 -DIST rubber-1.6.4.tar.bz2 100227 BLAKE2B 5a467f5a2a4709e7faffef1308e644900f02ca51e4fff635e7a88bb237788e60257e0e8e82ed9acac66db46f0a1e8aed1296703fefc8e1fb6e28cd38334b7d14 SHA512 dbb3896c165d63cfae8421929d0d796002fb3abcfc2ccb3fe70c4c98acc54ed48be1ad469158436dabd973bf37355c62c096ebd47c0efa7dbe58137a0a895527 DIST rubber-1.6.5.tar.bz2 100300 BLAKE2B bbddf550fbce2f2f98ecf2e737515b4c6891e89494dc2c39cc4a0f268d76f505cad184f27c5f333bc706fe08adcce1d668e8e33c37e26fc6142b12b32797e402 SHA512 e0fadbca6d9e570e6414a99a72da22656abb0fc71e14dd0840bd3dd68364d0da0b2fd5c416f45eb8489bdcb10c226657799efae4ae0c73807b2485b8c8c2094b DIST rubber-1.6.6.tar.bz2 100502 BLAKE2B fa74c189b7265206495436b14f229588f7998e0c2f1b148eb8202805ddea54f6391ee15c6ca40957e242b1f065eb1159904fbafe0ddc4d8e6d64cdd26478d614 SHA512 0913a1c9ac012a8bd577e975aca92eae0965137fbc01b049b139f8f31bd85856503af7d760defc67f76894a74ca0616fcb887b1a9395be5a93ff0397ec6795ae -EBUILD rubber-1.5.1-r1.ebuild 734 BLAKE2B 7a5830ee24b406390b747717e16a1f2c175dbb46d2d6ee2e94b86731be813bb6c3630e1921e4022e9a1f8b44f47a4cf1d8eb25abb9554bc2aa3534f671d7f1b8 SHA512 6c10c4c6846edd3c57dae36e14763ca6158eeade6f74c5f98a1b68f96469a9042127011448b705bdf5ab2eb40a841146a7cb4fbf5a5882dc96f95cb5938a9c52 -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 +DIST rubber-1.6.7.tar.bz2 100670 BLAKE2B 468af397d58bc0866fb3443098ae55fff8eff2be9ef9537d8b7d8ea4c45f9928083732778106850f90bcc52d8decafd11386d4c1c69583c3953094180ce4065c SHA512 82ff4457fbe98de15c09adce2dc6dc9693f1ce8bb8f5fa358e9e9f0268e98fb4aa05fe08bafb5a1fad1c400c1623af21e21376c42cec6a162dd05c7791819ef4 EBUILD rubber-1.6.5-r1.ebuild 3013 BLAKE2B b46aef013196ca1944e56514d2128855e6c2bbb06ccfaa4a4acbed73f5439a10dec899443de433b8161e8e44a81c6cd5954a9b3e6f3afc61c638c2d30575d289 SHA512 28157b7cf692b6f2df11e2145630194fb982bc909b74d0027c3c7764b696c87d18263d923d7699375a2383183140d3c3470a7af2a03a4f5c46809453ba8fc21f EBUILD rubber-1.6.6.ebuild 3011 BLAKE2B 4a0a54d6fac9e12ab4dbbdbd51e81f6f9849261027b29a97b0b5b8d2ea3f6e1fcd70f88eb2180874ef7cfdb5a03857064d433dea4f3b26bcfe8af1f96f94e4ec SHA512 7a50312010532bea1e7b6b5eed4a0a320ea54260e85ec4d33725c8395a3a533357ccfb5cd53a625192ec3de5cd40e3ce9891f62d04c2a84eb8cb06d46d192a4b +EBUILD rubber-1.6.7.ebuild 3014 BLAKE2B 822e17a19f13a28b621f74fb53c4b25db5086c0796a6023ae805dfb8c0ff77988c6a9ed8dc7f9944382860c661d765be11541d17319e72cef39c6f54bdd7db86 SHA512 1e5ad802419701acfab84d34a4ed8d39a2f36720461161b4613b95d6c55249b6aed9080a9e847dae515db63120b06402ccd4d590970d5bfbc29bbbf51f36cd68 EBUILD rubber-9999.ebuild 3063 BLAKE2B 3db5438e30aeb9fcb34a7154beafa936c80b0b2b1f76bd9d5a825953034b23ea22729a906ac7cd89ca2d21f6b3961ed61f78d119c73492ca5386f7107809c833 SHA512 8a01a0f82af0384de4b8fe8ed5964248da1ac45652b64960831a521b3ecc80224f3018f6c988156c905e454a2f5165cc03839c54f6bb95d03efff583b6a1b47b MISC metadata.xml 465 BLAKE2B 36be3746c0ec60fc3396323dd3a1e9401b754c7ab8cf893a0bee6201cf054c90e7caf337772a75c66e4e2391ad6bfeeb5f1284761a87301d09c1421513e1daa1 SHA512 5dbf081ccc11b8ce546c3939267e786f50bf47d5fab94715721a5cac841472143720748914f20079851c9fbe02ed28ddfe734357acde49de13d5106747f39128 diff --git a/dev-tex/rubber/rubber-1.5.1-r1.ebuild b/dev-tex/rubber/rubber-1.5.1-r1.ebuild deleted file mode 100644 index 2a80c8a79354..000000000000 --- a/dev-tex/rubber/rubber-1.5.1-r1.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 - -DESCRIPTION="A LaTeX wrapper for automatically building documents" -HOMEPAGE="https://launchpad.net/rubber/" -SRC_URI="https://launchpad.net/rubber/trunk/${PV}/+download/${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 ppc x86" - -RDEPEND="virtual/latex-base" -BDEPEND="${RDEPEND} - virtual/texi2dvi" - -pkg_setup() { - # https://bugs.gentoo.org/727996 - export VARTEXFONTS="${T}"/fonts -} - -python_install() { - distutils-r1_python_install \ - --docdir="${EPREFIX}"/usr/share/doc/${PF} \ - --infodir="${EPREFIX}"/usr/share/info \ - --mandir="${EPREFIX}"/usr/share/man -} diff --git a/dev-tex/rubber/rubber-1.6.0-r1.ebuild b/dev-tex/rubber/rubber-1.6.0-r1.ebuild deleted file mode 100644 index 081960532562..000000000000 --- a/dev-tex/rubber/rubber-1.6.0-r1.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{9..11} ) -DISTUTILS_USE_SETUPTOOLS="no" - -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 - UPSTREAM_PV=$(ver_rs 3 -) - SRC_URI="https://gitlab.com/latex-rubber/${PN}/-/archive/${UPSTREAM_PV}/${PN}-${UPSTREAM_PV}.tar.bz2" - S="${WORKDIR}/${PN}-${UPSTREAM_PV}" - 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 - ) -" - -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() { - insinto /usr/share/zsh/site-functions - newins misc/zsh-completion _rubber - - distutils-r1_src_install -} diff --git a/dev-tex/rubber/rubber-1.6.4.ebuild b/dev-tex/rubber/rubber-1.6.4.ebuild deleted file mode 100644 index bac70181e992..000000000000 --- a/dev-tex/rubber/rubber-1.6.4.ebuild +++ /dev/null @@ -1,111 +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 tests - 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 - ) -" - -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 - - # Fix file misplacements - dodir /usr/share/man/fr - mv "${D}"/usr/share/{doc/man-fr,man/fr/man1} || die - mv "${D}"/usr/share/{doc/man-en,man/man1} || die - dodir /usr/share/doc/${P} - mv "${D}"/usr/share/doc/{rubber.*,${P}/} || die -} diff --git a/dev-tex/rubber/rubber-1.6.4-r1.ebuild b/dev-tex/rubber/rubber-1.6.7.ebuild index 39ebc4698ab0..da5c2eb0edec 100644 --- a/dev-tex/rubber/rubber-1.6.4-r1.ebuild +++ b/dev-tex/rubber/rubber-1.6.7.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) DISTUTILS_USE_PEP517=hatchling inherit distutils-r1 @@ -12,7 +12,7 @@ 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 tests + # 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 @@ -93,22 +93,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 - # Fix file misplacements - dodir /usr/share/man/fr - mv "${D}"/usr/share/{doc/man-fr,man/fr/man1} || die - mv "${D}"/usr/share/{doc/man-en,man/man1} || die - mv "${D}"/usr/share/doc/{rubber.*,${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 } |