void-packages/srcpkgs/python-rebulk/template

32 lines
826 B
Bash

# Template file for 'python-rebulk'
pkgname=python-rebulk
version=1.0.0
revision=1
noarch=yes
wrksrc="rebulk-${version}"
build_style=python-module
pycompile_module="rebulk"
hostmakedepends="python-setuptools python3-setuptools"
depends="python python-six"
short_desc="Define search patterns in bulk to perform advanced matching (Python2)"
maintainer="Daniel Santana <daniel@santana.tech>"
license="MIT"
homepage="https://github.com/Toilal/rebulk"
distfiles="${PYPI_SITE}/r/rebulk/rebulk-${version}.tar.gz"
checksum=1d49e4f7ef6fb874e60efccacbbe661092fabdb7770cdf7f7de4516d50535998
post_install() {
vlicense LICENSE
}
python3-rebulk_package() {
noarch=yes
pycompile_module="rebulk"
depends="python3 python3-six"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}