# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=py-vcversioner _pkgname=vcversioner pkgver=2.14.0.0 pkgrel=0 pkgdesc="Use version control tags to discover version numbers" url="https://pypi.python.org/pypi/vcversioner" arch="noarch" license="ISC" depends="" depends_dev="" makedepends="$depends_dev py-setuptools" install="" subpackages="" source="https://pypi.python.org/packages/source/v/$_pkgname/$_pkgname-$pkgver.tar.gz" _builddir="$srcdir"/$_pkgname-$pkgver prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" python setup.py build || return 1 } package() { cd "$_builddir" python setup.py install --prefix=/usr --root="$pkgdir" || return 1 } md5sums="7848a365ced9941053bc25d9a9f8f4b4 vcversioner-2.14.0.0.tar.gz" sha256sums="acd43686e92e6c8bbeb4f2eef54408567a7adea9692fa72d591eec5357c03b86 vcversioner-2.14.0.0.tar.gz" sha512sums="0d474910f9d0f0dd0c0d0b824bcdf5da7bbb5d2b55691f18107bb0b8a237213a83d8f51f719d4761e1dae9db70e84ef8c264c388ec1995ed0a55a838575e377e vcversioner-2.14.0.0.tar.gz"