[arch-commits] Commit in httpie/repos/community-any (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at gemini.archlinux.org
Thu Oct 14 11:06:51 UTC 2021
Date: Thursday, October 14, 2021 @ 11:06:50
Author: jelle
Revision: 1030104
archrelease: copy trunk to community-any
Added:
httpie/repos/community-any/PKGBUILD
(from rev 1030103, httpie/trunk/PKGBUILD)
Deleted:
httpie/repos/community-any/PKGBUILD
----------+
PKGBUILD | 94 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 47 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-10-14 11:06:42 UTC (rev 1030103)
+++ PKGBUILD 2021-10-14 11:06:50 UTC (rev 1030104)
@@ -1,47 +0,0 @@
-# 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.5.0
-pkgrel=1
-pkgdesc="cURL for humans"
-url="https://github.com/jakubroztocil/httpie"
-depends=('python-defusedxml'
- 'python-pygments'
- 'python-pysocks'
- 'python-requests'
- 'python-requests-toolbelt')
-makedepends=('python-setuptools')
-checkdepends=('python-mock'
- 'python-pytest'
- 'python-pytest-httpbin'
- 'python-responses')
-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=('2662bbf09f5e657949589fac9dbcdcb5760399d8')
-
-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 1030103, httpie/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-10-14 11:06:50 UTC (rev 1030104)
@@ -0,0 +1,47 @@
+# 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.6.0
+pkgrel=1
+pkgdesc="human-friendly CLI HTTP client for the API era"
+url="https://github.com/httpie/httpie"
+depends=('python-defusedxml'
+ 'python-pygments'
+ 'python-pysocks'
+ 'python-requests'
+ 'python-requests-toolbelt'
+ 'python-charset-normalizer')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest'
+ 'python-pytest-httpbin'
+ 'python-responses')
+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=('3bcd9a8cb2b11299da12d3af36c095c6d4b665e41c395898a07f1ae4d99fc14a')
+
+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 pytest tests
+}
More information about the arch-commits
mailing list