summaryrefslogblamecommitdiff
path: root/user/py3-requests/APKBUILD
blob: a82061ee283cebba3b62eb129397a4f0b017bcad (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                         

                                         

                        

                      
             

                                           
                                    


                                                
                                                              

                         
                                                                                              


                                    




                              


                                                               
                                                                                                                                                                     
# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Contributor: zlg <zlg+adelie@zlg.space>
# Maintainer:
pkgname=py3-requests
_pkgname=${pkgname#py3-}
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
pkgver=2.22.0
pkgrel=0
pkgdesc="A HTTP request library for Python"
url="https://2.python-requests.org/"
arch="noarch"
license="Apache-2.0"
options="!check" # tests connect to remote sites
depends="python3 py3-chardet py3-idna py3-certifi py3-urllib3"
makedepends="python3-dev"
subpackages=""
source="https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

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

sha512sums="8b8e9da8a0c816fb4ff39be89ac7e1a9d5a99503ed93e44a0d78b28818f1c0eb253b151972a144151a616ba1b4bc5595245458a8268c5161391db54f740ac9a5  requests-2.22.0.tar.gz"