1 |
commit: 3e6dee20d012ba79c2396a0cbc06068fd8d2cb55 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 10 06:48:31 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 10 12:02:58 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e6dee20 |
7 |
|
8 |
dev-python/sympy: Bump to 1.8 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/sympy/Manifest | 1 + |
13 |
dev-python/sympy/sympy-1.8.ebuild | 62 +++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 63 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest |
17 |
index 01265920025..cecb7a28ce2 100644 |
18 |
--- a/dev-python/sympy/Manifest |
19 |
+++ b/dev-python/sympy/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST sympy-1.7.1.tar.gz 6974183 BLAKE2B 4bd8c9d60c46b05a7fc6c622667858fe17d25798756dbe967ce19abc8047263fe540f332e39418e877852c0565270377bd01fea7e65aa35ed4e03079bc130805 SHA512 eb9387bb9c632203af650279f896427556725b7496c00d8dfe97b7476beedbbee5714659f7fb44b4fa986c9567cdcaefcc19401d63e1ca0e9a6c7317855440ea |
22 |
+DIST sympy-1.8.tar.gz 7167842 BLAKE2B 878c6daf0584c9da54f82b9c68c62715792db428ab4ebfb355f0368c52edb254947d1ce1919e651279b767295ecb00a76b8cbbaa1fbe9c97915221c7403c3ded SHA512 61141e1d0a6105e725fb415edbdf981b3aa95debcfe73f9da5ca36afc7a70e91b5c28ed45454054c1b9a8d45e42bfe724e5b20da717746c301fd095da17f4db7 |
23 |
|
24 |
diff --git a/dev-python/sympy/sympy-1.8.ebuild b/dev-python/sympy/sympy-1.8.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..727e2d95fbc |
27 |
--- /dev/null |
28 |
+++ b/dev-python/sympy/sympy-1.8.ebuild |
29 |
@@ -0,0 +1,62 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
36 |
+PYTHON_COMPAT=( python3_{7..9} ) |
37 |
+ |
38 |
+inherit distutils-r1 virtualx |
39 |
+ |
40 |
+DESCRIPTION="Computer Algebra System in pure Python" |
41 |
+HOMEPAGE="https://www.sympy.org/" |
42 |
+SRC_URI="https://github.com/sympy/sympy/archive/${P}.tar.gz" |
43 |
+S="${WORKDIR}/${PN}-${P}" |
44 |
+ |
45 |
+LICENSE="BSD" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" |
48 |
+IUSE="examples imaging ipython latex mathml opengl pdf png pyglet symengine test texmacs theano" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ dev-python/mpmath[${PYTHON_USEDEP}] |
52 |
+ dev-python/pexpect[${PYTHON_USEDEP}] |
53 |
+ imaging? ( dev-python/pillow[${PYTHON_USEDEP}] ) |
54 |
+ ipython? ( dev-python/ipython[${PYTHON_USEDEP}] ) |
55 |
+ latex? ( |
56 |
+ virtual/latex-base |
57 |
+ dev-texlive/texlive-fontsextra |
58 |
+ png? ( app-text/dvipng ) |
59 |
+ pdf? ( app-text/ghostscript-gpl ) |
60 |
+ ) |
61 |
+ mathml? ( dev-libs/libxml2:2[${PYTHON_USEDEP}] ) |
62 |
+ opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) |
63 |
+ pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] ) |
64 |
+ symengine? ( dev-python/symengine[${PYTHON_USEDEP}] ) |
65 |
+ texmacs? ( app-office/texmacs ) |
66 |
+ theano? ( dev-python/aesara[${PYTHON_USEDEP}] ) |
67 |
+" |
68 |
+ |
69 |
+distutils_enable_tests pytest |
70 |
+ |
71 |
+python_test() { |
72 |
+ virtx esetup.py test |
73 |
+} |
74 |
+ |
75 |
+python_install_all() { |
76 |
+ local DOCS=( AUTHORS README.md ) |
77 |
+ |
78 |
+ if use examples; then |
79 |
+ dodoc -r examples |
80 |
+ docompress -x /usr/share/doc/${PF}/examples |
81 |
+ fi |
82 |
+ |
83 |
+ distutils-r1_python_install_all |
84 |
+ |
85 |
+ if use texmacs; then |
86 |
+ exeinto /usr/libexec/TeXmacs/bin/ |
87 |
+ doexe data/TeXmacs/bin/tm_sympy |
88 |
+ insinto /usr/share/TeXmacs/plugins/sympy/ |
89 |
+ doins -r data/TeXmacs/progs |
90 |
+ fi |
91 |
+} |