httpie: update to 0.9.9

This commit is contained in:
Alessio Sergi 2018-08-06 19:59:59 +02:00
parent 199f1d4d4c
commit 2fd26a0909

View file

@ -1,20 +1,18 @@
# Template file for 'httpie'
pkgname=httpie
version=0.9.8
revision=2
version=0.9.9
revision=1
noarch=yes
build_style=python-module
build_style=python3-module
pycompile_module="httpie"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools python-requests python-Pygments"
short_desc="Human-friendly command line HTTP client (Python2)"
hostmakedepends="python3-setuptools"
depends="python3-setuptools python3-requests python3-Pygments"
short_desc="Human-friendly command line HTTP client"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://httpie.org/"
license="3-clause-BSD"
# distfiles="${PYPI_SITE}/h/httpie/httpie-${version}.tar.gz"
distfiles="https://github.com/jkbrzt/httpie/archive/${version}.tar.gz"
checksum=5ccc65dd8e60a9310f575c1a9600f3cc7daf8704cc88bf6c40118b3659b98dc7
alternatives="httpie:http:/usr/bin/http2"
license="BSD-3-Clause"
distfiles="${PYPI_SITE}/h/httpie/httpie-${version}.tar.gz"
checksum=f1202e6fa60367e2265284a53f35bfa5917119592c2ab08277efc7fffd744fcb
post_install() {
vlicense LICENSE
@ -22,13 +20,7 @@ post_install() {
python3-httpie_package() {
noarch=yes
pycompile_module="httpie"
depends="python3-setuptools python3-requests python3-Pygments"
short_desc="${short_desc/Python2/Python3}"
alternatives="httpie:http:/usr/bin/http3"
pkg_install() {
vmove usr/bin/*3
vmove usr/lib/python3*
vlicense LICENSE
}
build_style=meta
short_desc+=" (transitional dummy package)"
depends="httpie>=${version}_${revision}"
}