pkgname=python-semantic-version pkgver=2.10.0 pkgrel=1 pkgdesc="A library implementing the 'SemVer' scheme." arch=('x86_64') url="https://github.com/rbarrois/python-semanticversion" license=('BSD') depends=('python') makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools') source=(https://github.com/rbarrois/python-semanticversion/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) sha256sums=(e234480908f633d2d80fdd97e87699135b2ed2fc9876b7f41d1d4a2d3262a0c4) build() { cd python-semanticversion-${pkgver} python3 -m build --wheel --skip-dependency-check --no-isolation } package() { cd python-semanticversion-${pkgver} python3 -m installer -d ${pkgdir} dist/*.whl }