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