1 |
commit: 7a74e3bb9f625cc8b26089cc2fad4a9cc1b95ad8 |
2 |
Author: Florian Schmaus <flo <AT> geekplace <DOT> eu> |
3 |
AuthorDate: Wed Sep 30 18:34:17 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 3 09:05:02 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a74e3bb |
7 |
|
8 |
dev-tex/rubber: add ebuild for version 1.6.0-alpha1 |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
11 |
Signed-off-by: Florian Schmaus <flo <AT> geekplace.eu> |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
dev-tex/rubber/Manifest | 1 + |
15 |
dev-tex/rubber/rubber-1.6.0_alpha1.ebuild | 97 ++++++++++++++++++++++++++++ |
16 |
profiles/arch/powerpc/ppc32/package.use.mask | 5 ++ |
17 |
3 files changed, 103 insertions(+) |
18 |
|
19 |
diff --git a/dev-tex/rubber/Manifest b/dev-tex/rubber/Manifest |
20 |
index 27a5b7300ac..2ed8104fdd6 100644 |
21 |
--- a/dev-tex/rubber/Manifest |
22 |
+++ b/dev-tex/rubber/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST rubber-1.5.1.tar.gz 111812 BLAKE2B 4d08527689d669e3ac8dd6e9050fc09766bfb46c53d9923ce10efc0aaf8a62a962cb2f1c27a0e7a19a9be96710edba923d93589d816aa22305eec33fd08aa08c SHA512 ba22eeddc24b4f9abf0bf087604a4261add648877ec558b766555de09538cd20c21c8cfd9731c1421540bb2479501dd6ed066346d250c6bc981529e31efacc40 |
25 |
+DIST rubber-1.6.0-alpha1.tar.bz2 97809 BLAKE2B f2b37c33b6d7ab105b2567ff0b70c5c11333dc76fd633005ae8e1ca36b91e5579a3f75d1c4312b343cffaeff74d65e1046642ea78738b6b1126d3b05b2534ec7 SHA512 7ccc367929c09e01ce8458de5b3e8596cbb549026e7a917a0959733ae63398e903dd3bbcb22493d46073771fb70049207036260104f24693c4a1736e0d534e67 |
26 |
|
27 |
diff --git a/dev-tex/rubber/rubber-1.6.0_alpha1.ebuild b/dev-tex/rubber/rubber-1.6.0_alpha1.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..630795cc124 |
30 |
--- /dev/null |
31 |
+++ b/dev-tex/rubber/rubber-1.6.0_alpha1.ebuild |
32 |
@@ -0,0 +1,97 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python3_{6,7,8,9} ) |
39 |
+DISTUTILS_USE_SETUPTOOLS="no" |
40 |
+ |
41 |
+inherit distutils-r1 |
42 |
+ |
43 |
+if [[ ${PV} == "9999" ]] || [[ -n "${EGIT_COMMIT_ID}" ]]; then |
44 |
+ inherit git-r3 |
45 |
+ EGIT_REPO_URI="https://gitlab.com/latex-rubber/${PN}.git" |
46 |
+else |
47 |
+ UPSTREAM_PV=$(ver_rs 3 -) |
48 |
+ S="${WORKDIR}/${PN}-${UPSTREAM_PV}" |
49 |
+ SRC_URI="https://gitlab.com/latex-rubber/${PN}/-/archive/${UPSTREAM_PV}/${PN}-${UPSTREAM_PV}.tar.bz2" |
50 |
+ KEYWORDS="~amd64 ~ppc ~x86" |
51 |
+fi |
52 |
+ |
53 |
+DESCRIPTION="A LaTeX wrapper for automatically building documents" |
54 |
+HOMEPAGE="https://gitlab.com/latex-rubber/rubber" |
55 |
+ |
56 |
+LICENSE="GPL-3+" |
57 |
+SLOT="0" |
58 |
+ |
59 |
+IUSE="test" |
60 |
+RESTRICT="!test? ( test )" |
61 |
+ |
62 |
+RDEPEND="virtual/latex-base" |
63 |
+ |
64 |
+# Test dependencies: |
65 |
+# - app-text/texlive-core for rubber's 'cweave' test |
66 |
+# - dev-lang/R for rubber's 'knitr' test (requires knitr R library, currently disabled) |
67 |
+# - dev-texlive/texlive-latexextra for rubber's 'combine' test (currently disabled) |
68 |
+BDEPEND=" |
69 |
+ ${RDEPEND} |
70 |
+ virtual/texi2dvi |
71 |
+ test? ( |
72 |
+ app-text/texlive-core |
73 |
+ dev-texlive/texlive-latexextra |
74 |
+ media-gfx/asymptote |
75 |
+ dev-tex/pythontex |
76 |
+ ) |
77 |
+" |
78 |
+src_install() { |
79 |
+ insinto /usr/share/zsh/site-functions |
80 |
+ newins misc/zsh-completion _rubber |
81 |
+ |
82 |
+ distutils-r1_src_install |
83 |
+} |
84 |
+ |
85 |
+python_install() { |
86 |
+ local my_install_args=( |
87 |
+ --mandir="${EPREFIX}/usr/share/man" |
88 |
+ --infodir="${EPREFIX}/usr/share/info" |
89 |
+ --docdir="${EPREFIX}/usr/share/doc/${PF}" |
90 |
+ ) |
91 |
+ |
92 |
+ distutils-r1_python_install "${my_install_args[@]}" |
93 |
+} |
94 |
+ |
95 |
+src_test() { |
96 |
+ cd tests || die |
97 |
+ |
98 |
+ # Disable the broken 'combine' test as it uses the 'combine' as a |
99 |
+ # latex package when it is only a document class (probably only in |
100 |
+ # newer versions of combine). Also note that this tests works |
101 |
+ # under debian 'buster'. TODO: Look into potential modifications |
102 |
+ # done by debian. |
103 |
+ touch combine/disable || die |
104 |
+ |
105 |
+ # This test does not work under Gentoo nor Debian 'buster'. |
106 |
+ # TODO: Investigate why it does not work. |
107 |
+ touch cweb-latex/disable || die |
108 |
+ |
109 |
+ # TODO: Investigate why the following are failing. |
110 |
+ touch fig2dev-dvi/disable || die |
111 |
+ touch fig2dev-path/disable || die |
112 |
+ touch fig2dev-path-inplace/disable || die |
113 |
+ touch fig2dev-path-into/disable || die |
114 |
+ touch graphicx-dotted-files/disable || die |
115 |
+ touch hooks-input-file/disable || die |
116 |
+ touch knitr/disable || die |
117 |
+ |
118 |
+ # Even tough metapost is available, those tests fail on Gentoo |
119 |
+ # (while they succeed on Debian 'buster'). |
120 |
+ # TODO: Determine why. |
121 |
+ # ERROR:mpost:I can't read MetaPost's log file, this is wrong. |
122 |
+ touch metapost/disable || die |
123 |
+ # expected error message not reported by Rubber |
124 |
+ touch metapost-error/disable || die |
125 |
+ # ERROR:mpost:I can't read MetaPost's log file, this is wrong. |
126 |
+ touch metapost-input/disable || die |
127 |
+ |
128 |
+ ./run.sh * || die |
129 |
+} |
130 |
|
131 |
diff --git a/profiles/arch/powerpc/ppc32/package.use.mask b/profiles/arch/powerpc/ppc32/package.use.mask |
132 |
index 08c2d4ed93c..4f6b100665d 100644 |
133 |
--- a/profiles/arch/powerpc/ppc32/package.use.mask |
134 |
+++ b/profiles/arch/powerpc/ppc32/package.use.mask |
135 |
@@ -1,6 +1,11 @@ |
136 |
# Copyright 1999-2020 Gentoo Authors |
137 |
# Distributed under the terms of the GNU General Public License v2 |
138 |
|
139 |
+# Florian Schmaus <flo@×××××××××.eu> (2020-12-03) |
140 |
+# Rubber's testsuite depends on media-gfx/asymptote and |
141 |
+# dev-tex/pythontex which are not keyworded on ppc. |
142 |
+dev-tex/rubber test |
143 |
+ |
144 |
# Cédric Krier <cedk@g.o> (2020-11-10) |
145 |
# virtual/rust has no ppc keyword |
146 |
dev-vcs/mercurial rust |