From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C945B138334 for ; Thu, 14 Feb 2019 19:45:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B79E3E086E; Thu, 14 Feb 2019 19:45:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 82D82E086E for ; Thu, 14 Feb 2019 19:45:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CD1D8335C5A for ; Thu, 14 Feb 2019 19:45:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D199B50D for ; Thu, 14 Feb 2019 19:45:37 +0000 (UTC) From: "Andreas K. Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas K. Hüttel" Message-ID: <1550173518.4ef37e901a66af73e723c1434a63a7294ef8a5b8.dilfridge@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tex/revtex/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-tex/revtex/Manifest dev-tex/revtex/metadata.xml dev-tex/revtex/revtex-4.2c.ebuild X-VCS-Directories: dev-tex/revtex/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: 4ef37e901a66af73e723c1434a63a7294ef8a5b8 X-VCS-Branch: master Date: Thu, 14 Feb 2019 19:45:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a1db8037-a095-49cb-bcfb-92a5bf23c033 X-Archives-Hash: 35fc0cc12f907e77f5337e8f0b0e9657 commit: 4ef37e901a66af73e723c1434a63a7294ef8a5b8 Author: Andreas K. Hüttel gentoo org> AuthorDate: Thu Feb 14 19:43:04 2019 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Thu Feb 14 19:45:18 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ef37e90 dev-tex/revtex: Revive. A new version is out. \o/ Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Andreas K. Hüttel gentoo.org> dev-tex/revtex/Manifest | 1 + dev-tex/revtex/metadata.xml | 13 ++++++++ dev-tex/revtex/revtex-4.2c.ebuild | 62 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 76 insertions(+) diff --git a/dev-tex/revtex/Manifest b/dev-tex/revtex/Manifest new file mode 100644 index 00000000000..287a0ca210f --- /dev/null +++ b/dev-tex/revtex/Manifest @@ -0,0 +1 @@ +DIST revtex-4.2c.zip 3258548 BLAKE2B 8a457594c22dfee9becd18d2c26c0182d8eee51d549a85c5bc4ddaf122a1a06b835ca1f31a61de1bf194e4aeac7dafd25f9bf120c786356b773130f036de67e7 SHA512 9cb8287de61a49a35b18f6873ac3007eea3373c4836edd696d04d49ece297727d9aae614a6ba0f2aa03d5cf2430a2f02f674d342a092f1acb862b8ffdbf5cea9 diff --git a/dev-tex/revtex/metadata.xml b/dev-tex/revtex/metadata.xml new file mode 100644 index 00000000000..7a7c477125c --- /dev/null +++ b/dev-tex/revtex/metadata.xml @@ -0,0 +1,13 @@ + + + +dilfridge@gentoo.org + +tex@gentoo.org +Gentoo TeX Project + + +sci@gentoo.org +Gentoo Science Project + + diff --git a/dev-tex/revtex/revtex-4.2c.ebuild b/dev-tex/revtex/revtex-4.2c.ebuild new file mode 100644 index 00000000000..5d279a81d34 --- /dev/null +++ b/dev-tex/revtex/revtex-4.2c.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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://mirrors.ctan.org/macros/latex/contrib/revtex.zip -> ${P}.zip" + +LICENSE="LPPL-1.3c" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=">=dev-texlive/texlive-latex-2012" +DEPEND="${RDEPEND} + app-arch/unzip +" + +IUSE="doc" + +S="${WORKDIR}/${PN}" + +TEXMF=/usr/share/texmf-site + +src_prepare(){ + default + find "${S}" -name '*4-1*' -delete || die + find "${S}" -name reftest4-2.tex -delete || die +} + +src_compile(){ + cd "${S}/source" || die + + for name in *.dtx; do + tex $name || die + done + latex-package_src_compile + + cd "${S}/bibtex" || die + latex-package_src_compile +} + +src_install() { + cd "${S}/source" + + use doc && rm -f aip.dtx # fails to build docs + + 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 + done + + cd "${S}/bibtex" || die + latex-package_src_install + + find "${D}" -name aip4-1.rtx -delete || die +}