1 |
commit: c2bf20b395028a82fb55ebb18031fa9697e577ac |
2 |
Author: David Denoncin <ddenoncin <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Jul 1 22:01:21 2020 +0000 |
4 |
Commit: David Denoncin <ddenoncin <AT> gmail <DOT> com> |
5 |
CommitDate: Wed Jul 1 22:01:21 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c2bf20b3 |
7 |
|
8 |
dev-python/pylatex: vbump 1.3.3 |
9 |
|
10 |
Introduce some style change. Also decompress examples. |
11 |
|
12 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
13 |
Signed-off-by: David Denoncin <ddenoncin <AT> gmail.com> |
14 |
|
15 |
dev-python/pylatex/Manifest | 1 + |
16 |
dev-python/pylatex/pylatex-1.3.3.ebuild | 55 +++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 56 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/pylatex/Manifest b/dev-python/pylatex/Manifest |
20 |
index 1b97c37..193e905 100644 |
21 |
--- a/dev-python/pylatex/Manifest |
22 |
+++ b/dev-python/pylatex/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST pylatex-1.3.2.tar.gz 300576 BLAKE2B c096c3e182bdc13fc07c1c2b4bf6ce2e52c04fdd91da0c628d88b5fc1655c4236f468fb261b43882a41f38a389ebcc5c5f6248798df6a04e78b0cb9d4c12d2c4 SHA512 c2b7477e3f93f122865f8b68a4312d60b3548601040e51f6a80653bb5b2de8e516bb1f2d6b8ac48a5e0aba8d883c42c58757f6b1cffec5173e8edb071bf25351 |
25 |
+DIST pylatex-1.3.3.tar.gz 300639 BLAKE2B ac8fad8fa7e6e821cda168f3ae8ffb5acec21d688761b153ef2f9383b6a2f2ac7daea65f04389eb1ba3152fc50176d73cb814a78d2b5250ead2c6647eb96635a SHA512 12f51805996d84840f68844b79384ce4d2c29dde4db06f73b8887fe012abeaa4b9c5cf5e449132e626132b50ba26f014a899d548e3c0def25289671fd92e41a6 |
26 |
|
27 |
diff --git a/dev-python/pylatex/pylatex-1.3.3.ebuild b/dev-python/pylatex/pylatex-1.3.3.ebuild |
28 |
new file mode 100644 |
29 |
index 0000000..79de19f |
30 |
--- /dev/null |
31 |
+++ b/dev-python/pylatex/pylatex-1.3.3.ebuild |
32 |
@@ -0,0 +1,55 @@ |
33 |
+# Copyright 2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+MY_PN="PyLaTeX" |
39 |
+MY_P="${MY_PN}-${PV}" |
40 |
+ |
41 |
+PYTHON_COMPAT=( python3_{6,7,8,9} ) |
42 |
+inherit distutils-r1 eutils |
43 |
+ |
44 |
+DESCRIPTION="A Python library for creating LaTeX files and snippets" |
45 |
+HOMEPAGE="https://github.com/JelteF/PyLaTeX" |
46 |
+SRC_URI="https://github.com/JelteF/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="MIT" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~x86" |
51 |
+IUSE="examples" |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ dev-python/ordered-set[${PYTHON_USEDEP}] |
55 |
+" |
56 |
+ |
57 |
+distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme |
58 |
+distutils_enable_tests nose |
59 |
+ |
60 |
+BDEPEND+=" |
61 |
+ test? ( |
62 |
+ ${RDEPEND} |
63 |
+ dev-python/quantities[${PYTHON_USEDEP}] |
64 |
+ dev-python/matplotlib[${PYTHON_USEDEP}] |
65 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
66 |
+ app-text/texlive |
67 |
+ dev-texlive/texlive-latexextra |
68 |
+)" |
69 |
+ |
70 |
+S="${WORKDIR}/${MY_P}" |
71 |
+ |
72 |
+python_install_all() { |
73 |
+ if use examples ; then |
74 |
+ dodoc -r examples |
75 |
+ docompress -x /usr/share/doc/"${PF}"/examples |
76 |
+ fi |
77 |
+ |
78 |
+ distutils-r1_python_install_all |
79 |
+} |
80 |
+ |
81 |
+pkg_postinst() { |
82 |
+ elog "Optional dependencies:" |
83 |
+ optfeature "compiling generated files" app-text/texlive dev-texlive/texlive-latexextra |
84 |
+ optfeature "matplotlib support" dev-python/matplotlib |
85 |
+ optfeature "numpy support" dev-python/numpy |
86 |
+ optfeature "quantities support" dev-python/quantities |
87 |
+} |