void-packages/srcpkgs/python-pathspec/template

31 lines
808 B
Bash

# Template file for 'python-pathspec'
pkgname=python-pathspec
version=0.6.0
revision=2
archs=noarch
wrksrc="pathspec-${version}"
build_style=python-module
pycompile_module="pathspec"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python2 utility library for pattern matching of file paths"
maintainer="Sir_Boops <admin@boops.me>"
license="MPL-2.0"
homepage="https://github.com/cpburnz/python-path-specification"
distfiles="${PYPI_SITE}/p/pathspec/pathspec-${version}.tar.gz"
checksum=e285ccc8b0785beadd4c18e5708b12bb8fcf529a1e61215b3feff1d1e559ea5c
do_check() {
python3 setup.py test
}
python3-pathspec_package() {
archs=noarch
pycompile_module="pathspec"
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}