diff options
Diffstat (limited to 'dev-tex/revtex')
-rw-r--r-- | dev-tex/revtex/Manifest | 5 | ||||
-rw-r--r-- | dev-tex/revtex/metadata.xml | 13 | ||||
-rw-r--r-- | dev-tex/revtex/revtex-4.1_p2-r1.ebuild | 43 | ||||
-rw-r--r-- | dev-tex/revtex/revtex-4.ebuild | 37 |
4 files changed, 98 insertions, 0 deletions
diff --git a/dev-tex/revtex/Manifest b/dev-tex/revtex/Manifest new file mode 100644 index 000000000000..9433fa771360 --- /dev/null +++ b/dev-tex/revtex/Manifest @@ -0,0 +1,5 @@ +DIST revtex-4.1_p2.zip 4168885 BLAKE2B 3b0e0302ff8f7d676d319d880a6fee480e81631af24a698f733613a7b55313cb7582231ce0b90290645345ef70319d834f1c9a8ccf681d26ef9a3cbc816be7a4 SHA512 df093543af1274fd218ee9d430da76aff07174d122b446abef1bf0c0333e154bd2c4e1db06dd178c82a0f1cdf83355faffa2dee18f19d18cd7e848a06b748d2d +DIST revtex4.zip 957277 BLAKE2B 18e46aca38a6a2c7bee3af59216a7814d91170f43db46b5028fd2a363053627fc62e5f7ee0e5e6df97892c12494dd86b78b61d3fea1d91b62c410eec04010701 SHA512 816960d3f12dbdac0d9fb762ab2fff4e88fc0d436bf70101f172440b0eac90686517a3f857a6cf072b0344273b8eb3b4dd3c7c5d33c927e75183989cf14263fc +EBUILD revtex-4.1_p2-r1.ebuild 1005 BLAKE2B cc921e170ee0acadd6ec4b119331f3fb230f229e23bce84abec49533ae7b347cf76d161984cc5a3b4e244670058272099f06108e024cdffbeeb283d2acfcbd68 SHA512 142805655af38bfd13016b66c3f83d7ccbec0625cbf4f598b5edd3dbbde53347823bf476284c2e1cd5fabe645f2024b86dd62cd4f1300613c295cbe9e82dc594 +EBUILD revtex-4.ebuild 1032 BLAKE2B d3f83774cd1618059043568b35e55c2de230304a4ef3b357fc3b0d0bcbb9ced2e012529e376766af7b597adc86d5cf3a289878063ea7d17f77441c32d2657c1a SHA512 f118fb3b04bf1c6afa42e69a511c43a368cfd010d50a158e27d87dcfbfd01e47ed7e1f0a41eb80814dbafe6cd8f4a9d4706ac06124055571a75bd631403f3f74 +MISC metadata.xml 426 BLAKE2B b7bbaadff70097886d660994d254a869b6f1ee8e8f331234e7756986c17e3f9e0c7392f0d99974ee75a483d5e1bb803ea8537843b0f68fb5852fdf86e46c76e1 SHA512 7e262c95822febb3edbcbeae5789302be3119ae7d216a539546abf8c36041f38ddf6bb0540df51ef12aa9b1604fe996e9a9d7ecd0414e1944739acc1d777872f diff --git a/dev-tex/revtex/metadata.xml b/dev-tex/revtex/metadata.xml new file mode 100644 index 000000000000..7a7c477125c3 --- /dev/null +++ b/dev-tex/revtex/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"><email>dilfridge@gentoo.org</email></maintainer> +<maintainer type="project"> +<email>tex@gentoo.org</email> +<name>Gentoo TeX Project</name> +</maintainer> +<maintainer type="project"> +<email>sci@gentoo.org</email> +<name>Gentoo Science Project</name> +</maintainer> +</pkgmetadata> diff --git a/dev-tex/revtex/revtex-4.1_p2-r1.ebuild b/dev-tex/revtex/revtex-4.1_p2-r1.ebuild new file mode 100644 index 000000000000..7c1b8b11ebb7 --- /dev/null +++ b/dev-tex/revtex/revtex-4.1_p2-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=2 + +inherit versionator latex-package + +MY_P="${PN}$(version_format_string '$1-$2')" + +DESCRIPTION="LaTeX2e macros to prepare manuscripts for the journals of the APS and AIP" +HOMEPAGE="https://journals.aps.org/revtex" +SRC_URI="http://authors.aps.org/revtex4/${MY_P}.zip -> ${P}.zip" + +LICENSE="LPPL-1.3c" +SLOT="0" +KEYWORDS="amd64 x86" + +RDEPEND=">=dev-texlive/texlive-latex-2012" +DEPEND="app-arch/unzip" + +IUSE="doc" + +S="${WORKDIR}/${MY_P}" + +TEXMF=/usr/share/texmf-site +# Bug #574350 +LATEX_PACKAGE_SKIP="reftest4-1.tex 00readme.tex aip.dtx ltxgrid.dtx ltxdocext.dtx" + +src_unpack() { + default + cd "${S}" + unzip -o -j "${S}/${MY_P}-tds.zip" +} + +src_install() { + latex-package_src_install + + # we need the revtex-specific rtx files in the same dir as the class files + insinto ${TEXMF}/tex/latex/${PN} + for i in `find . -maxdepth 1 -type f -name "*.rtx"` ; do + doins $i || die "doins $i failed" + done +} diff --git a/dev-tex/revtex/revtex-4.ebuild b/dev-tex/revtex/revtex-4.ebuild new file mode 100644 index 000000000000..a424685b456d --- /dev/null +++ b/dev-tex/revtex/revtex-4.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit latex-package + +DESCRIPTION="LaTeX2e macros to prepare manuscripts for the journals of the APS and AIP" +HOMEPAGE="https://journals.aps.org/revtex" +SRC_URI="http://publish.aps.org/files/revtex/4/revtex4.zip" + +LICENSE="LPPL-1.3c" +SLOT="4" +KEYWORDS="~amd64 ~x86" + +RDEPEND=">=dev-texlive/texlive-latex-2012" +DEPEND="app-arch/unzip" + +IUSE="" + +S="${WORKDIR}/revtex4/src" + +TEXMF=/usr/share/texmf-site + +src_install() { + latex-package_src_install + + # we need the revtex-specific rtx files in the same dir as the class files + insinto ${TEXMF}/tex/latex/${PN} + for i in `find . -maxdepth 1 -type f -name "*.rtx"` ; do + doins $i || die "doins $i failed" + done + + # remove duplicate docu files to allow concurrent install with revtex-4.1 + rm -fv "${ED}/${TEXMF}/doc/latex/revtex/"{ltxdocext.pdf,ltxgrid.pdf,ltxutil.pdf,ltxutil.dvi} + rm -fv "${ED}/usr/share/doc/${P}/"{textcase.dvi,revtex4.dvi,ltxgrid.dvi,ltxdocext.dvi} +} |