diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
commit | de49812990871e1705b64051c35161d5e6400269 (patch) | |
tree | 5e1e8fcb0ff4579dbd22a1bfee28a6b97dc8aaeb /dev-python/mpmath | |
parent | 536c3711867ec947c1738f2c4b96f22e4863322d (diff) |
gentoo resync : 24.12.2018
Diffstat (limited to 'dev-python/mpmath')
-rw-r--r-- | dev-python/mpmath/Manifest | 4 | ||||
-rw-r--r-- | dev-python/mpmath/files/mpmath-1.1.0.patch | 9 | ||||
-rw-r--r-- | dev-python/mpmath/files/mpmath.patch | 9 | ||||
-rw-r--r-- | dev-python/mpmath/mpmath-1.1.0.ebuild | 41 |
4 files changed, 53 insertions, 10 deletions
diff --git a/dev-python/mpmath/Manifest b/dev-python/mpmath/Manifest index 11ad3efbcef7..86fbc08ef54b 100644 --- a/dev-python/mpmath/Manifest +++ b/dev-python/mpmath/Manifest @@ -1,5 +1,7 @@ AUX mpmath-1.0.0.patch 422 BLAKE2B b79a223fb3d6c712a11e225c4f617d68cfda595ad314fb33ba02333eedcf39909f9bf76c98f004619f62cfb4516172615b8e79017362807980b1c61724423543 SHA512 a5c7c8816d7e4ba2dc481480a887d94ca158fee804a01e86f91fcea037372217ed8b029f85f6a0c15558b44aaf56f6fadf36b4f7476713a04a66f18b6f1ab997 -AUX mpmath.patch 434 BLAKE2B 1d7c2a6d8d99efc75fd4e6ab5900ee88c8b75a809a8776c3dd9fd390200e5d184423625f8a9549345892ae985e4237727d39d821ecb2503d29a2d78b6417f967 SHA512 2ffc7ffa375f5c25d044974a8b1fac145a00d9b1f190d12e1ade6cadad44dae11098617de5ee0a523931f046b4cd0e785552a3de6f66f438052955b6987bda39 +AUX mpmath-1.1.0.patch 422 BLAKE2B b79a223fb3d6c712a11e225c4f617d68cfda595ad314fb33ba02333eedcf39909f9bf76c98f004619f62cfb4516172615b8e79017362807980b1c61724423543 SHA512 a5c7c8816d7e4ba2dc481480a887d94ca158fee804a01e86f91fcea037372217ed8b029f85f6a0c15558b44aaf56f6fadf36b4f7476713a04a66f18b6f1ab997 DIST mpmath-1.0.0.tar.gz 511349 BLAKE2B 62c6275f76c412043cdafef51815e4b5d055a63ca36f3f63b33957351b19e03419ca27f7d59641c580cf8e47c1ca45240b68b3040e2749b3de679eb45b15a28e SHA512 b225f237008e1cfee52b2f0dca0dce1445b932b6eaef92879d7feca30d728e3f88810bfa80882ad8776ba846a636807e59bebe0b9f690cd878c089e9418bd8b7 +DIST mpmath-1.1.0.tar.gz 2136921 BLAKE2B 8c3a5f39b48015aab1147aaf77ee7523dbffd7f34911ff2158d7b8bf1612e64f91d157494c5199b22090e986aba02044d610171bb92a2b230cdfbe025652e340 SHA512 628b6c61015825516d983bfcc54fc3a2793f3d9d2b93ba9c5a487a340ddf13eb4e83f17fa35692b22dd8a200a8da3a65ed88091d75abb4c48c9c4e4f2c686bcc EBUILD mpmath-1.0.0.ebuild 949 BLAKE2B 754a1b4fe71fd30363daa59304106e4887f7fbb8567872d2eff73bd3651516d9b74f664014521580f2696a717e9472301321114ff60d5f4e80032834fed6cfd0 SHA512 1f66dacb4c67b2a132a45727bc2df816760537f69fb3acd109f601c3e0108d793c237546dec4f9bcd26e87b2a2e2817b72436941c473438670491d79482ff08f +EBUILD mpmath-1.1.0.ebuild 967 BLAKE2B 75f22f52e39bb7e0240e94011f4f66b4fa3aedc2ab0089447cd79c9a90ff973e5dd12735d8d254868776f0deaf0b712627cfd9e808cf394714b7c379d558d17c SHA512 bd56c669183d9c3f4126e238f88e764950361b9c4ad6233da4c7fb42dc1a7d0d2dc75ffb5b663de86320927ad159cbb73af95cdf16a7a1c2cf2d109f3b2d11d2 MISC metadata.xml 650 BLAKE2B 520b0399fbbae4307a4b3979202b4d5c8d1b06f739e0c0460a9a0be63b78152b50ab3f7fdc9b46623cf7afaeabbc57cd35f3865462f3b16ce2beeb0b8f8659a5 SHA512 0f999aeb354c73658f916cb8d3a80dcd216f50f77839c0c854e9235566cb197a7d047ad51045996fc0b9e1c47f55e934be9dd52597fee16fcce6360bfcbe8f08 diff --git a/dev-python/mpmath/files/mpmath-1.1.0.patch b/dev-python/mpmath/files/mpmath-1.1.0.patch new file mode 100644 index 000000000000..3a88f38c9927 --- /dev/null +++ b/dev-python/mpmath/files/mpmath-1.1.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 deleted file mode 100644 index 3040216e56cc..000000000000 --- a/dev-python/mpmath/files/mpmath.patch +++ /dev/null @@ -1,9 +0,0 @@ -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/mpmath-1.1.0.ebuild b/dev-python/mpmath/mpmath-1.1.0.ebuild new file mode 100644 index 000000000000..08a77279f3ea --- /dev/null +++ b/dev-python/mpmath/mpmath-1.1.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2018 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 eutils + +DESCRIPTION="Python library for arbitrary-precision floating-point arithmetic" +HOMEPAGE="http://mpmath.org/" +SRC_URI="https://github.com/fredrik-johansson/${PN}/archive/${PV}.tar.gz -> ${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 test requires X + rm ${PN}/tests/test_visualization.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + pushd ${PN}/tests >/dev/null + ${EPYTHON} runtests.py -local + popd >/dev/null +} |