diff options
Diffstat (limited to 'dev-python/networkx')
-rw-r--r-- | dev-python/networkx/Manifest | 2 | ||||
-rw-r--r-- | dev-python/networkx/networkx-2.6.1.ebuild | 44 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/networkx/Manifest b/dev-python/networkx/Manifest index a2c27c3dd2fb..9304792308a2 100644 --- a/dev-python/networkx/Manifest +++ b/dev-python/networkx/Manifest @@ -1,3 +1,5 @@ DIST networkx-2.5.tar.gz 1542085 BLAKE2B a4d1d1f65a09f8e7cd830a9e670cf540c19b800dffb90aa1cc6ebda8b6116b6181969382f90339254746a3f277d786020506a3c8f10c90ff48999d3b2c3c433e SHA512 ab51198072d20bdba7c9ceb6856631a20a7e9527a7cadb41271a999f57bf60da5488269c6e4e1f3f4f33420ec6493af665386842c216ea1cfadd1792ccb6444e +DIST networkx-2.6.1.tar.gz 1842369 BLAKE2B bac0106758fa7d33000d970873ee221ee9b367ad895f2f8fbfdfb29908851c69f632214dac06c48ab433e3b6251a439199fe3675517252c959ba2a29076cc866 SHA512 132f34eb8790fb366263cfbb501ec5ca0f9c9082562215a06a114b2ec80baf72f5489f27e7fe1cbea49749eab48116e8772ff953339de0caabf37096ce097500 EBUILD networkx-2.5.ebuild 1504 BLAKE2B c281bc937ee2e4b13a57e6e861e4dcf881498e8b645230038d53fa6b10b800a15a999297c85503491c54a091f170604a91004a4d8c7387a67b4b36d4ea724730 SHA512 1c3d8159f280fb08aaea8dba9224db19ce801f73a991e4ec5f654ada7e9d28518eb366b05242a483ecfd812cc8380fec08770e56b61bee5c17e5f36dfec0df5d +EBUILD networkx-2.6.1.ebuild 1225 BLAKE2B 024dd63def6aea8de3cd565f345181dbb3f457680c857b696ffa6c70df61c7f5daf7ba0c5b1d6cdcc46c1fd37699f967b65f2d55bf7b93303e58f0ea2cb264e3 SHA512 bace4d4ca169b2b8819ea80a3803799ecec5ee5464869a1b935004697365e4ca05fbe22dad911ecc907f9d7df184fc7c1a68a166488e43955a7e8a624f577cc5 MISC metadata.xml 1460 BLAKE2B 2b3d94eb6c3b4827ff154dc73ecb99a46e8e194150cb508928b88366cfb6842f8b535c738fafb33fe0c4de70829b9a211cc64108621213fefd2305a725d8945f SHA512 3beefd0d791e9799438f097cc78e38aadec92100e013d5a477851f6a8db7a9fde606c3f1d5c2c0f4e75f4c8b3190b5daecf3b7c03b5f06a6f7866d46eecb1095 diff --git a/dev-python/networkx/networkx-2.6.1.ebuild b/dev-python/networkx/networkx-2.6.1.ebuild new file mode 100644 index 000000000000..f11427eeb08d --- /dev/null +++ b/dev-python/networkx/networkx-2.6.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 virtualx + +DESCRIPTION="Python tools to manipulate graphs and complex networks" +HOMEPAGE="https://networkx.org/ https://github.com/networkx/networkx" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="examples extras xml yaml" + +RDEPEND=" + >=dev-python/matplotlib-3.3[${PYTHON_USEDEP}] + >=dev-python/numpy-1.19[${PYTHON_USEDEP}] + >=dev-python/pandas-1.1[${PYTHON_USEDEP}] + >=dev-python/scipy-1.6.2[${PYTHON_USEDEP}] + extras? ( + >=dev-python/pydot-1.4.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/pygraphviz-1.7[${PYTHON_USEDEP}] + >=sci-libs/gdal-1.10.0[python,${PYTHON_USEDEP}] + ' python3_{8..9}) + ) + xml? ( >=dev-python/lxml-4.5[${PYTHON_USEDEP}] ) + yaml? ( >=dev-python/pyyaml-3.13[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +python_test() { + local deselect=() + virtx epytest -p no:django ${deselect[@]/#/--deselect } +} + +python_install_all() { + use examples && dodoc -r examples + + distutils-r1_python_install_all +} |