diff options
Diffstat (limited to 'dev-tex')
-rw-r--r-- | dev-tex/Manifest.gz | bin | 6342 -> 6349 bytes | |||
-rw-r--r-- | dev-tex/latex2html/Manifest | 2 | ||||
-rw-r--r-- | dev-tex/latex2html/latex2html-2022.ebuild | 82 | ||||
-rw-r--r-- | dev-tex/lgrind/Manifest | 2 | ||||
-rw-r--r-- | dev-tex/lgrind/lgrind-3.67-r3.ebuild | 4 | ||||
-rw-r--r-- | dev-tex/pythontex/Manifest | 2 | ||||
-rw-r--r-- | dev-tex/pythontex/pythontex-0.18.ebuild | 52 |
7 files changed, 141 insertions, 3 deletions
diff --git a/dev-tex/Manifest.gz b/dev-tex/Manifest.gz Binary files differindex 8d02d11d14db..6acf55ab042b 100644 --- a/dev-tex/Manifest.gz +++ b/dev-tex/Manifest.gz diff --git a/dev-tex/latex2html/Manifest b/dev-tex/latex2html/Manifest index c26047bfb070..e296e2ccab5d 100644 --- a/dev-tex/latex2html/Manifest +++ b/dev-tex/latex2html/Manifest @@ -3,7 +3,9 @@ AUX latex2html-2021.2-respect-DESTDIR.patch 759 BLAKE2B e44fa0a31c248a55a1da9d26 AUX latex2html-destdir.patch 703 BLAKE2B 47693763782d056eef223856a679112fe0989379e589f0b9d891f7dcd6b2b316de7a5d631c0b089709122d844f08ae268cb496055726abcee01ffece268640e8 SHA512 dbc4e9272ed54949fa34da8fd4b0e15db646461ef564e65d7b4a20dd89425227b93987a2a214ec57984b200135085b6456d758efd2faffd89c16d305d315d744 DIST latex2html-2021.2.tar.gz 1139791 BLAKE2B 4fa9b45a33dbfb5c9e3bb45ebab19edb5d7a1d9c882ab30e75afbda7ad902cf519403b685f1f30b69b3d6ec976aa72b3065851b6d24b00c2e626e496ea8afd79 SHA512 b8d742b427e833f732457194cc60c043f750d202c46fb0d1d4e46df8e6d4dabacb5b474084aec46aa4eed68ee0249f3c0b053b5446401d09034e7f59148ad18a DIST latex2html-2021.tar.gz 1130224 BLAKE2B c3775b2546a866834c0ed94362a428f2cfe48e8fe7337261993fe1f473350ddb778c50cc4393fe33c9f3829e5dc6f5c0ef43ae6a4c21481746023ef5939308da SHA512 f1f087a58911410b3ca9f4b60149b66d17608a9a56d0e8f74f08e6d6595e3e9c4f5378a7ab5cfc7488cd182a0dc3d4c151283b57636a70271c7f734e69ed0608 +DIST latex2html-2022.tar.gz 1140425 BLAKE2B fffe35d95c3934f428bf18833536a70b42fd12890d5b305976167b5957a0c370ac613d7d6fb675527d5b41ea25eb88bb982ec2a5e71c4d87ec559b1a8e781010 SHA512 a8b35868bc317e52614dc8d748e5d5334b81f068769aa8973b10708b2c8ac15129e2844f4fdb0def7ec14a9557257bb8962962280717b4d04c16ab9e760bb089 EBUILD latex2html-2021.2-r2.ebuild 2088 BLAKE2B dcd62d665cfc367237222e9f42f724b2183b65c84d01639ebe7b1d68d3f5b1857175287c09c2153dcb388d7976ca9bffc55a225d939d3f1c12e35fb9047b2ce7 SHA512 e47cce87c0fb2cb5eac24b50541296b9fbaf2c2373bd7402788eaef4b4294a83c927e546f0e8f4f29d1c189ddf420731ebb8cab3f51bd103d03d2921c1c18002 EBUILD latex2html-2021.2.ebuild 2028 BLAKE2B 9aa1e238f2e40d53f09f8091e10a6e6957f52a9f54e9f3c6139f96fefe44bda754800da8b155f2e2afa6090869ff28ea2e806d73bc345197fb426bd2e116d184 SHA512 874fa5347f8b4358d8fb41e7b7360fe6b5919389e8a6b10bed06fbf4db6f1e876edd4275a3db610d85c73fbac0a6dbbbb96d0d3c66332f677fa76cfc7131fb5f EBUILD latex2html-2021.ebuild 2018 BLAKE2B ab991b45083b57b126b6a02ee68c6ff631466e223502b9135e0e55abf87eed4772ecdb5686b0184e46629c30e96e0bf374b520d159b98c91fa0b7fc4b6f444a2 SHA512 396be78bd9ff43572f806cd2cd3f0ae7ab6eeca3eb4c1513c8ff35c480f5701a2733ef6f4a80cd0b506c845f45e3fe575cf53196469d42ec9de9b6f6b0b43e0d +EBUILD latex2html-2022.ebuild 2084 BLAKE2B 51f669ed6b3a85524b349a03b9e3f863d08f53c83f986bd1f4ffaee0494c7ba78e8637eda93f71cd778ef355a2530db7bb180e3bf7a6bbf3c778d7ef4bf1f764 SHA512 465c1a62de75e68d66b0a49568ec15e3ca747c90efb92b7ffabe7bbb9c587704f3cc03dd4784d3e9265c9b19b62fa5c06f51f643102b1b351ca8a63f1d79b89f MISC metadata.xml 343 BLAKE2B 558686c939b58e821fcda11117e4f65bfc6965642528ec3cf7b4e86ade37730ee8aa2ef00902893ad82c47eaeefdf5a30d96f760e21a99bc701cd1c4e83c1e15 SHA512 fb0a0f1b8f96781f5e188f9d6f1662597f3b2c3a81d1130b35790bbb5358afcf6ee7f71832ba97265220e760bca98d4c3395c1e24b7354170d22ae1f46970330 diff --git a/dev-tex/latex2html/latex2html-2022.ebuild b/dev-tex/latex2html/latex2html-2022.ebuild new file mode 100644 index 000000000000..f377156d806f --- /dev/null +++ b/dev-tex/latex2html/latex2html-2022.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Convertor written in Perl that converts LaTeX documents to HTML" +HOMEPAGE="https://www.latex2html.org/" +SRC_URI="https://github.com/latex2html/latex2html/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="gif png svg" + +DEPEND=" + app-text/ghostscript-gpl + virtual/latex-base + >=media-libs/netpbm-10.86.24 + dev-lang/perl + gif? ( media-libs/giflib ) + png? ( media-libs/libpng:0 ) + svg? ( app-text/poppler[cairo] )" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-2021.2-respect-DESTDIR.patch +) + +src_prepare() { + default + + sed -i -e 's%@PERL@%'"${EPREFIX}"'/usr/bin/perl%g' wrapper/unix.pin || die +} + +src_configure() { + local myconf + + use gif || use png || myconf+=" --disable-images" + + econf \ + --libdir="${EPREFIX}"/usr/$(get_libdir)/latex2html \ + --shlibdir="${EPREFIX}"/usr/$(get_libdir)/latex2html \ + --enable-pk \ + --enable-eps \ + --enable-reverse \ + --enable-pipes \ + --enable-paths \ + --enable-wrapper \ + --with-texpath="${EPREFIX}"/usr/share/texmf-site/tex/latex/html \ + --without-mktexlsr \ + $(use_enable gif) \ + $(use_enable png) \ + ${myconf} +} + +src_install() { + emake DESTDIR="${D}" install + + # make /usr/share/latex2html sticky + keepdir /usr/share/latex2html + + # clean the perl scripts up to remove references to the sandbox + local dir="${ED}/usr/$(get_libdir)/latex2html" + if use png || use gif; then + # pstoimg isn't built unless gif or png useflags are enabled + sed -i -e "s:${T}:/tmp:g" "${dir}"/pstoimg.pl || die + fi + + sed -i -e "s:${S}::g" "${dir}"/latex2html.pl || die + sed -i -e "s:${T}:/tmp:g" "${dir}"/cfgcache.pm || die + sed -i -e "s:${T}:/tmp:g" "${dir}"/l2hconf.pm || die + + dodoc BUGS Changes FAQ MANIFEST README.md TODO +} + +pkg_postinst() { + "${EROOT}"/usr/bin/mktexlsr +} + +pkg_postrm() { + "${EROOT}"/usr/bin/mktexlsr +} diff --git a/dev-tex/lgrind/Manifest b/dev-tex/lgrind/Manifest index aef251dacd45..a2096f8f4621 100644 --- a/dev-tex/lgrind/Manifest +++ b/dev-tex/lgrind/Manifest @@ -1,4 +1,4 @@ AUX lgrind-3.67-fgets.patch 530 BLAKE2B 4865cc198841f075af91d76aab3f5fa4771bc21ea909bd4288a456b9a0d0a3d08800a92c546d93c02631930e43375411302a2bb844f1bde2ae7c81c0ced87f9a SHA512 cb16d6e43240be974e5833618f8539e9155f70f7c0f47c83124e79de71cbe9545bfefcb0078c8c6017b27f1aef709957cbdaeae2995bf66a2cc6bb93fe1a8a32 DIST lgrind-3.67.tgz 73205 BLAKE2B f19c5ed96251a4c9e5b8ec2cc2115a2b3581c067c26468dc80bfbeece1cb40f72964d60115221c52ab6c0067d670d6497c26eabc3743573248c77e63df24d416 SHA512 89dffec60b6cbac82e9633690412961cb619d6d86d39bea2fb6f3026e1317eb00494d7ed68865a943b1872346eaecdc1b8502de41517023a47309e1e803da2c6 -EBUILD lgrind-3.67-r3.ebuild 1177 BLAKE2B c61ade32f0045779aab20412656365b45a926e27e1f7f5bdd4bcfa23440d63cdc5e9a309d38be95b6fbc02eb9a76aad02ec2c1a633a10aea6839e48b4147163a SHA512 35c58f202b1ad192cde5285c1d7fc659b36ce8a048d5f91afd6a315aaa5c6f3044331f625459bed199165e440f0e0a5e151ec7b475f0d852d73981e42e90aa35 +EBUILD lgrind-3.67-r3.ebuild 1176 BLAKE2B fbf18feacff4fa9abc1efe8084079ad24a62699639c90cc8051198c1ae06ee9b52eca26ce5cb6e18731d35cb32cd5b6c885ad4f123c6b5cdc7129a8f926c6598 SHA512 083bc9f2795b8021bf313468f7f1bc5dcf8b036b043f3dade30b51c668fd1623b1c6b02f75e9da150ef29d81353f9b77c9648ca65f40bf67822070b87925836f MISC metadata.xml 246 BLAKE2B b56c934f8eecd3492d6abe15cf5883fdbc1979c37abbc5ad196e345ee17bb865db5eab10ac7de93bbfce94c4e865bf6b86d5f8bc081b5cb1d3d58d1158b81921 SHA512 b61f56c5e078714565ff9e33c81217e788f78bae9cf10d6ca78a82703a8e08119dff3afa68306eced0b7c62db9220d28efa4c9782e943c991e30b25b9ead82f5 diff --git a/dev-tex/lgrind/lgrind-3.67-r3.ebuild b/dev-tex/lgrind/lgrind-3.67-r3.ebuild index bf0507cc8966..ad2f61a9c676 100644 --- a/dev-tex/lgrind/lgrind-3.67-r3.ebuild +++ b/dev-tex/lgrind/lgrind-3.67-r3.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 inherit latex-package toolchain-funcs -DESCRIPTION="A pretty printer for various programming languages with tex output." +DESCRIPTION="A pretty printer for various programming languages with tex output" SRC_URI="https://dev.gentoo.org/~dilfridge/distfiles/${P}.tgz" LICENSE="BSD LGrind-Jacobson" diff --git a/dev-tex/pythontex/Manifest b/dev-tex/pythontex/Manifest index a3cef2fafd3d..6eb0d3b28d5f 100644 --- a/dev-tex/pythontex/Manifest +++ b/dev-tex/pythontex/Manifest @@ -1,3 +1,5 @@ DIST pythontex-0.17.tar.gz 1800631 BLAKE2B 5c4ab31ccd890ca708142e83d047a46d704d2eaead611521a9f272f7a63cfb4016b991741c0338b1874d8cd2949c83b9c5ab59c3004e26540c171666a4f05e63 SHA512 ac248579f8645c225839ca9698b6193d2a7d8360a50e9a8406fae5616f54418a173635d1c2e8c47b18e85cdd1fa1e81c9435169c44f06fb19505c280f9bbaee5 +DIST pythontex-0.18.tar.gz 1807531 BLAKE2B 0f3293043780e93290fb9b3988513f919983a1a19c18344c6d5b1223dea40310581c0b5938da695485516648db3b23dbbef3eb40091f2ccd8f5a7576179043a7 SHA512 ad7dcb91d7df3eb37cdfaab870001f70976a55ca300c029ae931ade53103cbd71f7c3a4fa5d1360fdd1d9fc092f39c0427f13d2328033197057dcbc490d4ca7b EBUILD pythontex-0.17.ebuild 1100 BLAKE2B 640affdf4137eaedbc559897ca9deb257e76640a8cf93bd33550072a7966be1da3ecac39070c035e6d41b31fafb24147a9baa0a2839a6aba77f4c739988af565 SHA512 7c35d9fc357851299e949e8bef4638305218e9f65851f18461d95b9140d0638657bbb8fe7ca321058fdc976337b98716af4a795b05b705720de4fd5e2a3cddae +EBUILD pythontex-0.18.ebuild 1102 BLAKE2B c3d6a4c615e49716ff5bbec9b8d563256e822397dbc266b499ed816c09f8a5956d92c85f6f57e0c76664f4f6750f42ff85fd2643785029cbcbf1095811df4489 SHA512 15a0778edd1cf38ae1f34387cb8de0410400a1ae38aaf24ffef97ed9b5af0720a302b23cdd118731a60a6779a8092e940c828e31117c3c456d4719219ca41aa8 MISC metadata.xml 481 BLAKE2B a2f7635ff8274af4b35ebbab9e56ebf8d66375b0bf29103a82960aaebeea8a2a477b16468ebd5c74193983f3086416d2b80cc32829be7640e4af040e5ebe7065 SHA512 dece9e9c55b7f176030ae1f1d9f85a5ca57bb15f70504492e49e77d62a0d09bd732f6e3112b5e3ecafe5476d2b44935d60924cecb165a4b71ebe6303240e0481 diff --git a/dev-tex/pythontex/pythontex-0.18.ebuild b/dev-tex/pythontex/pythontex-0.18.ebuild new file mode 100644 index 000000000000..9c876cfd094a --- /dev/null +++ b/dev-tex/pythontex/pythontex-0.18.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit latex-package python-r1 + +DESCRIPTION="Fast Access to Python from within LaTeX" +HOMEPAGE="https://github.com/gpoore/pythontex" +SRC_URI="https://github.com/gpoore/pythontex/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="LPPL-1.3 BSD" +KEYWORDS="~amd64 ~ppc ~riscv ~x86" +IUSE="doc highlighting" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS} + >=dev-texlive/texlive-latexextra-2016 + dev-tex/pgf +" +RDEPEND="${DEPEND} + dev-python/pygments[${PYTHON_USEDEP}] +" + +TEXMF=/usr/share/texmf-site + +src_compile() { + cd ${PN} || die + rm ${PN}.sty || die + VARTEXFONTS="${T}/fonts" latex ${PN}.ins extra || die +} + +src_install() { + dodoc *rst + use doc && dodoc ${PN}_quickstart/*pdf ${PN}/*pdf + + cd ${PN} || die + + installation() { + python_domodule {de,}${PN}3.py + python_domodule ${PN}_{engines,utils}.py + python_doscript {de,}${PN}.py syncpdb.py + python_optimize + } + python_foreach_impl installation + + latex-package_src_doinstall sty +} |