diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-02-10 01:50:48 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-02-10 01:50:48 +0000 |
| commit | 671d8f953968300087af1f419bad9177ed0cd3b4 (patch) | |
| tree | e87c6b7140e28bbce0c5e9e0493874b4665d1534 /dev-python/mpmath | |
| parent | a2225daa8f0f32c2c0d077ec03153aedde3e3056 (diff) | |
| download | baldeagleos-repo-671d8f953968300087af1f419bad9177ed0cd3b4.tar.gz baldeagleos-repo-671d8f953968300087af1f419bad9177ed0cd3b4.tar.xz baldeagleos-repo-671d8f953968300087af1f419bad9177ed0cd3b4.zip | |
Adding metadata
Diffstat (limited to 'dev-python/mpmath')
| -rw-r--r-- | dev-python/mpmath/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/mpmath/mpmath-1.2.1.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/mpmath/Manifest b/dev-python/mpmath/Manifest index 021ebeb7abfe..5a871d21a765 100644 --- a/dev-python/mpmath/Manifest +++ b/dev-python/mpmath/Manifest @@ -1 +1,2 @@ DIST mpmath-1.1.0.tar.gz 2136921 BLAKE2B 8c3a5f39b48015aab1147aaf77ee7523dbffd7f34911ff2158d7b8bf1612e64f91d157494c5199b22090e986aba02044d610171bb92a2b230cdfbe025652e340 SHA512 628b6c61015825516d983bfcc54fc3a2793f3d9d2b93ba9c5a487a340ddf13eb4e83f17fa35692b22dd8a200a8da3a65ed88091d75abb4c48c9c4e4f2c686bcc +DIST mpmath-1.2.1.tar.gz 2135690 BLAKE2B a21e0ef04a025f23e32dad5839db411708266c6cf3408e97ec5c995f197b14f446c1d328bd2e9f50e1c48a2e08239ef7908fcc3aab8659118fc1e0e78106a47e SHA512 2dd908bca26162adcdce0493146d009e04d3d96db965ff2207c332504020fa6f5a5e2af97d38e8fb3e7442a26c1e93a756a8d93b378da720ab7c07753f700d10 diff --git a/dev-python/mpmath/mpmath-1.2.1.ebuild b/dev-python/mpmath/mpmath-1.2.1.ebuild new file mode 100644 index 000000000000..c5521f653dd2 --- /dev/null +++ b/dev-python/mpmath/mpmath-1.2.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 virtualx + +DESCRIPTION="Python library for arbitrary-precision floating-point arithmetic" +HOMEPAGE="https://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[${PYTHON_USEDEP}] ) + matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] )" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +src_configure() { + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +} + +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 +} |
