void-packages/srcpkgs/httpie/template
2020-10-10 10:21:40 -04:00

26 lines
868 B
Bash

# Template file for 'httpie'
pkgname=httpie
version=2.2.0
revision=2
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}"
}