From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-python/mpmath/Manifest | 8 ++++ dev-python/mpmath/files/mpmath-1.0.0.patch | 9 +++++ dev-python/mpmath/files/mpmath.patch | 9 +++++ dev-python/mpmath/metadata.xml | 21 ++++++++++ dev-python/mpmath/mpmath-0.19-r1.ebuild | 62 ++++++++++++++++++++++++++++++ dev-python/mpmath/mpmath-0.19-r2.ebuild | 62 ++++++++++++++++++++++++++++++ dev-python/mpmath/mpmath-1.0.0.ebuild | 42 ++++++++++++++++++++ 7 files changed, 213 insertions(+) create mode 100644 dev-python/mpmath/Manifest create mode 100644 dev-python/mpmath/files/mpmath-1.0.0.patch create mode 100644 dev-python/mpmath/files/mpmath.patch create mode 100644 dev-python/mpmath/metadata.xml create mode 100644 dev-python/mpmath/mpmath-0.19-r1.ebuild create mode 100644 dev-python/mpmath/mpmath-0.19-r2.ebuild create mode 100644 dev-python/mpmath/mpmath-1.0.0.ebuild (limited to 'dev-python/mpmath') diff --git a/dev-python/mpmath/Manifest b/dev-python/mpmath/Manifest new file mode 100644 index 000000000000..bf2cd33afc76 --- /dev/null +++ b/dev-python/mpmath/Manifest @@ -0,0 +1,8 @@ +AUX mpmath-1.0.0.patch 422 BLAKE2B b79a223fb3d6c712a11e225c4f617d68cfda595ad314fb33ba02333eedcf39909f9bf76c98f004619f62cfb4516172615b8e79017362807980b1c61724423543 SHA512 a5c7c8816d7e4ba2dc481480a887d94ca158fee804a01e86f91fcea037372217ed8b029f85f6a0c15558b44aaf56f6fadf36b4f7476713a04a66f18b6f1ab997 +AUX mpmath.patch 434 BLAKE2B 1d7c2a6d8d99efc75fd4e6ab5900ee88c8b75a809a8776c3dd9fd390200e5d184423625f8a9549345892ae985e4237727d39d821ecb2503d29a2d78b6417f967 SHA512 2ffc7ffa375f5c25d044974a8b1fac145a00d9b1f190d12e1ade6cadad44dae11098617de5ee0a523931f046b4cd0e785552a3de6f66f438052955b6987bda39 +DIST mpmath-1.0.0.tar.gz 511349 BLAKE2B 62c6275f76c412043cdafef51815e4b5d055a63ca36f3f63b33957351b19e03419ca27f7d59641c580cf8e47c1ca45240b68b3040e2749b3de679eb45b15a28e SHA512 b225f237008e1cfee52b2f0dca0dce1445b932b6eaef92879d7feca30d728e3f88810bfa80882ad8776ba846a636807e59bebe0b9f690cd878c089e9418bd8b7 +DIST mpmath-all-0.19.tar.gz 2123129 BLAKE2B df7e6255f09362a4203716a5d70036b712d069cc08c09613cabd6d1a88ab5155610f5fe5d2f33db3ed241322e92e93301c54c9cba777c0fbedfb5c891ffa3db0 SHA512 5a6ed0b5fad84c1e8399467ea7a1295f9b77c8e673b821c11e3298e88df6c48d9967eed84e2979bf12868e2f9b42bffba01a0c1836a6d82ac42d5f423fed6580 +EBUILD mpmath-0.19-r1.ebuild 1384 BLAKE2B 6aadcbff6fd2a2907c345a6d2e1025a3f6669b416e19ba06f355df8ab65cd71b2ed3f316a87295ce50a3b38f8974153634d83adeac8033b33bf4473df0e22c4c SHA512 a250ca3659c948dd59a4f3151ee06fb5e0f4b9c9e51ef3edb757ab9f743d4f2ab28865531bc2db486333ddfda0fe0e69184c58af8a33bd8352327849ff0824ef +EBUILD mpmath-0.19-r2.ebuild 1390 BLAKE2B f820b249bae5761a167af070fe0a3255698ddbccc47eef896db7666aba22f606c7ac975e88bccaa853ebd5bd63a31a12fc08f2089f48fd03f65d43b23aef3015 SHA512 a4128b69fea1a8f4d936645fe9bee6d19e5c9077b088cd377c32c1541d140f1f2da42051fe194abaa914c2d1cf68cdb0e36df71ed09a0b56e6ad42f8ffc2c6a7 +EBUILD mpmath-1.0.0.ebuild 949 BLAKE2B 754a1b4fe71fd30363daa59304106e4887f7fbb8567872d2eff73bd3651516d9b74f664014521580f2696a717e9472301321114ff60d5f4e80032834fed6cfd0 SHA512 1f66dacb4c67b2a132a45727bc2df816760537f69fb3acd109f601c3e0108d793c237546dec4f9bcd26e87b2a2e2817b72436941c473438670491d79482ff08f +MISC metadata.xml 650 BLAKE2B 520b0399fbbae4307a4b3979202b4d5c8d1b06f739e0c0460a9a0be63b78152b50ab3f7fdc9b46623cf7afaeabbc57cd35f3865462f3b16ce2beeb0b8f8659a5 SHA512 0f999aeb354c73658f916cb8d3a80dcd216f50f77839c0c854e9235566cb197a7d047ad51045996fc0b9e1c47f55e934be9dd52597fee16fcce6360bfcbe8f08 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 @@ + + + + + grozin@gentoo.org + Andrey Grozin + + + sci-mathematics@gentoo.org + Gentoo Mathematics Project + + + A Python library for arbitrary-precision floating-point arithmetic + + + Add support for dev-python/matplotlib + + + mpmath + + 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..2b17f2bde3ad --- /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 +} -- cgit v1.2.3