Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
upgpkg: python-treq 22.2.0-1; adopt, update, remove unneeded dependen…
Browse files Browse the repository at this point in the history
…cy [1] and try to make it reproducible

[1] python-mock is not needed since upstream version 21.5.0 twisted/treq#320

git-svn-id: file:///srv/repos/svn-community/svn@1140684 9fca08f4-af9d-4005-b8df-a31f2cc04f65
  • Loading branch information
yan12125 authored and svntogit committed Mar 3, 2022
1 parent abaff06 commit 7dd8a7c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions trunk/PKGBUILD
@@ -1,18 +1,18 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Maintainer: Chih-Hsuan Yen <yan12125@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')
url='https://github.com/twisted/treq'
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
Expand All @@ -21,7 +21,7 @@ build() {

check() {
cd treq-release-$pkgver
PYTHONPATH="$PWD/build/lib" trial treq
PYTHONDONTWRITEBYTECODE=1 PYTHONPATH="$PWD/build/lib" trial treq
}

package() {
Expand Down

0 comments on commit 7dd8a7c

Please sign in to comment.