1 |
commit: 0fe1e1c5f54f25ca7205c94c5522c54e977f8c46 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun May 8 01:36:11 2022 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Sun May 8 01:58:08 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0fe1e1c5 |
7 |
|
8 |
dev-octave/matlab2tikz: new package, add 1.1.0 |
9 |
|
10 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
11 |
|
12 |
dev-octave/matlab2tikz/Manifest | 1 + |
13 |
dev-octave/matlab2tikz/matlab2tikz-1.1.0.ebuild | 30 +++++++++++++++++++++++++ |
14 |
dev-octave/matlab2tikz/metadata.xml | 12 ++++++++++ |
15 |
3 files changed, 43 insertions(+) |
16 |
|
17 |
diff --git a/dev-octave/matlab2tikz/Manifest b/dev-octave/matlab2tikz/Manifest |
18 |
new file mode 100644 |
19 |
index 000000000..8d30764f8 |
20 |
--- /dev/null |
21 |
+++ b/dev-octave/matlab2tikz/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST matlab2tikz-1.1.0.tar.gz 178123 BLAKE2B 6cbc85863f5ca0e1868995b80af82ee92775d2d147049efd3774a8536d9c542f75006b742226fd50852ffe58fc79c83f6d2e215e99ba04eef0b0c0078034a1f6 SHA512 be007d294947841adb322ddf311bab9f3e151e776d9314978a2d32effe4d236591c979eb7ba1410231a1b8618c12148a90f10530a9273905561e7d7caf9de280 |
24 |
|
25 |
diff --git a/dev-octave/matlab2tikz/matlab2tikz-1.1.0.ebuild b/dev-octave/matlab2tikz/matlab2tikz-1.1.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000..d22c91b18 |
28 |
--- /dev/null |
29 |
+++ b/dev-octave/matlab2tikz/matlab2tikz-1.1.0.ebuild |
30 |
@@ -0,0 +1,30 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+inherit optfeature |
37 |
+ |
38 |
+DESCRIPTION="convert native MATLAB(R) figures to TikZ/Pgfplots" |
39 |
+HOMEPAGE="https://github.com/matlab2tikz/matlab2tikz" |
40 |
+SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="BSD-2" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64" |
45 |
+ |
46 |
+DEPEND=">=sci-mathematics/octave-4.0.0" |
47 |
+RDEPEND="${DEPEND}" |
48 |
+ |
49 |
+src_install() { |
50 |
+ dodoc README.md CHANGELOG.md |
51 |
+ export pkgpath="/usr/share/octave/site/m/${PN}" |
52 |
+ insinto "${pkgpath}" |
53 |
+ doins -r src/* |
54 |
+} |
55 |
+ |
56 |
+pkg_postinst() { |
57 |
+ # TODO: is there a way to do this automatically for all users? |
58 |
+ einfo "Run addpath('${pkgpath}'); inside octave to add this package to the octave path" |
59 |
+ optfeature "to build the generated files" dev-texlive/texlive-pictures dev-texlive/texlive-latexextra |
60 |
+} |
61 |
|
62 |
diff --git a/dev-octave/matlab2tikz/metadata.xml b/dev-octave/matlab2tikz/metadata.xml |
63 |
new file mode 100644 |
64 |
index 000000000..226344f27 |
65 |
--- /dev/null |
66 |
+++ b/dev-octave/matlab2tikz/metadata.xml |
67 |
@@ -0,0 +1,12 @@ |
68 |
+<?xml version="1.0" encoding="UTF-8"?> |
69 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
70 |
+<pkgmetadata> |
71 |
+ <maintainer type="person"> |
72 |
+ <email>lssndrbarbieri@×××××.com</email> |
73 |
+ <name>Alessandro Barbieri</name> |
74 |
+ </maintainer> |
75 |
+ <upstream> |
76 |
+ <bugs-to>https://github.com/matlab2tikz/matlab2tikz/issues</bugs-to> |
77 |
+ <remote-id type="github">matlab2tikz/matlab2tikz</remote-id> |
78 |
+ </upstream> |
79 |
+</pkgmetadata> |