From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B5ABD15864F for ; Fri, 24 Mar 2023 02:57:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F131CE07A9; Fri, 24 Mar 2023 02:57:26 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D982BE07A9 for ; Fri, 24 Mar 2023 02:57:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D396C340B63 for ; Fri, 24 Mar 2023 02:57:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4742B8E4 for ; Fri, 24 Mar 2023 02:57:24 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1679626617.46127d7dc21441a57886ff4042e89e51fa88e51f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/symengine/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/symengine/Manifest dev-python/symengine/symengine-0.10.0.ebuild X-VCS-Directories: dev-python/symengine/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 46127d7dc21441a57886ff4042e89e51fa88e51f X-VCS-Branch: master Date: Fri, 24 Mar 2023 02:57:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4f069915-1c94-46df-bbed-145ea53e7378 X-Archives-Hash: 204a3eb52f1b3fb193159300c35a529e commit: 46127d7dc21441a57886ff4042e89e51fa88e51f Author: Sam James gentoo org> AuthorDate: Fri Mar 24 02:56:35 2023 +0000 Commit: Sam James gentoo org> CommitDate: Fri Mar 24 02:56:57 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46127d7d dev-python/symengine: add 0.10.0 Signed-off-by: Sam James gentoo.org> dev-python/symengine/Manifest | 1 + dev-python/symengine/symengine-0.10.0.ebuild | 52 ++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) 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 +}