void-packages/srcpkgs/python-pathspec/template

27 lines
750 B
Bash

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