aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-regex/APKBUILD
blob: 0759ff97e62c9b63da0d0faf33599ba35d5d389a (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-regex
pkgver=2019.12.9
pkgrel=0
pkgdesc="A more featureful implementation of the 're' module"
url="https://bitbucket.org/mrabarnett/mrab-regex"
arch="all"
license="CNRI-Python"
depends="python3"
makedepends="python3-dev"
options="!check" # no tests
source="https://files.pythonhosted.org/packages/source/r/regex/regex-$pkgver.tar.gz"
builddir="$srcdir/regex-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="ea013f280710e4468d9ef43c602af385b4178fb2c484a1c35e5e06a8edc8f90056eb541872b889fca7a3c8efc90273299146411006324563221e4952182afb21  regex-2019.12.9.tar.gz"