1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 18:25:41 +03:00
aports/community/py3-regex/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

26 lines
762 B
Text

# 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 --skip-build --root="$pkgdir"
}
sha512sums="
d461cddea75f2a8ceb749d7e1a54f3543fe4cb3418976ded26101cb53c333f0e2eabaa824239c89c50c94c6736409566215cb7b6c6c3a0544678d10b6af76cc5 regex-2022.10.31.tar.gz
"