diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD index 0c53c38..a3f1fdb 100644 --- a/trunk/PKGBUILD +++ b/trunk/PKGBUILD @@ -28,8 +28,14 @@ conflicts=(python-httpie) replaces=(python-httpie python2-httpie) license=('BSD') arch=('any') -source=($pkgname-$pkgver.tar.gz::"https://github.com/httpie/httpie/archive/$pkgver.tar.gz") -sha256sums=('803e1624e005c2f7002802a77ebc687b05375aca76af42639f844405328633eb') +source=($pkgname-$pkgver.tar.gz::"https://github.com/httpie/httpie/archive/$pkgver.tar.gz" + https://github.com/httpie/httpie/commit/e73c3e6c249b89496b4f81fa20bb449911da79f1.patch) +sha256sums=('803e1624e005c2f7002802a77ebc687b05375aca76af42639f844405328633eb' + '564cc2627f01c1b1b242e6e538736e539e56ec2ffc278d73d43df6ff04a85f47') + +prepare() { + patch -Np1 -i ../e73c3e6c249b89496b4f81fa20bb449911da79f1.patch -d $pkgname-$pkgver +} build() { cd $pkgname-$pkgver @@ -50,7 +56,7 @@ package() { check() { cd $pkgname-$pkgver PYTHONDONTWRITEBYTECODE=1 pytest \ - -m 'not requires_installation' \ - -k 'not test_stdin_read_warning' \ + -m 'not requires_installation and not requires_external_processes' \ + -k 'not (url_colon_slash_slash_only or quiet_with_check_status_non_zero or (plugins and uninstall) or broken_plugins or existing_and_new_cookies_sent_in_request)' \ tests }