1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-importlib-metadata
5 _commit=009ace37032742922d5fa04c62f04cea703ade2d
7 pkgdesc="Read metadata from Python packages"
8 url="https://importlib-metadata.readthedocs.io"
11 depends=('python-zipp')
12 makedepends=('git' 'python-build' 'python-installer' 'python-setuptools-scm' 'python-wheel')
13 checkdepends=('python-pytest' 'python-pyfakefs' 'python-pip' 'python-tests')
14 source=("git+https://github.com/python/importlib_metadata.git#commit=$_commit")
24 python -m pytest --ignore exercises.py
29 python -m installer -d "$pkgdir" dist/*.whl