ayaports/unmaintained/py2-regex/APKBUILD

25 lines
761 B
Text
Raw Permalink Normal View History

2021-06-04 15:24:22 +00:00
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py2-regex
pkgver=2020.4.4
pkgrel=0
pkgdesc="More featureful implementation of the 're' module"
url="https://bitbucket.org/mrabarnett/mrab-regex"
arch="all"
license="CNRI-Python"
depends="python2"
makedepends="python2-dev py2-setuptools"
options="!check" # no tests
source="https://files.pythonhosted.org/packages/source/r/regex/regex-$pkgver.tar.gz"
builddir="$srcdir/regex-$pkgver"
build() {
python2 setup.py build
}
package() {
python2 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="95eadaaffaf87a19b31024ad3cff670d34a31de8b9be430fc276a533a584203842d1634b66a346c4aaecf2407b973bb1ae9c8ee8b48785d03bd5e45a67a271a9 regex-2020.4.4.tar.gz"