void-packages/srcpkgs/httpie/template

34 lines
1.1 KiB
Bash

# Template file for 'httpie'
pkgname=httpie
version=3.2.2
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
python3-multidict python3-rich"
short_desc="Modern, user-friendly command-line HTTP client for the API era"
maintainer="classabbyamp <void@placeviolette.net>"
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=797fe33afe3bf0a4364a869a7d73f5c728f67d4ac47039be41e08bd564f86bb0
# requires pytest-lazy-fixture (not packaged), many tests fail
make_check=no
post_install() {
for page in http https httpie; do
vman extras/man/$page.1
done
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}"
}