1 |
commit: fb2e14e44961c2471537744518812d0f82913a39 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 18 17:58:26 2019 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 18 17:59:37 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb2e14e4 |
7 |
|
8 |
dev-tex/pgf: ship revision macro (v3.1.4b) |
9 |
|
10 |
upstream now ships revision macros separately |
11 |
|
12 |
Bug: https://bugs.gentoo.org/692452 |
13 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
14 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
15 |
|
16 |
dev-tex/pgf/Manifest | 1 + |
17 |
dev-tex/pgf/pgf-3.1.4b-r1.ebuild | 43 ++++++++++++++++++++++++++++++++++++++++ |
18 |
2 files changed, 44 insertions(+) |
19 |
|
20 |
diff --git a/dev-tex/pgf/Manifest b/dev-tex/pgf/Manifest |
21 |
index 462b15f52c5..6a6acfdbbe5 100644 |
22 |
--- a/dev-tex/pgf/Manifest |
23 |
+++ b/dev-tex/pgf/Manifest |
24 |
@@ -1,4 +1,5 @@ |
25 |
DIST pgf-3.1.4-pgfmanual.pdf 10376398 BLAKE2B 4e45a0d69000d1f89a995f3e5e9295b82a79af5cfd5863aba4f1fd9c3b40d05f2f07b6fc2b34a933136448728aea3dfacc4943fd013896cd4cfe52c9dc8aa3c3 SHA512 a2b934d6e9836fce0a731d238b713ebdc3764e8aa76ea4c7fd54c88f59f31fe17f8c306b6a381adc73becb410e0c6350427112e5d46ae762665fc73fcdca54a0 |
26 |
DIST pgf-3.1.4.tar.gz 2426346 BLAKE2B 44d1c709774586b4de81def3d4e7133d147e9e3c1b69078789c8f62378b97a6fc6cfbd580a5f1d292190282dbec5ca4f080d4567b2e1fa526909f08e07169547 SHA512 472ffca8f465bfb5f98cbe0880887afc5b9043bfc878aa8f64a79970502546cc3e0901010b8662aa582af9bc4a90b622ade828c075396542a1e2ee7af694181c |
27 |
DIST pgf-3.1.4b-pgfmanual.pdf 10371181 BLAKE2B c619e56fd184fea8761175efed7130b37b10f719e04e87b40448a0a72641f2b7c6be0270ae0c2386d91caf06d9cd46f8eb3eb9293d8ff46d8f4a8400662cc1d8 SHA512 f18e836774b8ad8d7a2adb1c876e529240907b9a9c695ab6366d4bc321766106ced3085dc0d17394d6c19654a2232e10d782e93152c075f7915ffb2f0e09b680 |
28 |
+DIST pgf-3.1.4b-revisioned.xz 244 BLAKE2B b394702704aa5b16549df795bc4cf04e5a81839a7694a1773dee89f4db66a286a276e48bf080f82e4fe3e55e3a6bf3983394ed84a83a372becc5b8f0738162a7 SHA512 4f5ca04317e58a191eaf7225fdd9a2ff70ad80d601951be98870f77da598ba559b464e2bd0ca4f03cf54c0ccd536925deb8bd6061b9464b36a883727ae85dc40 |
29 |
DIST pgf-3.1.4b.tar.gz 2426541 BLAKE2B 91f1b0ea1f2f3526da6a57cd2deec76b49b4204047b9dcdbeb064db48357055324ffe83bb5bd09dd8931a9c8e8768305a72b82ec77257e20badc543a5ca803b8 SHA512 4ba8d9c70d573ff69128d41b20525badf3a3bd0bbbf76ef3c2f2e54ccc05bc0bf1da1f20102df04f8188fe1733d469965228445e6c4af0611c2aa5737ed72180 |
30 |
|
31 |
diff --git a/dev-tex/pgf/pgf-3.1.4b-r1.ebuild b/dev-tex/pgf/pgf-3.1.4b-r1.ebuild |
32 |
new file mode 100644 |
33 |
index 00000000000..34329e0d138 |
34 |
--- /dev/null |
35 |
+++ b/dev-tex/pgf/pgf-3.1.4b-r1.ebuild |
36 |
@@ -0,0 +1,43 @@ |
37 |
+# Copyright 1999-2019 Gentoo Authors |
38 |
+# Distributed under the terms of the GNU General Public License v2 |
39 |
+ |
40 |
+EAPI=7 |
41 |
+ |
42 |
+inherit latex-package |
43 |
+ |
44 |
+DESCRIPTION="The TeX Portable Graphic Format" |
45 |
+HOMEPAGE="https://github.com/pgf-tikz/pgf" |
46 |
+SRC_URI=" https://github.com/pgf-tikz/pgf/archive/${PV}.tar.gz -> ${P}.tar.gz |
47 |
+ https://dev.gentoo.org/~zlogene/distfiles/${CATEGORY}/${PN}/${P}-revisioned.xz |
48 |
+ doc? ( https://github.com/pgf-tikz/pgf/releases/download/${PV}/pgfmanual.pdf -> ${P}-pgfmanual.pdf )" |
49 |
+ |
50 |
+LICENSE="GPL-2 LPPL-1.3c FDL-1.2" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
53 |
+IUSE="doc source" |
54 |
+ |
55 |
+RDEPEND="dev-texlive/texlive-latexrecommended |
56 |
+ dev-tex/xcolor" |
57 |
+ |
58 |
+src_install() { |
59 |
+ insinto "${TEXMF}" |
60 |
+ doins -r tex |
61 |
+ insinto "${TEXMF}"/tex/generic/${PN} |
62 |
+ newins "${WORKDIR}"/${P}-revisioned pgf.revision.tex |
63 |
+ |
64 |
+ if use source ; then |
65 |
+ doins -r source |
66 |
+ fi |
67 |
+ |
68 |
+ cd "${S}/doc/generic/pgf" || die |
69 |
+ dodoc AUTHORS ChangeLog README |
70 |
+ if use doc; then |
71 |
+ insinto /usr/share/doc/${PF}/texdoc |
72 |
+ # pgfmanual is now split from the main tar archive |
73 |
+ newdoc "${DISTDIR}/${P}-pgfmanual.pdf" pgfmanual.pdf |
74 |
+ doins -r images macros text-en version-* |
75 |
+ |
76 |
+ dosym "/usr/share/doc/${PF}/texdoc" "${TEXMF}/doc/latex/${PN}" |
77 |
+ docompress -x "/usr/share/doc/${PF}/texdoc/" |
78 |
+ fi |
79 |
+} |