dev-python/symengine: Bump
authorPatrick Lauer <patrick@gentoo.org>
Sat, 28 Dec 2019 11:55:52 +0000 (11:55 +0000)
committerPatrick Lauer <patrick@gentoo.org>
Sat, 28 Dec 2019 11:56:59 +0000 (11:56 +0000)
Fix HOMEPAGE

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
dev-python/symengine/Manifest
dev-python/symengine/symengine-0.3.0.ebuild
dev-python/symengine/symengine-0.5.1.ebuild [new file with mode: 0644]

index 0fd8b3d25ef2563a6cb143924abd1cf112873060..fc11029ed713ea0d5114530c1c3f092019269659 100644 (file)
@@ -1 +1,2 @@
 DIST symengine.py-0.3.0.tar.gz 90877 BLAKE2B 8e1bf5741eb0c6ff6fd954b9f8b1827afcde61e55f0c5d6ada96bdc16d164003b21a51c2b485bc635d1f87e449c422f50e6bc8fca7371996dba7fdc096b0798b SHA512 9f43d572990744a93f4046920b09c80aff3ffa0e5735b2372298a65755140dee6c2c22c9c9fd964622f03379e31a1f1415d0051b213dda943ffc8e839059c7c6
+DIST symengine.py-0.5.1.tar.gz 110864 BLAKE2B 30309b87cc612df37fca94df5c3199401a2cff9fd782de2fa00910bf17a1bb2debfb851aefc6178a38eafe49055950b76373c6e9a81a2fe5814497c2894b5f8e SHA512 85df42245daad0387886f003a593e8d45f34e51db4ed207f6bb70f573704a33f24a1cbe30f1c67c2c1541f1e800208c90b3ce3ec35c9d4eab05bbdb5be570ef5
index 9a03e24d150fdfed8b1f0c67ef5c6a51efb2ac9d..ab82cb6c12ed56e3f628b82991b70b5df5aa3a7f 100644 (file)
@@ -10,7 +10,7 @@ inherit distutils-r1
 MYP=${PN}.py-${PV}
 
 DESCRIPTION="Python wrappers to the symengine C++ library"
-HOMEPAGE="https://github.com/sympy/symengine.py"
+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"
diff --git a/dev-python/symengine/symengine-0.5.1.ebuild b/dev-python/symengine/symengine-0.5.1.ebuild
new file mode 100644 (file)
index 0000000..1052a4c
--- /dev/null
@@ -0,0 +1,40 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_5,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.4"
+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
+}