void-packages/srcpkgs/httpie/template
2018-11-03 19:13:46 +01:00

27 lines
810 B
Bash

# Template file for 'httpie'
pkgname=httpie
version=1.0.0
revision=1
noarch=yes
build_style=python3-module
pycompile_module="httpie"
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="BSD-3-Clause"
distfiles="https://github.com/jakubroztocil/httpie/archive/${version}.tar.gz"
checksum=2ed14abf146743fc237881ed5658c108a43d965ae9f7dbbd72648ae9daad0c46
post_install() {
vinstall extras/httpie-completion.bash 644 usr/share/bash-completion/completions http
vlicense LICENSE
}
python3-httpie_package() {
noarch=yes
build_style=meta
short_desc+=" (transitional dummy package)"
depends="httpie>=${version}_${revision}"
}