void-packages/srcpkgs/httpie/template
2020-09-15 14:30:01 -04:00

26 lines
868 B
Bash

# Template file for 'httpie'
pkgname=httpie
version=2.2.0
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools python3-requests python3-Pygments"
short_desc="Human-friendly command line HTTP client"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="BSD-3-Clause"
homepage="https://httpie.org/"
changelog="https://raw.githubusercontent.com/jakubroztocil/httpie/master/CHANGELOG.rst"
distfiles="https://github.com/jakubroztocil/httpie/archive/${version}.tar.gz"
checksum=413894ad9d5d45a2a7839079dcdc0f23b0ea3586502d5014339b957de73d413e
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}"
}