void-packages/srcpkgs/python-pathspec/template

27 lines
750 B
Bash

# Template file for 'python-pathspec'
pkgname=python-pathspec
version=0.5.5
revision=1
wrksrc="pathspec-${version}"
noarch=yes
pycompile_module="pathspec"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="A Python2 utility library for pattern matching of file paths"
maintainer="Sir_Boops <admin@boops.me>"
license="MPL-2"
homepage="https://pypi.python.org/pypi/pathspec"
distfiles="${PYPI_SITE}/p/pathspec/pathspec-${version}.tar.gz"
checksum=72c495d1bbe76674219e307f6d1c6062f2e1b0b483a5e4886435127d0df3d0d3
python3-pathspec_package() {
noarch=yes
pycompile_module="pathspec"
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}