blob: 63295879d3c0df35f4df077b3056ea0736e8cd7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-networkx
pkgver=2.5.1
pkgrel=0
pkgdesc="Software for complex networks"
url="https://networkx.github.io/"
arch="noarch !mips64"
license="BSD-3-Clause"
depends="
py3-decorator
python3
"
makedepends="py3-setuptools"
subpackages="$pkgname-doc"
checkdepends="
xdg-utils
py3-lxml
py3-matplotlib
py3-numpy
py3-pandas
py3-pydot
py3-pygraphviz
py3-pytest
py3-scipy
py3-yaml
"
source="https://pypi.python.org/packages/source/n/networkx/networkx-$pkgver.tar.gz
0001-add-dtype-to-pandas-test.patch
0002-pyyaml-5.4.patch
0003-modify-heuristic-for-astar-path-test.patch
"
builddir="$srcdir/networkx-$pkgver"
build() {
python3 setup.py build
}
check() {
pytest
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
995e6637a11a6ca6acb1d3745b36a38045e4c11776731ebc3a847170df423074534313a2bdfe0aa07dd85b7aacc78c56d882cef8e5ac9cf641c63b33d964794b networkx-2.5.1.tar.gz
aa791d7023fcd13545589b5e13c8525a062c2a13f4174d85be273b3ce004c88bd907e0f78bd408744d9016d5607568dd0b000cda1f16b3d351b5793678bb310d 0001-add-dtype-to-pandas-test.patch
357c06ed690a40f372a245c050de9bfd468366921f850972966e1ed273f7baa49f7e32f1ae476a14ab2ead6beef44ebc58d61e4ddf785ab638e8cd88efca88e3 0002-pyyaml-5.4.patch
f67763b4d548ef3413f75f354b24fe30a6731e84ef8cdca4b01394aecb80d9a3f4b5cbc6271084e285c343d3f2a0a16fa30dc0c0747451618e1bf79ec755cce6 0003-modify-heuristic-for-astar-path-test.patch
"
|