diff options
author | Daniel Isaksen <d@duniel.no> | 2017-12-17 19:00:08 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-12-18 12:30:15 +0000 |
commit | 512f4edfed0d7aa9ff8ddfb3ebe9b53eed1cf49f (patch) | |
tree | 8dc640498b8324e04641d5abd6eaf4932f2cf1fd | |
parent | 46692a96ead0b7204909df8afc424d1c01a5919a (diff) | |
download | aports-512f4edfed0d7aa9ff8ddfb3ebe9b53eed1cf49f.tar.bz2 aports-512f4edfed0d7aa9ff8ddfb3ebe9b53eed1cf49f.tar.xz |
testing/httpie: new aport
-rw-r--r-- | testing/httpie/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/httpie/APKBUILD b/testing/httpie/APKBUILD new file mode 100644 index 0000000000..774b83795e --- /dev/null +++ b/testing/httpie/APKBUILD @@ -0,0 +1,29 @@ +# Maintainer: Daniel Isaksen <d@duniel.no> +pkgname=httpie +pkgver=0.9.8 +pkgrel=0 +pkgdesc="HTTPie is a command line HTTP client with an intuitive UI, JSON support, syntax highlighting and more" +url="https://httpie.org/" +arch="noarch" +license="BSD-3-Clause" +depends="py3-requests py3-pygments" +makedepends="" +source="$pkgname-$pkgver.tar.gz::https://github.com/jakubroztocil/$pkgname/archive/0.9.8.tar.gz" +builddir="$srcdir"/$pkgname-$pkgver + +check() { + cd "$builddir" + python3 setup.py check +} + +build() { + cd "$builddir" + python3 setup.py build +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="dbf0bc1688f6fce99c245375b2059ab44c9d1b3dddd2144fab264545545d34b38d572017f468896d6e8cd8eeb94798ed625a085449b0fe0ddbb8b775c119413c httpie-0.9.8.tar.gz" |