void-packages/srcpkgs/python-pathspec/template

27 lines
765 B
Bash

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