void-packages/srcpkgs/python3-networkx/template

24 lines
655 B
Bash

# Template file for 'python3-networkx'
pkgname=python3-networkx
version=2.5
revision=1
wrksrc="networkx-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools unzip"
depends="python3-decorator"
checkdepends="python3-decorator python3-pytest"
short_desc="Python3 package for creating and manipulating graphs and networks"
maintainer="Peter Bui <pbui@github.bx612.space>"
license="BSD-3-Clause"
homepage="https://networkx.github.io/"
distfiles="${PYPI_SITE}/n/networkx/networkx-${version}.tar.gz"
checksum=7978955423fbc9639c10498878be59caf99b44dc304c2286162fd24b458c1602
do_check() {
pytest
}
post_install() {
vlicense LICENSE.txt
}