aboutsummaryrefslogblamecommitdiffstats
path: root/testing/httpie/APKBUILD
blob: 960d1880fd32578d22457a7d103b3c9a7beabd0d (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                               
            




                                    
                                          
                                       
                                                                                                       
                                   

         
                      
                                          


           
                      
                                                                           

 


                                                                                                                                                                  
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=httpie
pkgver=0.9.6
pkgrel=0
pkgdesc="A CLI, cURL-like tool"
url="https://github.com/jkbr/httpie"
arch="noarch"
license="BSD"
depends="python2 py2-requests py-pygments"
makedepends="python2-dev py-setuptools"
source="https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	python2 setup.py build || return 1
}

package() {
	cd "$builddir"
	python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="f2aa1bcc7b6d899155ea0a9232214eeb  httpie-0.9.6.tar.gz"
sha256sums="a64b90f845544b654495fa9268431dfb74c14c3a855b52937517a70c812f90b1  httpie-0.9.6.tar.gz"
sha512sums="258220fe60a3a9c623ca03bc6fc05e6a19af1dfa40b3a3c23e68502f22e6445965423c073239735a17263ccc63bb2021fba8e3dbe81df881851586e8cf8d7b57  httpie-0.9.6.tar.gz"