forked from extern/httpie-cli
7989e438d2
* Add documentation about our release process * Fixes * Add company-related tasks, enable back WIP pages * Fix WIP links * Add AOSC OS * Add WIP for AOSC OS * Tweak * Remove maintainers email IDs * Use GH nicknames * Remove useless WIP for brew * Tweaks
34 lines
1011 B
Plaintext
34 lines
1011 B
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.5.0
|
|
pkgrel=0
|
|
pkgdesc="CLI, cURL-like tool"
|
|
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"
|
|
makedepends="py3-setuptools"
|
|
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="3bfe572b03bfde87d5a02f9ba238f9493b32e587c33fd30600a4dd6a45082eedcb2b507c7f1e3e75a423cbdcc1ff0556138897dffb7888d191834994eae9a2aa httpie-2.5.0.tar.gz"
|