blob: 9faec364214ed13bf50776c81e83cfaa52ee49ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Contributor: Philipp Glaum <p@pglaum.de>
# Maintainer: Philipp Glaum <p@pglaum.de>
pkgname=py3-rebulk
_pkgname=rebulk
pkgver=3.1.0
pkgrel=2
pkgdesc="Define simple search patterns in bulk to perform advanced matching on any string"
url="https://pypi.org/project/rebulk/"
arch="noarch"
license="MIT"
depends="python3 py3-regex"
makedepends="py3-setuptools py3-pytest-runner"
checkdepends="py3-pytest"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
py.test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
rm -rf "$pkgdir"/usr/lib/python3*/site-packages/rebulk/test
}
sha512sums="
1b4343c49a998334defa81964aa980168a89e72b5d2f2a3322c08940499713ae438e1e1eadae23f9a6d9e79069829fcbd9ec2535df9c64ee4cc1124319e9c826 rebulk-3.1.0.tar.gz
"
|