1 |
commit: 581236b5f97942840d11e1640c9f321779e39aea |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 12 06:26:06 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 12 09:11:34 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=581236b5 |
7 |
|
8 |
dev-python/uncertainties: Bump to 3.1.6 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/uncertainties/Manifest | 1 + |
13 |
.../uncertainties/uncertainties-3.1.6.ebuild | 36 ++++++++++++++++++++++ |
14 |
2 files changed, 37 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/uncertainties/Manifest b/dev-python/uncertainties/Manifest |
17 |
index 5b1991f6233..ccfe4295aee 100644 |
18 |
--- a/dev-python/uncertainties/Manifest |
19 |
+++ b/dev-python/uncertainties/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST uncertainties-3.1.4.tar.gz 148897 BLAKE2B 3e94b61ff6aac42a7910cafebee5b440541a020c58bc2ce402d0a056b5d278205f4a6556bf49073f5ded305cfa73ba7e9095e71d3963fd9b73e2e9e19ec360b5 SHA512 209ebbed1f9cf99e3263f6470b04fc737c6d34d878f7eb1d2a7df7e63d4d42b0460391a08f99d8fe09df8f7f0e1de8a8e6c2cbecaedc7f0373ab06d05fbeb955 |
22 |
+DIST uncertainties-3.1.6.tar.gz 158419 BLAKE2B 09582936a9b982efeee6cf3c99de568ebc820940ca2bfa1e4fd10edbcbd9447e7711158f8b98567a506d6c5a9ecf63b6e21d296c7f8d8dcbbaf4c2fb6a571355 SHA512 8835ed851d00bbe830770e57bc89ce57acf291e6cef2fca59897adb75e1e2de456da3631f73242ade20f567358b1d727b2b7f5df02e2f3e0cd8d861e81a6a211 |
23 |
|
24 |
diff --git a/dev-python/uncertainties/uncertainties-3.1.6.ebuild b/dev-python/uncertainties/uncertainties-3.1.6.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..96b4e0d8f98 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/uncertainties/uncertainties-3.1.6.ebuild |
29 |
@@ -0,0 +1,36 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..9} ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="Python module for calculations with uncertainties" |
39 |
+HOMEPAGE="https://pythonhosted.org/uncertainties/" |
40 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="BSD" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
45 |
+IUSE="doc" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
49 |
+ dev-python/future[${PYTHON_USEDEP}] |
50 |
+" |
51 |
+DEPEND="${RDEPEND}" |
52 |
+BDEPEND=" |
53 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
54 |
+" |
55 |
+ |
56 |
+distutils_enable_tests nose |
57 |
+ |
58 |
+python_compile_all() { |
59 |
+ use doc && "${PYTHON}" setup.py build_sphinx |
60 |
+} |
61 |
+ |
62 |
+python_install_all() { |
63 |
+ use doc && local HTML_DOCS=( build/sphinx/html/. ) |
64 |
+ distutils-r1_python_install_all |
65 |
+} |