2021-10-06 16:45:44 +02:00
|
|
|
# Template file for 'httpie'
|
|
|
|
pkgname=httpie
|
2021-10-19 10:18:35 +02:00
|
|
|
version=2.6.0
|
2021-10-06 16:45:44 +02:00
|
|
|
revision=1
|
|
|
|
build_style=python3-module
|
|
|
|
hostmakedepends="python3-setuptools"
|
|
|
|
depends="python3-setuptools python3-requests python3-requests-toolbelt
|
2021-10-19 10:18:35 +02:00
|
|
|
python3-Pygments python3-pysocks python3-defusedxml
|
|
|
|
python3-charset-normalizer"
|
|
|
|
short_desc="Modern, user-friendly command-line HTTP client for the API era"
|
2021-10-25 16:25:59 +02:00
|
|
|
maintainer="Jakub Roztocil <jakub@roztocil.co>"
|
2021-10-06 16:45:44 +02:00
|
|
|
license="BSD-3-Clause"
|
|
|
|
homepage="https://httpie.io/"
|
2021-10-19 10:18:35 +02:00
|
|
|
changelog="https://raw.githubusercontent.com/httpie/httpie/master/CHANGELOG.md"
|
2021-10-06 16:45:44 +02:00
|
|
|
distfiles="https://github.com/httpie/httpie/archive/${version}.tar.gz"
|
2021-10-19 10:18:35 +02:00
|
|
|
checksum=3bcd9a8cb2b11299da12d3af36c095c6d4b665e41c395898a07f1ae4d99fc14a
|
2021-10-06 16:45:44 +02:00
|
|
|
make_check=no # needs pytest_httpbin which is not packaged
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vcompletion extras/httpie-completion.bash bash http
|
|
|
|
vcompletion extras/httpie-completion.fish fish http
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|
|
|
|
|
|
|
|
python3-httpie_package() {
|
|
|
|
build_style=meta
|
|
|
|
short_desc+=" (transitional dummy package)"
|
|
|
|
depends="httpie>=${version}_${revision}"
|
|
|
|
}
|