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

Jelle van der Waa jelle at archlinux.org
Tue Aug 28 20:29:46 UTC 2018


    Date: Tuesday, August 28, 2018 @ 20:29:46
  Author: jelle
Revision: 375019

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   97 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 51 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-28 20:28:27 UTC (rev 375018)
+++ PKGBUILD	2018-08-28 20:29:46 UTC (rev 375019)
@@ -1,46 +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=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
-}

Copied: httpie/repos/community-any/PKGBUILD (from rev 375018, httpie/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-28 20:29:46 UTC (rev 375019)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Daniel Micay <danielmicay at gmail.com>
+# Contributor: Thomas Weißschuh <thomas_weissschuh lavabit com>
+
+pkgname=httpie
+pkgver=0.9.9
+pkgrel=6
+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
+
+  # Fix upstream, inclide them in MANIFEST.in and use data_files in setup.py to install them automatically
+  # TODO: add zsh support
+  install -d $pkgdir/usr/share/bash-completion/completions
+  install -Dm644 extras/httpie-completion.bash $pkgdir/usr/share/bash-completion/completions/http
+}
+
+check() {
+  cd $pkgname-$pkgver
+  python3 setup.py test
+}



More information about the arch-commits mailing list