void-packages/srcpkgs/python-pathspec/template

27 lines
765 B
Bash

# Template file for 'python-pathspec'
pkgname=python-pathspec
version=0.5.6
revision=1
noarch=yes
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=be664567cf96a718a68b33329862d1e6f6803ef9c48a6e2636265806cfceb29d
python3-pathspec_package() {
noarch=yes
pycompile_module="pathspec"
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}