void-packages/srcpkgs/python-rebulk/template
2020-05-02 23:56:31 +02:00

29 lines
777 B
Bash

# Template file for 'python-rebulk'
pkgname=python-rebulk
version=2.0.1
revision=1
archs=noarch
wrksrc="rebulk-${version}"
build_style=python-module
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=320ded3cc456347d828f95e9aa5f8bab77ac01943cad024c06012069fe19690a
post_install() {
vlicense LICENSE
}
python3-rebulk_package() {
archs=noarch
depends="python3 python3-six"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}