[arch-commits] Commit in python-dulwich/trunk (PKGBUILD)
Daniel M. Capella
polyzen at archlinux.org
Tue Aug 20 18:46:27 UTC 2019
Date: Tuesday, August 20, 2019 @ 18:46:27
Author: polyzen
Revision: 500344
upgpkg: python-dulwich 0.19.13-1
Modified:
python-dulwich/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-08-20 18:16:05 UTC (rev 500343)
+++ PKGBUILD 2019-08-20 18:46:27 UTC (rev 500344)
@@ -1,10 +1,9 @@
# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
# Contributor: Timothée Ravier <tim at siosm.fr>
-_commit=58a7ef6ce1c4c5824aa873932c67c858d1030771
_name=dulwich
pkgname=python-dulwich
-pkgver=0.19.12.r3.g29fc0ac
+pkgver=0.19.13
pkgrel=1
pkgdesc='Pure-Python implementation of the Git file formats and protocols'
arch=('x86_64')
@@ -12,21 +11,21 @@
license=('GPL')
depends=('python-certifi' 'python-urllib3')
checkdepends=('python-mock')
-source=("https://github.com/dulwich/dulwich/archive/$_commit.tar.gz")
-sha512sums=('fef54738d2e6b76ad2d4da5b8f638a5e60b9fc66f47f7ca1e124a6dc3cc380114434c1586bfd24e8f56efa74f7abcaaaeecaf713cff8e38d6e3f82c24836e0b5')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('aa628449c5f594a9a282f4d9e5993fef65481ef5e3b9b6c52ff31200f8f5dc95')
build() {
- cd $_name-$_commit
+ cd $_name-$pkgver
python setup.py build
}
check() {
- cd $_name-$_commit
+ cd $_name-$pkgver
python -m unittest dulwich.tests.test_suite
}
package() {
- cd $_name-$_commit
+ cd $_name-$pkgver
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
More information about the arch-commits
mailing list