dev-python/networkx: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-05-15 12:25:14 +02:00
parent 3f9ab0d947
commit ececa341c2
2 changed files with 0 additions and 46 deletions

View File

@@ -1,2 +1 @@
DIST networkx-2.7.1.tar.gz 1923431 BLAKE2B 0b30a9cebc10708efdd446a688ee9a60523a06adf450af1b5a4726fe66b5041ef8c30625012c790042068aa9d5ac555ab814c3cce510365528d21afbe5007a89 SHA512 16b988d0b7faabc4126355a7530431d3a3870517812314097b73d1e3d0a02dc7cbf82d0e99db4a038dc3a23d72cf1a1712a17c925dfed360be2bf27cf01e9c42
DIST networkx-2.8.tar.gz 1937426 BLAKE2B 5a094177ed480c6f7cbdacb6795fc4f2e0aec53ed89a33e19d78f47830d46238f35b7cd76098f6e00397f7cbdf305256910b7930cbb2c775ed4c2b18d9bd596f SHA512 72cd6637faa4228f6c802cf36935b5460fdf9b6cf191c3b375810bfc3732823e3286bdc1e6cbf7e6a7ffde83d0cf3bca157ae27ff98c537d43fdb4b8ef45ef4b

View File

@@ -1,45 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1 optfeature 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 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
BDEPEND="
test? (
>=dev-python/lxml-4.5[${PYTHON_USEDEP}]
>=dev-python/numpy-1.19[${PYTHON_USEDEP}]
>=dev-python/pyyaml-3.13[${PYTHON_USEDEP}]
>=dev-python/scipy-1.6.2[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_test() {
virtx epytest -p no:django
}
src_install() {
distutils-r1_src_install
# those examples use various assets and pre-compressed files
docompress -x /usr/share/doc/${PF}/examples
}
pkg_postinst() {
optfeature "recommended dependencies" "dev-python/matplotlib dev-python/numpy dev-python/pandas dev-python/scipy"
optfeature "graph drawing and graph layout algorithms" "dev-python/pygraphviz dev-python/pydot"
optfeature "YAML format reading and writing" "dev-python/pyyaml"
optfeature "shapefile format reading and writing" "dev-python/gdal"
optfeature "GraphML XML format" "dev-python/lxml"
}