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

Jelle van der Waa jelle at archlinux.org
Sun Nov 4 20:12:05 UTC 2018


    Date: Sunday, November 4, 2018 @ 20:12:04
  Author: jelle
Revision: 401520

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   88 +++++++++++++++++++++++++------------------------------------
 1 file changed, 37 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-04 20:11:47 UTC (rev 401519)
+++ PKGBUILD	2018-11-04 20:12:04 UTC (rev 401520)
@@ -1,51 +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=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
-}

Copied: httpie/repos/community-any/PKGBUILD (from rev 401519, httpie/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-04 20:12:04 UTC (rev 401520)
@@ -0,0 +1,37 @@
+# Maintainer: Daniel Micay <danielmicay at gmail.com>
+# Contributor: Thomas Weißschuh <thomas_weissschuh lavabit com>
+
+pkgname=httpie
+pkgver=1.0.0
+pkgrel=1
+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")
+sha1sums=('0470bda0eb5aff60ec48b0728eeec01987e92794')
+
+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