34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
# Template file for 'httpie'
|
|
pkgname=httpie
|
|
version=3.2.1
|
|
revision=2
|
|
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=803e1624e005c2f7002802a77ebc687b05375aca76af42639f844405328633eb
|
|
# 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}"
|
|
}
|