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

Felix Yan felixonmars at archlinux.org
Wed May 26 17:31:54 UTC 2021


    Date: Wednesday, May 26, 2021 @ 17:31:54
  Author: felixonmars
Revision: 946832

upgpkg: python-treq 21.5.0-1

Modified:
  python-treq/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-26 17:31:13 UTC (rev 946831)
+++ PKGBUILD	2021-05-26 17:31:54 UTC (rev 946832)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=python-treq
-pkgver=21.1.0
+pkgver=21.5.0
 pkgrel=1
 pkgdesc="A requests-like API built on top of twisted.web's Agent"
 arch=('any')
@@ -8,11 +8,11 @@
 license=('MIT')
 url='https://github.com/twisted/treq'
 depends=('python-incremental' 'python-requests' 'python-pyopenssl' 'python-service-identity'
-         'python-idna' 'python-attrs' 'python-twisted')
+         'python-idna' 'python-attrs' 'python-twisted' 'python-hyperlink')
 makedepends=('python-setuptools' 'httpbin')
 checkdepends=('python-mock')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/twisted/treq/archive/release-$pkgver.tar.gz")
-sha512sums=('9bcca6e4acd316529608654a15e70459693a877920bce262bdce505c2b6ad9397a84b9c4b24a56e123f98975a8271eb9306babd5808d840bff19117d7e64ff3f')
+source=("https://github.com/twisted/treq/archive/release-$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('a1bd7b1eac38b5c713406d6731d0873abd400c1e3dcb637f05a669a9909576df48f1e0d5410af3efde591b7047f3e901297dd592561c6d08870debe263822413')
 
 build() {
   cd treq-release-$pkgver
@@ -21,11 +21,11 @@
 
 check() {
   cd treq-release-$pkgver
-  PYTHONPATH="$PWD/build/lib" trial3 treq
+  PYTHONPATH="$PWD/build/lib" trial treq
 }
 
 package() {
   cd treq-release-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 }



More information about the arch-commits mailing list