summaryrefslogtreecommitdiff
path: root/dev-python/symengine
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/symengine
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/symengine')
-rw-r--r--dev-python/symengine/Manifest3
-rw-r--r--dev-python/symengine/metadata.xml15
-rw-r--r--dev-python/symengine/symengine-0.3.0.ebuild39
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/symengine/Manifest b/dev-python/symengine/Manifest
new file mode 100644
index 000000000000..46996ebbe138
--- /dev/null
+++ b/dev-python/symengine/Manifest
@@ -0,0 +1,3 @@
+DIST symengine.py-0.3.0.tar.gz 90877 BLAKE2B 8e1bf5741eb0c6ff6fd954b9f8b1827afcde61e55f0c5d6ada96bdc16d164003b21a51c2b485bc635d1f87e449c422f50e6bc8fca7371996dba7fdc096b0798b SHA512 9f43d572990744a93f4046920b09c80aff3ffa0e5735b2372298a65755140dee6c2c22c9c9fd964622f03379e31a1f1415d0051b213dda943ffc8e839059c7c6
+EBUILD symengine-0.3.0.ebuild 944 BLAKE2B f3eca9913bdc764ddc79ec91115bd67b9114d12f67f558783c95d642044319bb9da6b6aad9c0081eb43e6a646be5e308745f492df51c41ffa160efb29e8036e6 SHA512 59fbebfb889bb965d6e1cae20874579cf4899c2e77eacb116990d6ec48ce082533523cdac76fb87d531536776b0d2f1454850ac3e4bb304573267cedd6da8e64
+MISC metadata.xml 499 BLAKE2B f8fdd047ee3852b23514589163dc6ff82dfb69c93b8c00e8ee35af3a8a819a3e83051c4acc634a03044caf12cf47a96f892ef5ccb491da55ec4a3f14b4475455 SHA512 e3b01c1a5e3417fff75d843b24a20597c15900defd0efad954831b61a03980c9163fc596bb22ae4fe4cb5162cd492c383247560ced28c395467e1facc49cd573
diff --git a/dev-python/symengine/metadata.xml b/dev-python/symengine/metadata.xml
new file mode 100644
index 000000000000..a7413ed86c45
--- /dev/null
+++ b/dev-python/symengine/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci-mathematics@gentoo.org</email>
+ <name>Gentoo Mathematics Project</name>
+ </maintainer>
+ <longdescription>
+ Python wrappers to the C++ library SymEngine, a fast C++ symbolic
+ manipulation library.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">sympy/symengine.py</remote-id>
+ </upstream>
+</pkgmetadata>
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 000000000000..b972a264b220
--- /dev/null
+++ b/dev-python/symengine/symengine-0.3.0.ebuild
@@ -0,0 +1,39 @@
+# 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}"
+}
+
+python_install_all() {
+ distutils-r1_python_prepare_all
+ rm "${ED}"/usr/share/doc/${PF}/README.md || die
+ newdoc README.md ${PN}.py.md
+}