1 |
commit: 6836eecfff3439548a81144da8f09521df8fd572 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 10 06:17:58 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 10 07:14:46 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6836eecf |
7 |
|
8 |
dev-python/networkx: Bump to 2.6.3 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/networkx/Manifest | 1 + |
13 |
dev-python/networkx/networkx-2.6.3.ebuild | 44 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/networkx/Manifest b/dev-python/networkx/Manifest |
17 |
index 47bf2b6c4ca..a6f60fdd3f5 100644 |
18 |
--- a/dev-python/networkx/Manifest |
19 |
+++ b/dev-python/networkx/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST networkx-2.6.2.tar.gz 1842077 BLAKE2B 8493e2d6a64d140b012ea443e9b1dc2409f8208dc1678c1d21cfd19bbdc07df6e9051aefe994d5fa6460db48320d563bb3051150782545ab5f671b7aafda4d0a SHA512 7006dcd209cce79f0f6cac4884797775422bd90fd3e8abb2eee70e6e00c9a25a785dd5856fc1657019a2b5c13a6fa5f705ea2e650c15a1f9d7d93580bc299219 |
22 |
+DIST networkx-2.6.3.tar.gz 1844862 BLAKE2B 408f97e334c3e0cec6d40d15d6ba8dc3c07cbd162fb31b301696c53ff1d924fd12f60d34df3f1b56fd036f2a344933a3b5c41a1aa2f91e5d5ca39f922cdfc41b SHA512 709b5126039c4b34a9b2ed60723e8bab3f591203f3ae8d87474e0f49f52b94b9c15568c78cc9e05e2bf997bc65a6177762bc41b0a44093ee59f6eaa0087d0f34 |
23 |
|
24 |
diff --git a/dev-python/networkx/networkx-2.6.3.ebuild b/dev-python/networkx/networkx-2.6.3.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..51a49fc1b85 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/networkx/networkx-2.6.3.ebuild |
29 |
@@ -0,0 +1,44 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..10} ) |
36 |
+inherit distutils-r1 virtualx |
37 |
+ |
38 |
+DESCRIPTION="Python tools to manipulate graphs and complex networks" |
39 |
+HOMEPAGE="https://networkx.org/ https://github.com/networkx/networkx" |
40 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="BSD" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" |
45 |
+IUSE="examples extras xml yaml" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ >=dev-python/matplotlib-3.3[${PYTHON_USEDEP}] |
49 |
+ >=dev-python/numpy-1.19[${PYTHON_USEDEP}] |
50 |
+ >=dev-python/pandas-1.1[${PYTHON_USEDEP}] |
51 |
+ >=dev-python/scipy-1.6.2[${PYTHON_USEDEP}] |
52 |
+ extras? ( |
53 |
+ >=dev-python/pydot-1.4.1[${PYTHON_USEDEP}] |
54 |
+ $(python_gen_cond_dep ' |
55 |
+ >=dev-python/pygraphviz-1.7[${PYTHON_USEDEP}] |
56 |
+ >=sci-libs/gdal-1.10.0[python,${PYTHON_USEDEP}] |
57 |
+ ' python3_{8..9}) |
58 |
+ ) |
59 |
+ xml? ( >=dev-python/lxml-4.5[${PYTHON_USEDEP}] ) |
60 |
+ yaml? ( >=dev-python/pyyaml-3.13[${PYTHON_USEDEP}] )" |
61 |
+ |
62 |
+distutils_enable_tests pytest |
63 |
+ |
64 |
+python_test() { |
65 |
+ local deselect=() |
66 |
+ virtx epytest -p no:django ${deselect[@]/#/--deselect } |
67 |
+} |
68 |
+ |
69 |
+python_install_all() { |
70 |
+ use examples && dodoc -r examples |
71 |
+ |
72 |
+ distutils-r1_python_install_all |
73 |
+} |