From: "Andrey Grozin" <grozin@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mpmath/
Date: Thu, 30 Mar 2017 18:21:53 +0000 (UTC) [thread overview]
Message-ID: <1490898105.d04437ad3bfb348986aed9f4d683dbc60099ba79.grozin@gentoo> (raw)
commit: d04437ad3bfb348986aed9f4d683dbc60099ba79
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 30 18:21:45 2017 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Thu Mar 30 18:21:45 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d04437ad
dev-python/mpmath: python3_6 added
Package-Manager: Portage-2.3.3, Repoman-2.3.1
dev-python/mpmath/mpmath-0.19-r2.ebuild | 62 +++++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)
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 00000000000..3bd7c37eb1c
--- /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
+}
next reply other threads:[~2017-03-30 18:21 UTC|newest]
Thread overview: 65+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-30 18:21 Andrey Grozin [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-23 2:00 [gentoo-commits] repo/gentoo:master commit in: dev-python/mpmath/ Sam James
2025-02-16 4:15 Sam James
2025-02-15 13:28 Sam James
2025-02-15 8:35 Arthur Zamarin
2025-02-08 18:18 Sam James
2025-02-08 13:55 Arthur Zamarin
2025-02-08 12:04 Arthur Zamarin
2025-01-30 4:10 Michał Górny
2025-01-23 5:39 Michał Górny
2024-10-31 0:24 Sam James
2024-10-30 15:19 Michał Górny
2024-10-30 15:19 Michał Górny
2024-10-30 14:53 Sam James
2024-10-30 14:48 Michał Górny
2024-10-26 11:52 Michał Górny
2024-10-09 6:31 Michał Górny
2024-09-09 19:55 Arthur Zamarin
2024-08-31 4:48 Sam James
2024-08-30 14:59 Ionen Wolkens
2024-08-30 14:59 Ionen Wolkens
2024-08-29 16:33 Arthur Zamarin
2024-08-29 14:28 Ionen Wolkens
2024-08-29 14:28 Ionen Wolkens
2024-08-29 14:28 Ionen Wolkens
2024-08-29 14:28 Ionen Wolkens
2024-08-12 22:05 Jakov Smolić
2024-08-12 22:05 Jakov Smolić
2024-07-20 11:24 Arthur Zamarin
2024-07-20 11:24 Arthur Zamarin
2023-11-24 15:22 Arthur Zamarin
2023-11-17 16:51 Michał Górny
2023-11-05 20:58 Michał Górny
2023-10-05 17:25 Arthur Zamarin
2023-03-11 10:25 Michał Górny
2023-03-11 9:49 Michał Górny
2023-03-11 9:49 Michał Górny
2023-03-11 9:49 Michał Górny
2023-03-07 16:58 Sam James
2022-09-22 14:29 Marek Szuba
2022-06-04 19:57 Michał Górny
2021-11-22 3:07 Yixun Lan
2021-09-03 14:41 Arthur Zamarin
2021-09-03 14:41 Arthur Zamarin
2021-09-03 14:41 Arthur Zamarin
2021-03-15 3:50 Sam James
2021-03-15 3:50 Sam James
2021-02-09 18:48 Michał Górny
2021-02-03 10:48 Sam James
2020-10-27 19:58 Sam James
2020-08-02 6:46 Michał Górny
2020-08-02 6:46 Michał Górny
2020-08-02 6:46 Michał Górny
2020-07-12 16:57 Michał Górny
2020-05-13 10:08 Agostino Sarubbo
2020-05-12 13:05 Agostino Sarubbo
2020-04-29 16:40 Pacho Ramos
2020-01-17 10:02 Michał Górny
2018-10-02 13:46 Andrey Grozin
2017-12-02 20:55 Mike Gilbert
2017-10-02 14:02 Andrey Grozin
2017-03-30 18:25 Andrey Grozin
2017-02-02 18:43 David Seifert
2016-12-29 10:05 Agostino Sarubbo
2016-03-18 20:48 Andrey Grozin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1490898105.d04437ad3bfb348986aed9f4d683dbc60099ba79.grozin@gentoo \
--to=grozin@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox