aboutsummaryrefslogtreecommitdiffstats
path: root/community/httpie/APKBUILD
blob: fe41cb43beee80bb1814825096d3c70190975af2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
# Contributor: Daniel Isaksen <d@duniel.no>
pkgname=httpie
pkgver=1.0.3
pkgrel=0
pkgdesc="A CLI, cURL-like tool"
url="https://httpie.org/"
arch="noarch"
license="BSD-3-Clause"
depends="python3 py3-requests py3-pygments"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/h/httpie/httpie-$pkgver.tar.gz"

# secfixes:
#   1.0.3-r0:
#     - CVE-2019-10751

check() {
	python3 setup.py check
}

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="b51779e0ec8f24108ee3f4bf690dc9dfddafff42509d1aa3d13ac12d65a93e02aad9644dc10134ebdbebf949b250cb288650a4dad3d382143e9ad3b9b0ac8c16  httpie-1.0.3.tar.gz"