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

Chih-Hsuan Yen yan12125 at gemini.archlinux.org
Thu Mar 3 12:44:18 UTC 2022


    Date: Thursday, March 3, 2022 @ 12:44:16
  Author: yan12125
Revision: 1140684

upgpkg: python-treq 22.2.0-1; adopt, update, remove unneeded dependency [1] and try to make it reproducible

[1] python-mock is not needed since upstream version 21.5.0 https://github.com/twisted/treq/pull/320

Modified:
  python-treq/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-03 12:44:06 UTC (rev 1140683)
+++ PKGBUILD	2022-03-03 12:44:16 UTC (rev 1140684)
@@ -1,8 +1,9 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
 
 pkgname=python-treq
-pkgver=21.5.0
-pkgrel=3
+pkgver=22.2.0
+pkgrel=1
 pkgdesc="A requests-like API built on top of twisted.web's Agent"
 arch=('any')
 license=('MIT')
@@ -10,9 +11,8 @@
 depends=('python-incremental' 'python-requests' 'python-pyopenssl' 'python-service-identity'
          'python-idna' 'python-attrs' 'python-twisted' 'python-hyperlink')
 makedepends=('python-setuptools' 'httpbin')
-checkdepends=('python-mock')
 source=("https://github.com/twisted/treq/archive/release-$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('a1bd7b1eac38b5c713406d6731d0873abd400c1e3dcb637f05a669a9909576df48f1e0d5410af3efde591b7047f3e901297dd592561c6d08870debe263822413')
+sha512sums=('fa69bde03be083236fee7bd8adfd549578eb46f7dbb51d2a5acb1923a8e7d047d81de0a0c9ac407ac7ac6f11a677ffa57a6203b7fd139534eb698d987f019d69')
 
 build() {
   cd treq-release-$pkgver
@@ -21,7 +21,7 @@
 
 check() {
   cd treq-release-$pkgver
-  PYTHONPATH="$PWD/build/lib" trial treq
+  PYTHONDONTWRITEBYTECODE=1 PYTHONPATH="$PWD/build/lib" trial treq
 }
 
 package() {



More information about the arch-commits mailing list