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
"
