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

Daurnimator daurnimator at archlinux.org
Mon Nov 2 00:01:07 UTC 2020


    Date: Monday, November 2, 2020 @ 00:01:06
  Author: daurnimator
Revision: 739060

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   81 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 43 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-02 00:00:03 UTC (rev 739059)
+++ PKGBUILD	2020-11-02 00:01:06 UTC (rev 739060)
@@ -1,38 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-# Contributor: Daniel Micay <danielmicay at gmail.com>
-# Contributor: Thomas Weißschuh <thomas_weissschuh lavabit com>
-
-pkgname=httpie
-pkgver=2.3.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=('f25005e2c1cf1c5031e26bc6a4d00820df8b77f5')
-
-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, include them in MANIFEST.in and use data_files in setup.py to install them automatically
-  # TODO: add zsh support
-  install -Dm644 extras/httpie-completion.bash "$pkgdir"/usr/share/bash-completion/completions/http
-  install -Dm644 extras/httpie-completion.fish "$pkgdir"/usr/share/fish/vendor_completions.d/http.fish
-}
-
-check() {
-  cd $pkgname-$pkgver
-  PYTHONDONTWRITEBYTECODE=1 python3 setup.py test
-}

Copied: httpie/repos/community-any/PKGBUILD (from rev 739059, httpie/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-02 00:01:06 UTC (rev 739060)
@@ -0,0 +1,43 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Maintainer: daurnimator <daurnimator at archlinux.org>
+# Contributor: Daniel Micay <danielmicay at gmail.com>
+# Contributor: Thomas Weißschuh <thomas_weissschuh lavabit com>
+
+pkgname=httpie
+pkgver=2.3.0
+pkgrel=2
+pkgdesc="cURL for humans"
+url="https://github.com/jakubroztocil/httpie"
+depends=('python-requests'
+         'python-requests-toolbelt'
+         'python-pygments'
+         'python-pysocks'
+         '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=('f25005e2c1cf1c5031e26bc6a4d00820df8b77f5')
+
+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, include them in MANIFEST.in and use data_files in setup.py to install them automatically
+  # TODO: add zsh support
+  install -Dm644 extras/httpie-completion.bash "$pkgdir"/usr/share/bash-completion/completions/http
+  install -Dm644 extras/httpie-completion.fish "$pkgdir"/usr/share/fish/vendor_completions.d/http.fish
+}
+
+check() {
+  cd $pkgname-$pkgver
+  PYTHONDONTWRITEBYTECODE=1 python3 setup.py test
+}



More information about the arch-commits mailing list