summaryrefslogtreecommitdiff
path: root/community/py3-regex/APKBUILD
blob: 0f6428d47b81c3905124ba2d21d55210850441b3 (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-regex
pkgver=2022.10.31
pkgrel=1
pkgdesc="More featureful implementation of the 're' module"
url="https://github.com/mrabarnett/mrab-regex"
arch="all"
license="Apache-2.0"
depends="python3"
makedepends="python3-dev py3-setuptools"
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="
d461cddea75f2a8ceb749d7e1a54f3543fe4cb3418976ded26101cb53c333f0e2eabaa824239c89c50c94c6736409566215cb7b6c6c3a0544678d10b6af76cc5  regex-2022.10.31.tar.gz
"