34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
# Template file for 'httpie'
|
|
pkgname=httpie
|
|
version=3.2.4
|
|
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="Orphaned <orphan@voidlinux.org>"
|
|
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=b185cd8d81325f97c773582e50f1c5e047c2d8575b53d676469c9daf2a52f341
|
|
# 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}"
|
|
}
|