1 |
commit: 42f7255665aedfc21ca5bbbffcd6fa9c74842cc2 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
3 |
AuthorDate: Sat Jan 2 12:40:30 2021 +0000 |
4 |
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> |
5 |
CommitDate: Sun Jan 3 04:30:26 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=42f72556 |
7 |
|
8 |
dev-python/matrix2latex: bump python targets, enable tests and sphinx |
9 |
|
10 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
11 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> |
12 |
Signed-off-by: Horea Christian <chr <AT> chymera.eu> |
13 |
|
14 |
dev-python/matrix2latex/matrix2latex-1.0.0.ebuild | 19 -------------- |
15 |
.../matrix2latex/matrix2latex-1.9_p20160719.ebuild | 30 ++++++++++++++++++++++ |
16 |
2 files changed, 30 insertions(+), 19 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/matrix2latex/matrix2latex-1.0.0.ebuild b/dev-python/matrix2latex/matrix2latex-1.0.0.ebuild |
19 |
deleted file mode 100644 |
20 |
index 502c649fc..000000000 |
21 |
--- a/dev-python/matrix2latex/matrix2latex-1.0.0.ebuild |
22 |
+++ /dev/null |
23 |
@@ -1,19 +0,0 @@ |
24 |
-# Copyright 1999-2020 Gentoo Authors |
25 |
-# Distributed under the terms of the GNU General Public License v2 |
26 |
- |
27 |
-EAPI=7 |
28 |
- |
29 |
-PYTHON_COMPAT=( python{2_7,3_{6..9}} ) |
30 |
- |
31 |
-inherit distutils-r1 multilib |
32 |
- |
33 |
-DESCRIPTION="A tool to create LaTeX tables from python lists and arrays" |
34 |
-HOMEPAGE="https://github.com/TheChymera/matrix2latex" |
35 |
-SRC_URI="https://github.com/TheChymera/${PN}/blob/master/archive/${PN}Python-${PV}.tar.gz?raw=true -> ${P}.tar.gz" |
36 |
- |
37 |
-LICENSE="GPL-3" |
38 |
-SLOT="0" |
39 |
-KEYWORDS="~amd64" |
40 |
-IUSE="" |
41 |
- |
42 |
-S="${WORKDIR}/${PN}Python${PV}" |
43 |
|
44 |
diff --git a/dev-python/matrix2latex/matrix2latex-1.9_p20160719.ebuild b/dev-python/matrix2latex/matrix2latex-1.9_p20160719.ebuild |
45 |
new file mode 100644 |
46 |
index 000000000..14a2ecaa7 |
47 |
--- /dev/null |
48 |
+++ b/dev-python/matrix2latex/matrix2latex-1.9_p20160719.ebuild |
49 |
@@ -0,0 +1,30 @@ |
50 |
+# Copyright 1999-2021 Gentoo Authors |
51 |
+# Distributed under the terms of the GNU General Public License v2 |
52 |
+ |
53 |
+EAPI=7 |
54 |
+ |
55 |
+PYTHON_COMPAT=( python3_{7,8,9} ) |
56 |
+ |
57 |
+inherit distutils-r1 |
58 |
+ |
59 |
+COMMIT="78edec90115b855cb743ecc702d252514dedc6db" |
60 |
+ |
61 |
+DESCRIPTION="A tool to create LaTeX tables from python lists and arrays" |
62 |
+HOMEPAGE="https://github.com/TheChymera/matrix2latex" |
63 |
+SRC_URI="https://github.com/TheChymera/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
64 |
+ |
65 |
+LICENSE="GPL-3" |
66 |
+SLOT="0" |
67 |
+KEYWORDS="~amd64 ~x86" |
68 |
+ |
69 |
+S="${WORKDIR}/${PN}-${COMMIT}" |
70 |
+ |
71 |
+distutils_enable_sphinx doc_sphinx |
72 |
+distutils_enable_tests pytest |
73 |
+ |
74 |
+python_prepare_all() { |
75 |
+ # this has been renamed in newer versions of sphinx |
76 |
+ sed -i -e 's/sphinx.ext.pngmath/sphinx.ext.imgmath/g' doc_sphinx/conf.py |
77 |
+ |
78 |
+ distutils-r1_python_prepare_all |
79 |
+} |