[arch-commits] Commit in python-dulwich/trunk (PKGBUILD)

Daniel M. Capella polyzen at gemini.archlinux.org
Wed Jan 5 00:56:46 UTC 2022


    Date: Wednesday, January 5, 2022 @ 00:56:46
  Author: polyzen
Revision: 1093199

upgpkg: python-dulwich 0.20.27-1

Modified:
  python-dulwich/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-04 23:58:06 UTC (rev 1093198)
+++ PKGBUILD	2022-01-05 00:56:46 UTC (rev 1093199)
@@ -3,8 +3,8 @@
 
 _name=dulwich
 pkgname=python-dulwich
-pkgver=0.20.26
-pkgrel=3
+pkgver=0.20.27
+pkgrel=1
 pkgdesc='Pure-Python implementation of the Git file formats and protocols'
 arch=('x86_64')
 url=https://www.dulwich.io
@@ -18,8 +18,8 @@
             'python-pyopenssl: for HTTPS support via urllib3'
             'python-pyinotify: to watch for changes to refs')
 source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
-sha256sums=('38aa50f859c8ea53071a049c3f1d5cc54f7dc60a4136a1ab631756a79f6582b5')
-b2sums=('1f027d98c214210caae687f0d5afa0ffe9d758942b6ef20a9d2823808ed0b857283698daaed492451ac63a718df1bd6a91e53ea521e1943328fcc963140fe752')
+sha256sums=('f5d3fa7659914e7a2b87835a85666c7701d3751f881551653d4cd2560b2a124e')
+b2sums=('73ed04d9fc871a82126e212bdac0eaf235e44aa76f3e54c98bd50f71379fdd3082b2a3af12a22f3276a45909ef17e38a116deb6adfd650cdbfa19afa41803dd1')
 
 build() {
   cd $_name-$pkgver
@@ -28,7 +28,9 @@
 
 check() {
   cd $_name-$pkgver
-  python -m unittest dulwich.tests.test_suite
+  python -m venv --system-site-packages test-env
+  test-env/bin/python setup.py install --optimize=1 --skip-build
+  test-env/bin/python -m unittest dulwich.tests.test_suite
 }
 
 package() {



More information about the arch-commits mailing list