mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
31 lines
837 B
Text
31 lines
837 B
Text
# Contributor: Dmitry Zakharchenko <dmitz@disroot.org>
|
|
# Maintainer: Dmitry Zakharchenko <dmitz@disroot.org>
|
|
pkgname=py3-grequests
|
|
_pkgname=grequests
|
|
pkgver=0.6.0
|
|
pkgrel=1
|
|
pkgdesc="Asynchronus HTTP requests with gevent"
|
|
url="https://github.com/spyoungtech/grequests"
|
|
arch="noarch"
|
|
license="BSD-2-Clause"
|
|
depends="python3 py3-gevent py3-requests"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-nose"
|
|
source="$_pkgname-$pkgver.tar.gz::https://github.com/spyoungtech/grequests/archive/v$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
nosetests
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
0c635dfc21a9c8d276a7428fd8c01079292a59c6755aa10b76722fafe38e01f622b02a44692335ecc0914ab17b6b3b6806b87092b4293ee9e324536fee55a8ad grequests-0.6.0.tar.gz
|
|
"
|