vp-build/srcpkgs/python3-rebulk/template

24 lines
731 B
Bash

# Template file for 'python3-rebulk'
pkgname=python3-rebulk
version=2.0.1
revision=5
wrksrc="rebulk-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3 python3-six"
short_desc="Define search patterns in bulk to perform advanced matching (Python3)"
maintainer="Daniel Santana <daniel@santana.tech>"
license="MIT"
homepage="https://github.com/Toilal/rebulk"
distfiles="${PYPI_SITE}/r/rebulk/rebulk-${version}.tar.gz"
checksum=320ded3cc456347d828f95e9aa5f8bab77ac01943cad024c06012069fe19690a
post_patch() {
# Package does not *need* pytest-runner to build, and Void doesn't have it
vsed -e "/setup_requires/s/['\"]pytest-runner['\"],*//" -i setup.py
}
post_install() {
vlicense LICENSE
}