[arch-commits] Commit in python-dulwich/trunk (PKGBUILD)
Daniel M. Capella
polyzen at archlinux.org
Thu Aug 15 04:00:07 UTC 2019
Date: Thursday, August 15, 2019 @ 04:00:07
Author: polyzen
Revision: 499325
upgpkg: python-dulwich 0.19.12.r3.g29fc0ac-1
29fc0ac commit needed to fix test failure.
Modified:
python-dulwich/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-08-15 03:58:57 UTC (rev 499324)
+++ PKGBUILD 2019-08-15 04:00:07 UTC (rev 499325)
@@ -1,9 +1,10 @@
# 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.11
+pkgver=0.19.12.r3.g29fc0ac
pkgrel=1
pkgdesc='Pure-Python implementation of the Git file formats and protocols'
arch=('x86_64')
@@ -11,21 +12,21 @@
license=('GPL')
depends=('python-certifi' 'python-urllib3')
checkdepends=('python-mock')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
-sha256sums=('afbe070f6899357e33f63f3f3696e601731fef66c64a489dea1bc9f539f4a725')
+source=("https://github.com/dulwich/dulwich/archive/$_commit.tar.gz")
+sha512sums=('fef54738d2e6b76ad2d4da5b8f638a5e60b9fc66f47f7ca1e124a6dc3cc380114434c1586bfd24e8f56efa74f7abcaaaeecaf713cff8e38d6e3f82c24836e0b5')
build() {
- cd $_name-$pkgver
+ cd $_name-$_commit
python setup.py build
}
check() {
- cd $_name-$pkgver
+ cd $_name-$_commit
python -m unittest dulwich.tests.test_suite
}
package() {
- cd $_name-$pkgver
+ cd $_name-$_commit
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
More information about the arch-commits
mailing list