void-packages/srcpkgs/httpie/template
Mickaël Schoentgen 351bd00a7b httpie: update to 2.6.0
Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
Co-authored-by: Érico Nogueira Rolim <34201958+ericonr@users.noreply.github.com>
2021-10-15 11:15:25 -03:00

30 lines
1 KiB
Bash

# Template file for 'httpie'
pkgname=httpie
version=2.6.0
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools python3-requests python3-requests-toolbelt
python3-Pygments python3-pysocks python3-defusedxml
python3-charset-normalizer"
short_desc="Modern, user-friendly command-line HTTP client for the API era"
maintainer="Mickaël Schoentgen <mickael@apible.io>"
license="BSD-3-Clause"
homepage="https://httpie.io/"
changelog="https://raw.githubusercontent.com/httpie/httpie/master/CHANGELOG.md"
distfiles="https://github.com/httpie/httpie/archive/${version}.tar.gz"
checksum=3bcd9a8cb2b11299da12d3af36c095c6d4b665e41c395898a07f1ae4d99fc14a
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}"
}