# Template file for 'python-networkx' pkgname=python-networkx version=2.2 revision=1 noarch=yes build_style=python-module wrksrc="networkx-${version}" pycompile_module="networkx" hostmakedepends="python-setuptools python3-setuptools unzip" depends="python-decorator" short_desc="Python2 package for creating and manipulating graphs and networks" maintainer="Peter Bui " homepage="https://networkx.github.io/" license="BSD-3-Clause" distfiles="${PYPI_SITE}/n/networkx/networkx-${version}.zip" checksum=45e56f7ab6fe81652fb4bc9f44faddb0e9025f469f602df14e3b2551c2ea5c8b post_install() { vlicense LICENSE.txt } python3-networkx_package() { noarch=yes pycompile_module="networkx" depends="python3-decorator" short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* vlicense LICENSE.txt } }