# Description: Work with version specifiers
# URL: https://github.com/dephell/dephell_specifier
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-flit-core

name=python3-dephell-specifier
version=0.3.0
release=1
source=(https://pypi.org/packages/source/d/dephell-specifier/dephell-specifier-$version.tar.gz)

build() {
  cd dephell-specifier-$version

  /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
  /usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
}
