mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/mpmath: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST mpmath-1.1.0.tar.gz 2136921 BLAKE2B 8c3a5f39b48015aab1147aaf77ee7523dbffd7f34911ff2158d7b8bf1612e64f91d157494c5199b22090e986aba02044d610171bb92a2b230cdfbe025652e340 SHA512 628b6c61015825516d983bfcc54fc3a2793f3d9d2b93ba9c5a487a340ddf13eb4e83f17fa35692b22dd8a200a8da3a65ed88091d75abb4c48c9c4e4f2c686bcc
|
||||
DIST mpmath-1.2.1.tar.gz 2135690 BLAKE2B a21e0ef04a025f23e32dad5839db411708266c6cf3408e97ec5c995f197b14f446c1d328bd2e9f50e1c48a2e08239ef7908fcc3aab8659118fc1e0e78106a47e SHA512 2dd908bca26162adcdce0493146d009e04d3d96db965ff2207c332504020fa6f5a5e2af97d38e8fb3e7442a26c1e93a756a8d93b378da720ab7c07753f700d10
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
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']
|
||||
@@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=no
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
|
||||
inherit distutils-r1 eutils virtualx
|
||||
|
||||
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 ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||
IUSE="gmp matplotlib test"
|
||||
RESTRICT="!test? ( 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}/${PN}-1.0.0.patch"
|
||||
)
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
pushd ${PN}/tests >/dev/null
|
||||
${EPYTHON} runtests.py -local || die "Tests failed with ${EPYTHON}"
|
||||
popd >/dev/null
|
||||
}
|
||||
Reference in New Issue
Block a user