aboutsummaryrefslogblamecommitdiffstats
path: root/community/httpie/APKBUILD
blob: 8c34213fc4ff60a4e3b4170b32e0af8fd3f5c7db (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>
# Contributor: Daniel Isaksen <d@duniel.no>
pkgname=httpie
pkgver=1.0.2
pkgrel=1
pkgdesc="A CLI, cURL-like tool"
url="https://httpie.org/"
arch="noarch"
license="BSD-3-Clause"
depends="python3 py3-requests py3-pygments"
makedepends="python3-dev"
source="https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.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="cc0f2b8928d68bdd0c4eba96f499365d294429e909d91538c48f5028a55ca4a7ba41abdb94ef851459799f437457639b43ba408bb6336702d6042e7e5d5a9cbf  httpie-1.0.2.tar.gz"