diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-03-10 01:41:42 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-03-10 01:41:42 +0000 |
| commit | c0160118f1a03d0fce2f73a97b487aa3a3f8aa9e (patch) | |
| tree | 74ba68e666c6f2de6dc897affac2a00dbb3fc9f7 /dev-python/networkx | |
| parent | 21fd6b3741aef287c9efd07dbe4bbe9d40887558 (diff) | |
| download | baldeagleos-repo-c0160118f1a03d0fce2f73a97b487aa3a3f8aa9e.tar.gz baldeagleos-repo-c0160118f1a03d0fce2f73a97b487aa3a3f8aa9e.tar.xz baldeagleos-repo-c0160118f1a03d0fce2f73a97b487aa3a3f8aa9e.zip | |
Adding metadata
Diffstat (limited to 'dev-python/networkx')
| -rw-r--r-- | dev-python/networkx/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/networkx/networkx-2.7.1.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/networkx/Manifest b/dev-python/networkx/Manifest index a3d94fbddfae..d1be18cf06fe 100644 --- a/dev-python/networkx/Manifest +++ b/dev-python/networkx/Manifest @@ -1 +1,2 @@ DIST networkx-2.6.3.tar.gz 1844862 BLAKE2B 408f97e334c3e0cec6d40d15d6ba8dc3c07cbd162fb31b301696c53ff1d924fd12f60d34df3f1b56fd036f2a344933a3b5c41a1aa2f91e5d5ca39f922cdfc41b SHA512 709b5126039c4b34a9b2ed60723e8bab3f591203f3ae8d87474e0f49f52b94b9c15568c78cc9e05e2bf997bc65a6177762bc41b0a44093ee59f6eaa0087d0f34 +DIST networkx-2.7.1.tar.gz 1923431 BLAKE2B 0b30a9cebc10708efdd446a688ee9a60523a06adf450af1b5a4726fe66b5041ef8c30625012c790042068aa9d5ac555ab814c3cce510365528d21afbe5007a89 SHA512 16b988d0b7faabc4126355a7530431d3a3870517812314097b73d1e3d0a02dc7cbf82d0e99db4a038dc3a23d72cf1a1712a17c925dfed360be2bf27cf01e9c42 diff --git a/dev-python/networkx/networkx-2.7.1.ebuild b/dev-python/networkx/networkx-2.7.1.ebuild new file mode 100644 index 000000000000..1befb9ef774b --- /dev/null +++ b/dev-python/networkx/networkx-2.7.1.ebuild @@ -0,0 +1,45 @@ +# 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_{7,8,9,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" +} |
