[arch-commits] Commit in httpie/repos/community-any (PKGBUILD PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Tue Aug 21 18:41:24 UTC 2018


    Date: Tuesday, August 21, 2018 @ 18:41:24
  Author: eschwartz
Revision: 373165

archrelease: copy trunk to community-any

Added:
  httpie/repos/community-any/PKGBUILD
    (from rev 373164, httpie/trunk/PKGBUILD)
Deleted:
  httpie/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   80 +++++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 46 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-21 18:41:03 UTC (rev 373164)
+++ PKGBUILD	2018-08-21 18:41:24 UTC (rev 373165)
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer: Daniel Micay <danielmicay at gmail.com>
-# Contributor: Thomas Weißschuh <thomas_weissschuh lavabit com>
-
-pkgname=httpie
-pkgver=0.9.9
-pkgrel=4
-pkgdesc="cURL for humans"
-url="https://github.com/jkbr/httpie"
-depends=('python-requests' 'python-pygments' 'python-setuptools')
-checkdepends=('python-pytest')
-conflicts=(python-httpie)
-replaces=(python-httpie python2-httpie)
-license=('BSD')
-arch=('any')
-source=($pkgname-$pkgver.tar.gz::"https://github.com/jkbrzt/httpie/archive/$pkgver.tar.gz")
-sha1sums=('81fa9b74df29b4acc31a8f93ec658e5224f31a5e')
-
-build() {
-  cd $pkgname-$pkgver
-  python3 setup.py build
-}
-
-package() {
-  cd $pkgname-$pkgver
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/httpie/LICENSE"
-  python3 setup.py install --root="$pkgdir" --optimize=1
-}
-
-check() {
-  cd $pkgname-$pkgver
-  # Requires: python-raven python-pbr and pytest-httpbin
-  #python3 setup.py test
-}

Copied: httpie/repos/community-any/PKGBUILD (from rev 373164, httpie/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-21 18:41:24 UTC (rev 373165)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Daniel Micay <danielmicay at gmail.com>
+# Contributor: Thomas Weißschuh <thomas_weissschuh lavabit com>
+
+pkgname=httpie
+pkgver=0.9.9
+pkgrel=5
+pkgdesc="cURL for humans"
+url="https://github.com/jakubroztocil/httpie"
+depends=('python-requests' 'python-pygments' 'python-setuptools')
+checkdepends=('python-pytest' 'python-pytest-httpbin' 'python-mock')
+conflicts=(python-httpie)
+replaces=(python-httpie python2-httpie)
+license=('BSD')
+arch=('any')
+source=($pkgname-$pkgver.tar.gz::"https://github.com/jakubroztocil/httpie/archive/$pkgver.tar.gz"
+        "https://github.com/jakubroztocil/httpie/commit/749b1e2aca11e1ae3e52c8f3894cf0515c917439.patch"
+        "https://github.com/jakubroztocil/httpie/commit/9776a6dea0308e05c23db05b542920ebd6bea6c4.patch")
+sha1sums=('81fa9b74df29b4acc31a8f93ec658e5224f31a5e'
+          'a1caeb5f2ba538bd8bec1ea27d8368ce7b216a76'
+          '2d0245bdecb2ccb122e927b263affed1cad68374')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  # fix for breaking change by https://github.com/pytest-dev/pytest/pull/2849
+  patch -p1 -i ../749b1e2aca11e1ae3e52c8f3894cf0515c917439.patch
+  # https://github.com/jakubroztocil/httpie/pull/584
+  patch -p1 -i ../9776a6dea0308e05c23db05b542920ebd6bea6c4.patch
+}
+
+build() {
+  cd $pkgname-$pkgver
+  python3 setup.py build
+}
+
+package() {
+  cd $pkgname-$pkgver
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/httpie/LICENSE"
+  python3 setup.py install --root="$pkgdir" --optimize=1
+}
+
+check() {
+  cd $pkgname-$pkgver
+  python3 setup.py test
+}



More information about the arch-commits mailing list