summaryrefslogtreecommitdiff
path: root/dev-python/mpmath
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/mpmath
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/mpmath')
-rw-r--r--dev-python/mpmath/Manifest10
-rw-r--r--dev-python/mpmath/files/mpmath-1.0.0.patch9
-rw-r--r--dev-python/mpmath/files/mpmath.patch9
-rw-r--r--dev-python/mpmath/metadata.xml21
-rw-r--r--dev-python/mpmath/mpmath-0.19-r1.ebuild62
-rw-r--r--dev-python/mpmath/mpmath-0.19-r2.ebuild62
-rw-r--r--dev-python/mpmath/mpmath-1.0.0.ebuild42
7 files changed, 215 insertions, 0 deletions
diff --git a/dev-python/mpmath/Manifest b/dev-python/mpmath/Manifest
new file mode 100644
index 000000000000..33b850ceb06e
--- /dev/null
+++ b/dev-python/mpmath/Manifest
@@ -0,0 +1,10 @@
+AUX mpmath-1.0.0.patch 422 SHA256 f5bff0707e7f38a2cb6e6b3a656e55dab9e6caeb471cffc19cc5ac56c11e42b8 SHA512 a5c7c8816d7e4ba2dc481480a887d94ca158fee804a01e86f91fcea037372217ed8b029f85f6a0c15558b44aaf56f6fadf36b4f7476713a04a66f18b6f1ab997 WHIRLPOOL 5fefe44e8e7524a3dc68585616663e7cbe68555ae59c30d6345f1369f1e3671f2bbbb9e0ec9f34173472b0077c8f94b8b145400dd115f5a31a7c614e20d42fba
+AUX mpmath.patch 434 SHA256 e15c6536596321479b5378d5919c9a310d1037c13de8c13c8f0421f95319dd19 SHA512 2ffc7ffa375f5c25d044974a8b1fac145a00d9b1f190d12e1ade6cadad44dae11098617de5ee0a523931f046b4cd0e785552a3de6f66f438052955b6987bda39 WHIRLPOOL ff01b799d5e7862dce8cdfa2536f56e9b683b877fc94f154df7e9f4045d53c7d6be4376502fcd18fb0a6da29136b74b8c89f28ff0515377ae7ef78fbe92c531c
+DIST mpmath-1.0.0.tar.gz 511349 SHA256 d32ba7afffbae688229a15f54fbc37c11f4989e4fac628c99b3c5b6889aee03d SHA512 b225f237008e1cfee52b2f0dca0dce1445b932b6eaef92879d7feca30d728e3f88810bfa80882ad8776ba846a636807e59bebe0b9f690cd878c089e9418bd8b7 WHIRLPOOL 5dc18ab6f81a529c06bcc968dd3e9da0a5123740b2a5b2829e98b303b5e3d8208956122a7fd7698ad275d4246aafcbd1756bc0922801d32a535b809cf749b3ac
+DIST mpmath-all-0.19.tar.gz 2123129 SHA256 21a824db176799f42843e4510da4bc6db36ef92b5a43fff70fad7e29bffb9c86 SHA512 5a6ed0b5fad84c1e8399467ea7a1295f9b77c8e673b821c11e3298e88df6c48d9967eed84e2979bf12868e2f9b42bffba01a0c1836a6d82ac42d5f423fed6580 WHIRLPOOL 360fedc4d6942a138b33c63867f8a5e4ce4c101a8f7221c61503933e75073807676cbb240c9bddea765159cb134efd608256c9b921b7d282763b57d2897eefdb
+EBUILD mpmath-0.19-r1.ebuild 1384 SHA256 4c683331e8d274524430634d3a2e1d4a56a08a60ccf1802dcb1bef4dcdf7694d SHA512 a250ca3659c948dd59a4f3151ee06fb5e0f4b9c9e51ef3edb757ab9f743d4f2ab28865531bc2db486333ddfda0fe0e69184c58af8a33bd8352327849ff0824ef WHIRLPOOL 8bdc6e0354ee41787545813ca1c8357dccf6c15a9ca5572a545b1cd666b613102e5b994b0fe9201ffb5f6a4485c2ce2455dda59394836f1e2068d5d4104100ec
+EBUILD mpmath-0.19-r2.ebuild 1390 SHA256 8d6f44ac1f5d32df0d7fa25db0bf9b5f5a9e9b115df125f9987f1f31c99a4ff7 SHA512 a4128b69fea1a8f4d936645fe9bee6d19e5c9077b088cd377c32c1541d140f1f2da42051fe194abaa914c2d1cf68cdb0e36df71ed09a0b56e6ad42f8ffc2c6a7 WHIRLPOOL 89cced15d59e6419539b137c7eefd3c4249a476e671b640f084c6399671e50d247241841a65ece44904e08b8da3aeeb8df872d069766d147991b1b80986a5529
+EBUILD mpmath-1.0.0.ebuild 951 SHA256 ad805be8bcd2460bdbf51d707410993d42d48290bf8959a0f79f36f408ca0efd SHA512 ccff02e86e1abd6e55cfe688a3dcf712686bda56497aef450be9e2e79532b5bfbedbf3c1ec19b7b0d6e27a32ed4eda0171a179e2e8e2b9d32271b85ff7b945e3 WHIRLPOOL 25eae442a9bbb85b330630f843345a59ee3e0b2da1847a8829b26edf92dbb61afe2db1ceb42a00db93bace4c216d76ff0bd7bea5ecf5f3b54e5771dbc71639fc
+MISC ChangeLog 2975 SHA256 db38c42d031c0744be675fe8177efd6750bf02ca595e1331f43fa6ba8b0e53a9 SHA512 f514c38a471973553ea60282b64f2527c25160fefb1e660d859436c1c31b64207d6ae457f084e03c5f1e1874bce1138c7fa13bb0aaa9399fbe152acf55008509 WHIRLPOOL 357db473750a1adbb0f1907531ecc239b0a0a559fd54e2c682c624a69590a8e9017543eacbf85ac59b78e644bd0a2def1b4f1ee4fd01af4f99d726f84516fb24
+MISC ChangeLog-2015 5482 SHA256 4ea9cbf6b2fc8431e7a3528002bd0ce9759eaab12eac783cdf4ccdf93c62a5a5 SHA512 ef1a0802edda88db61851154dc90ba8dd0811a42d20950a12f05535ece3582f6080f481bd5be6bc49987d309c09d75ebff328c167c7ecec80de1710833641b55 WHIRLPOOL 86ccb77718f8be7bdac6db1c9be8df46270da2728f86e263d31541b5b257fd0dd2d7a84ba9205b014b56fe0fb3f828c6cfa72bf68b33cc0b002bc9e83b239cc6
+MISC metadata.xml 650 SHA256 94048222427d74ac3b79e372118852ab6d742ee1238fc521605eba716e95bfee SHA512 0f999aeb354c73658f916cb8d3a80dcd216f50f77839c0c854e9235566cb197a7d047ad51045996fc0b9e1c47f55e934be9dd52597fee16fcce6360bfcbe8f08 WHIRLPOOL 2c9e65fdad987acf458b30823b6dfa5db2baeae4938d558e9138bfeb922e45048ce6573156f1d529ee3a62573bd9e216eb77ff511ac24a9030294a4f81a4aa71
diff --git a/dev-python/mpmath/files/mpmath-1.0.0.patch b/dev-python/mpmath/files/mpmath-1.0.0.patch
new file mode 100644
index 000000000000..3a88f38c9927
--- /dev/null
+++ b/dev-python/mpmath/files/mpmath-1.0.0.patch
@@ -0,0 +1,9 @@
+diff -r -U1 mpmath-1.0.0.orig/setup.py mpmath-1.0.0/setup.py
+--- mpmath-1.0.0.orig/setup.py 2017-09-27 21:42:12.000000000 +0700
++++ mpmath-1.0.0/setup.py 2017-10-02 20:36:02.919554100 +0700
+@@ -15,4 +15,3 @@
+ 'mpmath.functions',
+- 'mpmath.matrices',
+- 'mpmath.tests'],
++ 'mpmath.matrices'],
+ classifiers=['Topic :: Scientific/Engineering :: Mathematics']
diff --git a/dev-python/mpmath/files/mpmath.patch b/dev-python/mpmath/files/mpmath.patch
new file mode 100644
index 000000000000..3040216e56cc
--- /dev/null
+++ b/dev-python/mpmath/files/mpmath.patch
@@ -0,0 +1,9 @@
+diff -r -U1 mpmath-all-0.17.orig/setup.py mpmath-all-0.17/setup.py
+--- mpmath-all-0.17.orig/setup.py 2011-02-02 03:17:50.000000000 +0600
++++ mpmath-all-0.17/setup.py 2011-02-13 01:18:00.000000000 +0600
+@@ -15,4 +15,3 @@
+ 'mpmath/functions',
+- 'mpmath/matrices',
+- 'mpmath/tests'],
++ 'mpmath/matrices'],
+ classifiers=['Topic :: Scientific/Engineering :: Mathematics']
diff --git a/dev-python/mpmath/metadata.xml b/dev-python/mpmath/metadata.xml
new file mode 100644
index 000000000000..75c9c7ac5925
--- /dev/null
+++ b/dev-python/mpmath/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>grozin@gentoo.org</email>
+ <name>Andrey Grozin</name>
+</maintainer>
+<maintainer type="project">
+ <email>sci-mathematics@gentoo.org</email>
+ <name>Gentoo Mathematics Project</name>
+</maintainer>
+<longdescription lang="en">
+ A Python library for arbitrary-precision floating-point arithmetic
+</longdescription>
+<use>
+ <flag name="matplotlib">Add support for <pkg>dev-python/matplotlib</pkg></flag>
+</use>
+<upstream>
+ <remote-id type="pypi">mpmath</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/dev-python/mpmath/mpmath-0.19-r1.ebuild b/dev-python/mpmath/mpmath-0.19-r1.ebuild
new file mode 100644
index 000000000000..85fc57bbf397
--- /dev/null
+++ b/dev-python/mpmath/mpmath-0.19-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1 eutils
+
+MY_PN=${PN}-all
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Python library for arbitrary-precision floating-point arithmetic"
+HOMEPAGE="http://mpmath.org/"
+SRC_URI="http://mpmath.org/files/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+
+IUSE="doc examples gmp matplotlib test"
+
+RDEPEND="
+ gmp? ( dev-python/gmpy )
+ matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] )"
+DEPEND="${RDEPEND}
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+S="${WORKDIR}/${MY_P}"
+
+python_prepare_all() {
+ local PATCHES=(
+ "${FILESDIR}/${PN}.patch"
+ )
+
+ # this fails with the current version of dev-python/py
+ rm ${PN}/conftest.py || die
+
+ # this test requires X
+ rm ${PN}/tests/test_visualization.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+ if use doc; then
+ einfo "Generation of documentation"
+ cd doc || die
+ "${PYTHON}" build.py || die "Generation of documentation failed"
+ fi
+}
+
+python_test() {
+ py.test -v || die
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( doc/build/. )
+ use examples && local EXAMPLES=( demo/. )
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/mpmath/mpmath-0.19-r2.ebuild b/dev-python/mpmath/mpmath-0.19-r2.ebuild
new file mode 100644
index 000000000000..3bd7c37eb1c2
--- /dev/null
+++ b/dev-python/mpmath/mpmath-0.19-r2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit distutils-r1 eutils
+
+MY_PN=${PN}-all
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Python library for arbitrary-precision floating-point arithmetic"
+HOMEPAGE="http://mpmath.org/"
+SRC_URI="http://mpmath.org/files/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+
+IUSE="doc examples gmp matplotlib test"
+
+RDEPEND="
+ gmp? ( dev-python/gmpy )
+ matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] )"
+DEPEND="${RDEPEND}
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+S="${WORKDIR}/${MY_P}"
+
+python_prepare_all() {
+ local PATCHES=(
+ "${FILESDIR}/${PN}.patch"
+ )
+
+ # this fails with the current version of dev-python/py
+ rm ${PN}/conftest.py || die
+
+ # this test requires X
+ rm ${PN}/tests/test_visualization.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+ if use doc; then
+ einfo "Generation of documentation"
+ cd doc || die
+ "${PYTHON}" build.py || die "Generation of documentation failed"
+ fi
+}
+
+python_test() {
+ py.test -v || die
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( doc/build/. )
+ use examples && local EXAMPLES=( demo/. )
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/mpmath/mpmath-1.0.0.ebuild b/dev-python/mpmath/mpmath-1.0.0.ebuild
new file mode 100644
index 000000000000..06c4d2848519
--- /dev/null
+++ b/dev-python/mpmath/mpmath-1.0.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit distutils-r1 eutils
+
+DESCRIPTION="Python library for arbitrary-precision floating-point arithmetic"
+HOMEPAGE="http://mpmath.org/"
+SRC_URI="http://mpmath.org/files/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+
+IUSE="gmp matplotlib test"
+
+RDEPEND="
+ gmp? ( dev-python/gmpy )
+ matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] )"
+DEPEND="${RDEPEND}
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+python_prepare_all() {
+ local PATCHES=(
+ "${FILESDIR}/${P}.patch"
+ )
+
+ # this fails with the current version of dev-python/py
+ rm ${PN}/conftest.py || die
+
+ # this test requires X
+ rm ${PN}/tests/test_visualization.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ py.test -v || die
+}