diff options
-rw-r--r-- | testing/py-vcversioner/APKBUILD | 31 |
1 files changed, 8 insertions, 23 deletions
diff --git a/testing/py-vcversioner/APKBUILD b/testing/py-vcversioner/APKBUILD index 3f464e8457..8a5a96f5b9 100644 --- a/testing/py-vcversioner/APKBUILD +++ b/testing/py-vcversioner/APKBUILD @@ -2,40 +2,25 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=py-vcversioner _pkgname=vcversioner -pkgver=2.14.0.0 +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" -depends="" -depends_dev="" -makedepends="$depends_dev py-setuptools" -install="" -subpackages="" +makedepends="py-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_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 -} +builddir="$srcdir/$_pkgname-$pkgver" build() { - cd "$_builddir" - python2 setup.py build || return 1 + cd "$builddir" + python2 setup.py build } package() { - cd "$_builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + cd "$builddir" + python2 setup.py install --prefix=/usr --root="$pkgdir" } -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" +sha512sums="e4e34693aa813e57991eca01d20102bd2e939b536461e2e9e063ac0e3558580e57d7e8d5e08d010690b3c901c97e53f187f20b48520b333eb492ec33e85757d8 vcversioner-2.16.0.0.tar.gz" |