# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-python-versioneer
pkgver=0.29
pkgrel=1
pkgdesc="Version-string management for VCS-controlled trees "
url="https://github.com/python-versioneer/python-versioneer"
arch="noarch"
license="Unlicense"
depends="python3"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://github.com/python-versioneer/python-versioneer/archive/$pkgver/python-versioneer-$pkgver.tar.gz"
options="!check" # Requires Python 3.6 or lower
builddir="$srcdir/python-versioneer-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
36bc69021c7d6c2bfa96b35e797336f8807908fc9ca3948241c18266984ca77af3141d7ff98525168e9c3604f62268b7964627bd211e04e9c0732cde56b62841  python-versioneer-0.29.tar.gz
"
