public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/symengine/
Date: Sun,  2 Aug 2020 19:05:31 +0000 (UTC)	[thread overview]
Message-ID: <1596394733.60e3d1f856925292be9f579cbd088de3f7dedb9e.sam@gentoo> (raw)

commit:     60e3d1f856925292be9f579cbd088de3f7dedb9e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  2 18:58:53 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Aug  2 18:58:53 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60e3d1f8

dev-python/symengine: bump to 0.6.1

* Bump to 0.6.1
* Add Python 3.{8,9}
* Use pytest to run tests instead of nose

Closes: https://bugs.gentoo.org/720762
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/symengine/Manifest               |  1 +
 dev-python/symengine/symengine-0.6.1.ebuild | 60 +++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/dev-python/symengine/Manifest b/dev-python/symengine/Manifest
index d0314bc5b09..4c55975bd99 100644
--- a/dev-python/symengine/Manifest
+++ b/dev-python/symengine/Manifest
@@ -1 +1,2 @@
 DIST symengine.py-0.5.1.tar.gz 110864 BLAKE2B 30309b87cc612df37fca94df5c3199401a2cff9fd782de2fa00910bf17a1bb2debfb851aefc6178a38eafe49055950b76373c6e9a81a2fe5814497c2894b5f8e SHA512 85df42245daad0387886f003a593e8d45f34e51db4ed207f6bb70f573704a33f24a1cbe30f1c67c2c1541f1e800208c90b3ce3ec35c9d4eab05bbdb5be570ef5
+DIST symengine.py-0.6.1.tar.gz 112123 BLAKE2B 3b55ddd834c7401a5a211e5e20bafbea68b172738c6388e72b1e6a6e62719e19f28356fb6156caa6cfbad59d051de45c0e103a89d675e3453136cc85e638f327 SHA512 09f452757e3c99dc9d896a322a07d58f57af6d57a9eaa615b9f4f3d834cfc91f6a79de955a36ad94bc30c962365272ef0afe401570583af49c015295ccd7c4ed

diff --git a/dev-python/symengine/symengine-0.6.1.ebuild b/dev-python/symengine/symengine-0.6.1.ebuild
new file mode 100644
index 00000000000..f75bf9e3ef3
--- /dev/null
+++ b/dev-python/symengine/symengine-0.6.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit distutils-r1
+
+MYP=${PN}.py-${PV}
+
+DESCRIPTION="Python wrappers to the symengine C++ library"
+HOMEPAGE="https://github.com/symengine/symengine.py"
+SRC_URI="https://github.com/symengine/symengine.py/archive/v${PV}.tar.gz -> ${MYP}.tar.gz"
+S="${WORKDIR}/${MYP}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+	dev-util/cmake
+	dev-python/cython[${PYTHON_USEDEP}]
+	test? (
+		dev-python/sympy[${PYTHON_USEDEP}]
+	)
+"
+RDEPEND="
+	dev-python/numpy[${PYTHON_USEDEP}]
+	>=sci-libs/symengine-0.6
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+	default
+
+	# Don't install tests
+	> "${S}/symengine/tests/CMakeLists.txt" || die
+}
+
+python_test() {
+	cd "${BUILD_DIR}" || die
+	pytest -vv || die "Tests failed with ${EPYTHON}"
+}
+
+python_install() {
+	distutils-r1_python_install
+	python_optimize
+}
+
+python_install_all() {
+	distutils-r1_python_install_all
+	python_optimize
+
+	rm "${ED}"/usr/share/doc/${PF}/README.md || die
+	newdoc README.md ${PN}.py.md
+}


             reply	other threads:[~2020-08-02 19:05 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-02 19:05 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-02 16:05 [gentoo-commits] repo/gentoo:master commit in: dev-python/symengine/ Michał Górny
2023-11-29 20:10 Arthur Zamarin
2023-11-29 19:38 Arthur Zamarin
2023-11-25 20:47 Sam James
2023-11-21 13:36 Michał Górny
2023-11-17  7:57 Michał Górny
2023-11-16 14:26 Michał Górny
2023-06-12 10:33 Sam James
2023-06-08  5:55 Michał Górny
2023-05-04 16:56 Michał Górny
2023-04-22 16:36 Michał Górny
2023-04-22 15:55 Arthur Zamarin
2023-04-22 15:55 Arthur Zamarin
2023-04-16 12:11 WANG Xuerui
2023-03-24  2:57 Sam James
2023-03-22  9:20 Sam James
2023-02-19 19:46 Michał Górny
2023-02-19 19:46 Michał Górny
2023-02-18  0:41 Sam James
2022-09-11 18:13 Sam James
2022-06-05  5:52 Michał Górny
2022-05-04  6:51 Agostino Sarubbo
2022-04-05  5:27 Agostino Sarubbo
2022-04-05  5:27 Agostino Sarubbo
2022-03-29  8:49 Yixun Lan
2022-03-28  6:51 Agostino Sarubbo
2022-03-27  6:27 Agostino Sarubbo
2022-03-15 22:17 Michał Górny
2022-02-22  5:40 Yixun Lan
2022-02-21  3:17 Sam James
2022-02-21  2:49 Sam James
2021-12-30 19:10 Arthur Zamarin
2021-12-30 19:04 Arthur Zamarin
2021-12-15 17:12 Andrew Ammerlaan
2021-12-14 19:52 Andrew Ammerlaan
2021-11-22  3:07 Yixun Lan
2021-05-04 13:59 Michał Górny
2021-05-04  7:03 Agostino Sarubbo
2021-04-30 15:23 Agostino Sarubbo
2021-03-27  7:49 Michał Górny
2021-03-14  8:12 Michał Górny
2020-10-27 19:58 Sam James
2020-10-27  5:11 Sam James
2020-09-18 15:53 Michał Górny
2020-08-31 15:35 Sam James
2020-08-31 14:15 Sam James
2020-08-31 13:49 Sam James
2020-08-30 23:18 Sam James
2020-08-02  6:46 Michał Górny
2020-08-02  6:46 Michał Górny
2020-03-22 12:12 Agostino Sarubbo
2020-03-19 21:56 David Seifert
2020-03-09 12:48 Agostino Sarubbo
2020-03-09 12:39 Agostino Sarubbo
2020-03-08 16:16 Andreas Sturmlechner
2020-03-08 16:02 Andreas Sturmlechner
2020-03-08 16:02 Andreas Sturmlechner
2020-03-08 16:02 Andreas Sturmlechner
2020-03-08 16:02 Andreas Sturmlechner
2020-01-16  6:05 Michał Górny
2019-12-28 11:57 罗百科
2017-07-26 20:07 Sebastien Fabbro
2017-07-26 20:07 Sebastien Fabbro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1596394733.60e3d1f856925292be9f579cbd088de3f7dedb9e.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox