blob: 8a5a96f5b9ce271b7bb3e5507833d3ef5a6b532f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
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"
|