# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=py-vcversioner _pkgname=vcversioner pkgver=2.16.0.0 pkgrel=0 pkgdesc="Use version control tags to discover version numbers" url="https://pypi.python.org/pypi/vcversioner" arch="noarch" license="ISC" makedepends="py-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { cd "$builddir" python2 setup.py build } package() { cd "$builddir" python2 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="e4e34693aa813e57991eca01d20102bd2e939b536461e2e9e063ac0e3558580e57d7e8d5e08d010690b3c901c97e53f187f20b48520b333eb492ec33e85757d8 vcversioner-2.16.0.0.tar.gz"