mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-16 20:13:52 +02:00
parent
95236d773b
commit
f131780def
1 changed files with 8 additions and 4 deletions
|
@ -1,19 +1,23 @@
|
||||||
# Template file for 'python-networkx'
|
# Template file for 'python-networkx'
|
||||||
pkgname=python-networkx
|
pkgname=python-networkx
|
||||||
version=2.0
|
version=2.1
|
||||||
revision=1
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="networkx"
|
pycompile_module="networkx"
|
||||||
wrksrc="${pycompile_module}-${version}"
|
wrksrc="${pycompile_module}-${version}"
|
||||||
hostmakedepends="python-setuptools python3-setuptools unzip"
|
hostmakedepends="python-setuptools python3-setuptools unzip"
|
||||||
depends="python-decorator"
|
depends="python-decorator python-setuptools"
|
||||||
short_desc="Python2 package for creating, manipulating, and studying complex networks"
|
short_desc="Python2 package for creating, manipulating, and studying complex networks"
|
||||||
maintainer="Peter Bui <pbui@github.bx612.space>"
|
maintainer="Peter Bui <pbui@github.bx612.space>"
|
||||||
homepage="http://networkx.github.io"
|
homepage="http://networkx.github.io"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
distfiles="${PYPI_SITE}/n/${pycompile_module}/${pycompile_module}-${version}.zip"
|
distfiles="${PYPI_SITE}/n/${pycompile_module}/${pycompile_module}-${version}.zip"
|
||||||
checksum=cd5ff8f75d92c79237f067e2f0876824645d37f017cfffa5b7c9678cae1454aa
|
checksum=64272ca418972b70a196cb15d9c85a5a6041f09a2f32e0d30c0255f25d458bb1
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
python3 setup.py test
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE.txt
|
vlicense LICENSE.txt
|
||||||
|
@ -22,7 +26,7 @@ post_install() {
|
||||||
python3-networkx_package() {
|
python3-networkx_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
pycompile_module="networkx"
|
pycompile_module="networkx"
|
||||||
depends="python3-decorator"
|
depends="python3-decorator python3-setuptools"
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
|
|
Loading…
Add table
Reference in a new issue