APP=python-importlib-metadata
VERSION=4.0.1
BUILD=1sml
HOMEPAGE='https://github.com/python/importlib_metadata'
DESC="python library to import metadata from a python package"
REQUIRES="python-wheel"

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

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

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

  mkfinalpkg
}

SHA512SUMS="
972e2f4bcd6433f603f0c6e23f4dbf4269993a47a5a8f66740e0143df63568ea8ca4ed6aa84587dcf967c6c4ba93e5d5ead9ac9444db9bc6424bd8c238f8335e  importlib_metadata-4.0.1.tar.gz
"
