34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
# Template file for 'httpie'
|
|
pkgname=httpie
|
|
version=3.2.3
|
|
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=91cb6cbd1f9e6115ffc13824e87b2a4d903d76c769859e81924913adbf609c1b
|
|
# 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}"
|
|
}
|