Gentoo Archives: gentoo-commits

From: gerion <gerion.entrup@×××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/user/gerislay:master commit in: dev-tex/pgf/
Date: Mon, 06 Dec 2021 20:05:34
Message-Id: 1638674557.35cf493ac4c80b0c3eb1cc1d40e35b045cb15126.gerion@gentoo
1 commit: 35cf493ac4c80b0c3eb1cc1d40e35b045cb15126
2 Author: Gerion Entrup <gerion.entrup <AT> flump <DOT> de>
3 AuthorDate: Sun Dec 5 03:21:57 2021 +0000
4 Commit: gerion <gerion.entrup <AT> flump <DOT> de>
5 CommitDate: Sun Dec 5 03:22:37 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/user/gerislay.git/commit/?id=35cf493a
7
8 dev-tex/pgf: add 3.1.9a
9
10 Not mine, taken from Horst Prote:
11 https://bugs.gentoo.org/806677
12
13 Signed-off-by: Gerion Entrup <gerion.entrup <AT> flump.de>
14
15 dev-tex/pgf/Manifest | 3 +++
16 dev-tex/pgf/metadata.xml | 11 +++++++++++
17 dev-tex/pgf/pgf-3.1.9a.ebuild | 41 +++++++++++++++++++++++++++++++++++++++++
18 3 files changed, 55 insertions(+)
19
20 diff --git a/dev-tex/pgf/Manifest b/dev-tex/pgf/Manifest
21 new file mode 100644
22 index 0000000..ffe704c
23 --- /dev/null
24 +++ b/dev-tex/pgf/Manifest
25 @@ -0,0 +1,3 @@
26 +DIST pgf-3.1.9a-pgfmanual.pdf 10185873 BLAKE2B b4be2357eaa99d9db140172ae760acd157d02ae2def6d1cc3032ed998190231b67b5f8d80035feb54bf6552d4c4b14b2ba1247506feb0ce8334a43faab599d6f SHA512 84d90419f9fb4444765c5c76d42d74529ba3f716aadf99a723dc9c55c65511f1de6d8a56fff2d26dba3d3e6b26821e33da55c19e571a2130e5f389c4d3c88747
27 +EBUILD pgf-3.1.9a.ebuild 1076 BLAKE2B 66d13560d1fa6dc1c4da27abc216c458041e8687023fcec0e03429981b228ddc637ef0f48623f7daddbca18241094cd4f4ee67c7962530181026a7ac9637cc36 SHA512 f5abcf5693873373facbb71d2d67ad04bed17c34e8cbc5933ff31d98710db911332c3363637927b704a57ae5b8dc1751ba461a85836dca52357712fe788ad4dc
28 +MISC metadata.xml 323 BLAKE2B cf2d553c616c7147e6be3845463fd5b14746b87d69d1a1f55d0faaad714f8c5b0be10c3934a47445f6df60dcdf3224a8ce9c3791fa819b359ea8eed9a9656ca5 SHA512 850867851d32e624887eeab1ad3916364d81e135fe96cf2d70ae6027c123b3682c59559aab1d7c70e5dc807a4bb373fe4321d26acb174e5c3a6aa153fafbfe86
29
30 diff --git a/dev-tex/pgf/metadata.xml b/dev-tex/pgf/metadata.xml
31 new file mode 100644
32 index 0000000..66fdf68
33 --- /dev/null
34 +++ b/dev-tex/pgf/metadata.xml
35 @@ -0,0 +1,11 @@
36 +<?xml version="1.0" encoding="UTF-8"?>
37 +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
38 +<pkgmetadata>
39 + <maintainer type="project">
40 + <email>tex@g.o</email>
41 + <name>Gentoo TeX Project</name>
42 + </maintainer>
43 + <upstream>
44 + <remote-id type="sourceforge">pgf</remote-id>
45 + </upstream>
46 +</pkgmetadata>
47
48 diff --git a/dev-tex/pgf/pgf-3.1.9a.ebuild b/dev-tex/pgf/pgf-3.1.9a.ebuild
49 new file mode 100644
50 index 0000000..ff2001d
51 --- /dev/null
52 +++ b/dev-tex/pgf/pgf-3.1.9a.ebuild
53 @@ -0,0 +1,41 @@
54 +# Copyright 1999-2021 Gentoo Authors
55 +# Distributed under the terms of the GNU General Public License v2
56 +
57 +EAPI=7
58 +
59 +inherit git-r3 latex-package
60 +
61 +DESCRIPTION="The TeX Portable Graphic Format"
62 +HOMEPAGE="https://github.com/pgf-tikz/pgf"
63 +EGIT_REPO_URI="https://github.com/pgf-tikz/pgf.git"
64 +EGIT_COMMIT="${PV}"
65 +SRC_URI=" doc? ( https://github.com/pgf-tikz/pgf/releases/download/${PV}/pgfmanual-${PV}.pdf -> ${P}-pgfmanual.pdf )"
66 +
67 +LICENSE="GPL-2 LPPL-1.3c FDL-1.2"
68 +SLOT="0"
69 +KEYWORDS="~amd64"
70 +IUSE="doc source"
71 +
72 +RDEPEND="dev-texlive/texlive-latexrecommended"
73 +
74 +src_install() {
75 + scripts/pgf/pgfrevisionfile.sh
76 + insinto "${TEXMF}"
77 + doins -r tex
78 +
79 + if use source ; then
80 + doins -r source
81 + fi
82 +
83 + cd "${S}/doc/generic/pgf" || die
84 + dodoc ChangeLog INSTALL RELEASE_NOTES.md description.html
85 + if use doc; then
86 + docinto texdoc
87 + # pgfmanual is now split from the main tar archive
88 + newdoc "${DISTDIR}/${P}-pgfmanual.pdf" pgfmanual.pdf
89 + doins -r images text-en licenses version-*
90 +
91 + dosym "../../../doc/${PF}/texdoc" "${TEXMF}/doc/latex/${PN}"
92 + docompress -x "/usr/share/doc/${P}/texdoc/"
93 + fi
94 +}