diff options
author | Sam James <sam@gentoo.org> | 2023-03-24 02:56:35 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-03-24 02:56:57 +0000 |
commit | 46127d7dc21441a57886ff4042e89e51fa88e51f (patch) | |
tree | 10fd6f704792e6a8e24fc6e7d0f56b6a0978b59d /dev-python/symengine | |
parent | sci-libs/symengine: add 0.10.1, drop 0.10.0 (diff) | |
download | gentoo-46127d7dc21441a57886ff4042e89e51fa88e51f.tar.gz gentoo-46127d7dc21441a57886ff4042e89e51fa88e51f.tar.bz2 gentoo-46127d7dc21441a57886ff4042e89e51fa88e51f.zip |
dev-python/symengine: add 0.10.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/symengine')
-rw-r--r-- | dev-python/symengine/Manifest | 1 | ||||
-rw-r--r-- | dev-python/symengine/symengine-0.10.0.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/symengine/Manifest b/dev-python/symengine/Manifest index eaf72c4c8021..a009260f656d 100644 --- a/dev-python/symengine/Manifest +++ b/dev-python/symengine/Manifest @@ -1,2 +1,3 @@ +DIST symengine.py-0.10.0.gh.tar.gz 112272 BLAKE2B 8d8262c1abc48e3b84e14a5c825f0c19335b7374ecb8f641b20140467709c199af542a7e15036a4264d885ee0e425665faa97a2b320bfaf45e8de1ba469b53a4 SHA512 7e3f2554ab79d92d7247b573c383c2ac0dda421b5421d088362007f70b055bc59d9879b8f6d4c5788ddf127ea0974ad9305d23db701f3b9b32a17d6b03000e7d DIST symengine.py-0.9.2.gh.tar.gz 110856 BLAKE2B 11330acc04970d367fe66787521776dbd803929d91802ea09d1bc54a96c8fd87e85114042f57fc8c007de2dcaa1b0503a8389ac677797cc2efc866d71d76d1db SHA512 ea9e8cb7dd789b551f5372c32b98365ab251bac838204b5c832783f9866c2774f5d411f2f59e5e60f17939a1c341702acfc3e3f7e77246330ab3cb74f5ba7cca DIST symengine.py-0.9.2.tar.gz 110856 BLAKE2B 11330acc04970d367fe66787521776dbd803929d91802ea09d1bc54a96c8fd87e85114042f57fc8c007de2dcaa1b0503a8389ac677797cc2efc866d71d76d1db SHA512 ea9e8cb7dd789b551f5372c32b98365ab251bac838204b5c832783f9866c2774f5d411f2f59e5e60f17939a1c341702acfc3e3f7e77246330ab3cb74f5ba7cca diff --git a/dev-python/symengine/symengine-0.10.0.ebuild b/dev-python/symengine/symengine-0.10.0.ebuild new file mode 100644 index 000000000000..e9793e90f4b3 --- /dev/null +++ b/dev-python/symengine/symengine-0.10.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +MY_P=${PN}.py-${PV} +DESCRIPTION="Python wrappers to the symengine C++ library" +HOMEPAGE=" + https://github.com/symengine/symengine.py/ + https://pypi.org/project/symengine/ +" +SRC_URI=" + https://github.com/symengine/symengine.py/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +BDEPEND=" + dev-util/cmake + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/sympy[${PYTHON_USEDEP}] + ) +" +# See bug #786582 for symengine constraint +# See also https://github.com/symengine/symengine.py/blob/master/symengine_version.txt +DEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + =sci-libs/symengine-$(ver_cut 1-2)* +" +RDEPEND=" + ${DEPEND} +" + +# The C library installs the same docs +DOCS=() + +distutils_enable_tests pytest + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + epytest +} |