Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/symengine/
Date: Sun, 08 Mar 2020 16:02:08
Message-Id: 1583683288.1b46f9d03a2007fdd829e26e6c68695498359bef.asturm@gentoo
1 commit: 1b46f9d03a2007fdd829e26e6c68695498359bef
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 8 14:52:00 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 8 16:01:28 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b46f9d0
7
8 dev-python/symengine: Raise minimum sci-libs/symengine to 0.5.0
9
10 Closes: https://bugs.gentoo.org/704092
11 Package-Manager: Portage-2.3.93, Repoman-2.3.20
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 dev-python/symengine/symengine-0.5.1-r1.ebuild | 40 ++++++++++++++++++++++++++
15 1 file changed, 40 insertions(+)
16
17 diff --git a/dev-python/symengine/symengine-0.5.1-r1.ebuild b/dev-python/symengine/symengine-0.5.1-r1.ebuild
18 new file mode 100644
19 index 00000000000..fe8498abaaf
20 --- /dev/null
21 +++ b/dev-python/symengine/symengine-0.5.1-r1.ebuild
22 @@ -0,0 +1,40 @@
23 +# Copyright 1999-2020 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=6
27 +
28 +PYTHON_COMPAT=( python{3_6,3_7} )
29 +
30 +inherit distutils-r1
31 +
32 +MYP=${PN}.py-${PV}
33 +
34 +DESCRIPTION="Python wrappers to the symengine C++ library"
35 +HOMEPAGE="https://github.com/symengine/symengine.py"
36 +SRC_URI="https://github.com/symengine/symengine.py/archive/v${PV}.tar.gz -> ${MYP}.tar.gz"
37 +
38 +LICENSE="MIT"
39 +SLOT="0"
40 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
41 +IUSE="test"
42 +RESTRICT="!test? ( test )"
43 +RDEPEND="
44 + dev-python/numpy[${PYTHON_USEDEP}]
45 + >=sci-libs/symengine-0.5"
46 +DEPEND="${RDEPEND}
47 + dev-python/cython[${PYTHON_USEDEP}]
48 + dev-python/setuptools[${PYTHON_USEDEP}]
49 + test? ( dev-python/nose[${PYTHON_USEDEP}] )"
50 +
51 +S="${WORKDIR}/${MYP}"
52 +
53 +python_test() {
54 + cd "${BUILD_DIR}"
55 + nosetests -v || die "tests failed with ${EPYTHON}"
56 +}
57 +
58 +python_install_all() {
59 + distutils-r1_python_prepare_all
60 + rm "${ED}"/usr/share/doc/${PF}/README.md || die
61 + newdoc README.md ${PN}.py.md
62 +}