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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1210B138350 for ; Sun, 8 Mar 2020 16:02:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2B2EDE08C9; Sun, 8 Mar 2020 16:02:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0FC5DE08C9 for ; Sun, 8 Mar 2020 16:02:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 999D934F69D for ; Sun, 8 Mar 2020 16:02:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 22A9F14C for ; Sun, 8 Mar 2020 16:02:01 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1583683288.1b46f9d03a2007fdd829e26e6c68695498359bef.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/symengine/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/symengine/symengine-0.5.1-r1.ebuild X-VCS-Directories: dev-python/symengine/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 1b46f9d03a2007fdd829e26e6c68695498359bef X-VCS-Branch: master Date: Sun, 8 Mar 2020 16:02:01 +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: fd552dfc-d8fa-4264-82b5-91c9a9ad9c88 X-Archives-Hash: a8c344852e1752b7fc9f9f89f68b5372 commit: 1b46f9d03a2007fdd829e26e6c68695498359bef Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Mar 8 14:52:00 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Mar 8 16:01:28 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b46f9d0 dev-python/symengine: Raise minimum sci-libs/symengine to 0.5.0 Closes: https://bugs.gentoo.org/704092 Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-python/symengine/symengine-0.5.1-r1.ebuild | 40 ++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/dev-python/symengine/symengine-0.5.1-r1.ebuild b/dev-python/symengine/symengine-0.5.1-r1.ebuild new file mode 100644 index 00000000000..fe8498abaaf --- /dev/null +++ b/dev-python/symengine/symengine-0.5.1-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{3_6,3_7} ) + +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" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + >=sci-libs/symengine-0.5" +DEPEND="${RDEPEND} + dev-python/cython[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${MYP}" + +python_test() { + cd "${BUILD_DIR}" + nosetests -v || die "tests failed with ${EPYTHON}" +} + +python_install_all() { + distutils-r1_python_prepare_all + rm "${ED}"/usr/share/doc/${PF}/README.md || die + newdoc README.md ${PN}.py.md +}