# Contributor: Sören Tempel # Maintainer: pkgname=py3-semantic-version pkgver=2.8.5 pkgrel=0 pkgdesc="A library implementing the 'SemVer' scheme" url="https://github.com/rbarrois/python-semanticversion" arch="noarch" license="BSD-2-Clause" depends="python3" makedepends="py3-setuptools" source="$pkgname-$pkgver.tar.gz::https://github.com/rbarrois/python-semanticversion/archive/$pkgver.tar.gz" builddir="$srcdir/python-semanticversion-$pkgver" replaces=py-semanticversion # Backwards compatibility provides=py-semanticversion=$pkgver-r$pkgrel # Backwards compatibility build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="e59508b12ac0f1b46f1d97f633f5bead99c41542c51c2714a4074eda9da6a04cd103be20eafd031b541834b6ee99b4f9f9ee9baec58b9f8a313d0c727aeab68d py3-semantic-version-2.8.5.tar.gz"