python-networkx: don't build python3-networkx

This commit is contained in:
maxice8 2019-04-12 04:31:58 -03:00 committed by maxice8
parent 91739efbc7
commit 890a83c29f

View file

@ -3,29 +3,18 @@ pkgname=python-networkx
version=2.2
revision=1
archs=noarch
build_style=python-module
wrksrc="networkx-${version}"
build_style=python2-module
pycompile_module="networkx"
hostmakedepends="python-setuptools python3-setuptools unzip"
hostmakedepends="python-setuptools unzip"
depends="python-decorator"
short_desc="Python2 package for creating and manipulating graphs and networks"
maintainer="Peter Bui <pbui@github.bx612.space>"
homepage="https://networkx.github.io/"
license="BSD-3-Clause"
homepage="https://networkx.github.io/"
distfiles="${PYPI_SITE}/n/networkx/networkx-${version}.zip"
checksum=45e56f7ab6fe81652fb4bc9f44faddb0e9025f469f602df14e3b2551c2ea5c8b
post_install() {
vlicense LICENSE.txt
}
python3-networkx_package() {
archs=noarch
pycompile_module="networkx"
depends="python3-decorator"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE.txt
}
}