APP=python-regex
VERSION=2021.4.4
BUILD=1sml
HOMEPAGE='https://bitbucket.org/mrabarnett/mrab-regex'
DESC="Alternative to standard regex module supplied by python with additional features"
REQUIRES="python-tqdm"

build() {
  mkandenterbuilddir
  rm -rf regex-$VERSION

  tar xf $SRCDIR/regex-$VERSION.tar.?z*
  cd regex-$VERSION
  fixbuilddirpermissions

  python3 setup.py install --prefix="" --root=$PKG
  cp LICENSE.txt $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
2eff9867639f16ad7894997f399262d653a9ef0bb4e8d40bd977e5c55625cf57b4bb593f84504009a0b3cd50b3876d1938c71fd733c0ad1a076de32b6b4b33b9  regex-2021.4.4.tar.gz
"
