forked from extern/httpie-cli
419427cfb6
* Update Alpine package * Add charset-normalizer deps for Alpine It currently does not exist. We will need to add it ourselves. * Update Gentoo package * Update Brew formula * Update MacPorts port * Fix Gentoo deps * Update examples * Update Void Linux package * Update Void Linux commands * Update Chocolateur package * Review DEbian packaging details * Simplify Void Linux package * Update more packages * Update summary everywhere * Remove temporary file * Update Chocolatey package URL * Updates * Update Spack
42 lines
1.0 KiB
Plaintext
42 lines
1.0 KiB
Plaintext
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Contributor: Daniel Isaksen <d@duniel.no>
|
|
# Contributor: Mickaël Schoentgen <mickael@apible.io>
|
|
pkgname=httpie
|
|
pkgver=2.6.0
|
|
pkgrel=0
|
|
pkgdesc="Modern, user-friendly command-line HTTP client for the API era"
|
|
url="https://httpie.org/"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="
|
|
python3
|
|
py3-setuptools
|
|
py3-requests
|
|
py3-pygments
|
|
py3-requests-toolbelt
|
|
py3-pysocks
|
|
py3-defusedxml
|
|
py3-charset-normalizer
|
|
"
|
|
checkdepends="py3-pytest py3-pytest-httpbin py3-responses"
|
|
source="https://files.pythonhosted.org/packages/source/h/httpie/httpie-$pkgver.tar.gz"
|
|
|
|
# secfixes:
|
|
# 1.0.3-r0:
|
|
# - CVE-2019-10751
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 -m pytest ./httpie ./tests
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="a38e9769c1994fcb4e5f898e5a72283c636ea155f1fc4d594eb59c43fe98115335dec4fddd6d4e396bd11b674715c573d2fc40c4afb732ba31da0cb8e2068fd2 httpie-2.6.0.tar.gz"
|