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 F24A7139695 for ; Wed, 26 Jul 2017 20:07:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4C22E1FC0E3; Wed, 26 Jul 2017 20:07:20 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 1D1941FC0E2 for ; Wed, 26 Jul 2017 20:07:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 D9AD4341744 for ; Wed, 26 Jul 2017 20:07:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8100D74C2 for ; Wed, 26 Jul 2017 20:07:17 +0000 (UTC) From: "Sebastien Fabbro" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastien Fabbro" Message-ID: <1501099623.ecc19feb9ba8bad9ef6bcc9b18bd25ad6531b17a.bicatali@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/metadata.xml dev-python/symengine/symengine-0.3.0.ebuild X-VCS-Directories: dev-python/symengine/ X-VCS-Committer: bicatali X-VCS-Committer-Name: Sebastien Fabbro X-VCS-Revision: ecc19feb9ba8bad9ef6bcc9b18bd25ad6531b17a X-VCS-Branch: master Date: Wed, 26 Jul 2017 20:07:17 +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-Archives-Salt: 4add987e-a31c-4776-b98c-96a7847ec41c X-Archives-Hash: db6c266b529ed12b2935c81e70cd8c85 commit: ecc19feb9ba8bad9ef6bcc9b18bd25ad6531b17a Author: Sébastien Fabbro gentoo org> AuthorDate: Wed Jul 26 18:24:31 2017 +0000 Commit: Sebastien Fabbro gentoo org> CommitDate: Wed Jul 26 20:07:03 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecc19feb dev-python/symengine: initial import Package-Manager: Portage-2.3.6, Repoman-2.3.3 dev-python/symengine/Manifest | 1 + dev-python/symengine/metadata.xml | 15 +++++++++++++ dev-python/symengine/symengine-0.3.0.ebuild | 33 +++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+) diff --git a/dev-python/symengine/Manifest b/dev-python/symengine/Manifest new file mode 100644 index 00000000000..e25759d75e0 --- /dev/null +++ b/dev-python/symengine/Manifest @@ -0,0 +1 @@ +DIST symengine.py-0.3.0.tar.gz 90877 SHA256 0ecccfe5a09b25b6640afca12de62062bdb60ed2712d6c16cc47fc1ba1e851ac SHA512 9f43d572990744a93f4046920b09c80aff3ffa0e5735b2372298a65755140dee6c2c22c9c9fd964622f03379e31a1f1415d0051b213dda943ffc8e839059c7c6 WHIRLPOOL e00c1b8876ec249b83228ced660c609b3d55d2a5f40578c2ca36351e38e6b161bccb5ed580d38cbd16467789d3c3d787b65fbe2f14be7184939908848b758da1 diff --git a/dev-python/symengine/metadata.xml b/dev-python/symengine/metadata.xml new file mode 100644 index 00000000000..a7413ed86c4 --- /dev/null +++ b/dev-python/symengine/metadata.xml @@ -0,0 +1,15 @@ + + + + + sci-mathematics@gentoo.org + Gentoo Mathematics Project + + + Python wrappers to the C++ library SymEngine, a fast C++ symbolic + manipulation library. + + + sympy/symengine.py + + diff --git a/dev-python/symengine/symengine-0.3.0.ebuild b/dev-python/symengine/symengine-0.3.0.ebuild new file mode 100644 index 00000000000..a9cd678259a --- /dev/null +++ b/dev-python/symengine/symengine-0.3.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit distutils-r1 + +MYP=${PN}.py-${PV} + +DESCRIPTION="Python wrappers to the symengine C++ library" +HOMEPAGE="https://github.com/sympy/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" +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + sci-libs/symengine" +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}" +}