diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-05-14 11:09:11 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-05-14 11:09:11 +0100 |
commit | deba8115d2c2af26df42966b91ef04ff4dd79cde (patch) | |
tree | 9a48f42594e1a9e6b2020d5535a784314434d7a7 /dev-python/networkx | |
parent | 38423c67c8a23f6a1bc42038193182e2da3116eb (diff) |
gentoo resync : 14.05.2020
Diffstat (limited to 'dev-python/networkx')
-rw-r--r-- | dev-python/networkx/Manifest | 1 | ||||
-rw-r--r-- | dev-python/networkx/networkx-2.4-r1.ebuild | 68 |
2 files changed, 69 insertions, 0 deletions
diff --git a/dev-python/networkx/Manifest b/dev-python/networkx/Manifest index f368e14b64a8..ba46ae009770 100644 --- a/dev-python/networkx/Manifest +++ b/dev-python/networkx/Manifest @@ -1,3 +1,4 @@ DIST networkx-2.4.tar.gz 1462338 BLAKE2B 90fd7d249f3b022dd9c861dd023881fd241cba0515e2e9991516c278a40b92ee03663eb2b15bd584f179c066529df0587293f9c9a211e7c526addf77fdaf5cd6 SHA512 38eabef56e3667b7fa85206ae01a0a8f5c71bfa2f324bc2490c433cb973508a03955183a0c58ae40390f86d6a4741135cdb426c4c15e53e2f123072f0cac1b89 +EBUILD networkx-2.4-r1.ebuild 1847 BLAKE2B d19c11f1147acfe62d894037b64ccd56d8bdcc017d1fc5de72bde73df2760d6cad27f57239857cd75fafe1ca3e8716cdfb4dc6491e36770768069982cf58403e SHA512 2d9af21619883a43b427c1f0492f60ecaa157b06d25249a7e2c1d061294c2713e7d3495962921cfc5fdd5bed8863d57a826a7382e4d269adbca10bfb3b9d6d5b EBUILD networkx-2.4.ebuild 1543 BLAKE2B b3cc53f08dad66b10636bb9082b43af06eb0828031b9327a1fd04bd329613effe35817af97f546b50ae0e194f73ed4ebea56af314e1311044395ff8c02546b15 SHA512 5c5a68c58eca8beb45568d6f4fe80bd1b58b6513cf3492654db7c4f5ca23d6192a9702793fd1aa62db48f3fc71b48a80dfdc5638c37e3c89d16fd3d1db2f3ef6 MISC metadata.xml 1435 BLAKE2B a39ea5b9fb3de886147486d8d864b6df80480ca8d21326692f214546ce57e124e310dfca274c3d9a00643ed6783efd9ff79f446d8a5c642a97a67f1015590e63 SHA512 e360b0a0f506f12424feb3b5e9b998480e504dd784b27f0a64aecd69c0f14b23468cf17ff03df47a760d24c5536ee8f454aeb6e48e2aa9644d5b29a7cbd1a958 diff --git a/dev-python/networkx/networkx-2.4-r1.ebuild b/dev-python/networkx/networkx-2.4-r1.ebuild new file mode 100644 index 000000000000..081e31c0fa43 --- /dev/null +++ b/dev-python/networkx/networkx-2.4-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# networkx-2.4 supports up to python3_8 +PYTHON_COMPAT=( python3_{6,7,8} ) +inherit distutils-r1 virtualx + +DESCRIPTION="Python tools to manipulate graphs and complex networks" +HOMEPAGE="http://networkx.github.io/ https://github.com/networkx/networkx" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="examples extras pandas scipy test xml yaml" +RESTRICT="!test? ( test )" + +REQUIRED_USE=" + test? ( extras pandas scipy xml yaml )" + +COMMON_DEPEND=" + >=dev-python/matplotlib-2.2.2[${PYTHON_USEDEP}] + extras? ( + >=dev-python/pydot-1.2.4[${PYTHON_USEDEP}] + >=dev-python/pygraphviz-1.5[${PYTHON_USEDEP}] + >=sci-libs/gdal-1.10.0[python,${PYTHON_USEDEP}] + ) + pandas? ( + $(python_gen_cond_dep '>=dev-python/pandas-0.23.3[${PYTHON_USEDEP}]' python3_{6,7}) + ) + scipy? ( >=sci-libs/scipy-1.1.0[${PYTHON_USEDEP}] ) + xml? ( >=dev-python/lxml-4.2.3[${PYTHON_USEDEP}] ) + yaml? ( >=dev-python/pyyaml-3.13[${PYTHON_USEDEP}] )" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/decorator-4.3.0[${PYTHON_USEDEP}] + ${COMMON_DEPEND} + test? ( + dev-python/nose[${PYTHON_USEDEP}] + )" +RDEPEND=" + >=dev-python/decorator-4.3.0[${PYTHON_USEDEP}] + ${COMMON_DEPEND} + examples? ( + dev-python/pyparsing[${PYTHON_USEDEP}] + )" + +PATCHES=( +) + +python_test() { + virtx nosetests -vv || die "tests failed with ${EPYTHON}" +} + +python_install_all() { + use examples && dodoc -r examples + + distutils-r1_python_install_all +} + +pkg_postinst() { + if use pandas && use python_targets_python3_8; then + ewarn "The pandas functionality in ${P} will not work with python3.8 as" + ewarn "dev-python/pandas does not have support for python3.8 yet" + fi +} |