aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-regex/APKBUILD
blob: a01c7b7e91aae9a71e4d3eb08c168c30e26abe62 (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=2020.2.18
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="4a3eeeebcd564f0ba4ec84e0699388c80f1abfd0468e6805a504ed6c541d0ea6a2bf734bbd33668f85beede42be3beefac6c1cfb4cd3d2a07504046b51219aa3  regex-2020.2.18.tar.gz"