# Contributor: Sören Tempel # Maintainer: pkgname=py3-semantic-version pkgver=2.6.0 pkgrel=2 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/v$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="18db9279c2728565b13362c54bedbf569f0878cbe6bb58e631d87ffe7cff7d9131a30a2592cbf511091c03e854851159bbb298fe7469f53e8a2d92cf26ab4d0b py3-semantic-version-2.6.0.tar.gz"