mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
python-networkx: don't build python3-networkx
This commit is contained in:
parent
91739efbc7
commit
890a83c29f
1 changed files with 3 additions and 14 deletions
|
@ -3,29 +3,18 @@ pkgname=python-networkx
|
||||||
version=2.2
|
version=2.2
|
||||||
revision=1
|
revision=1
|
||||||
archs=noarch
|
archs=noarch
|
||||||
build_style=python-module
|
|
||||||
wrksrc="networkx-${version}"
|
wrksrc="networkx-${version}"
|
||||||
|
build_style=python2-module
|
||||||
pycompile_module="networkx"
|
pycompile_module="networkx"
|
||||||
hostmakedepends="python-setuptools python3-setuptools unzip"
|
hostmakedepends="python-setuptools unzip"
|
||||||
depends="python-decorator"
|
depends="python-decorator"
|
||||||
short_desc="Python2 package for creating and manipulating graphs and networks"
|
short_desc="Python2 package for creating and manipulating graphs and networks"
|
||||||
maintainer="Peter Bui <pbui@github.bx612.space>"
|
maintainer="Peter Bui <pbui@github.bx612.space>"
|
||||||
homepage="https://networkx.github.io/"
|
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
|
homepage="https://networkx.github.io/"
|
||||||
distfiles="${PYPI_SITE}/n/networkx/networkx-${version}.zip"
|
distfiles="${PYPI_SITE}/n/networkx/networkx-${version}.zip"
|
||||||
checksum=45e56f7ab6fe81652fb4bc9f44faddb0e9025f469f602df14e3b2551c2ea5c8b
|
checksum=45e56f7ab6fe81652fb4bc9f44faddb0e9025f469f602df14e3b2551c2ea5c8b
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE.txt
|
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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue