mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/py-aiohttp: new aport
This commit is contained in:
parent
a24ccd7e95
commit
0f9fbafb99
31
testing/py-aiohttp/APKBUILD
Normal file
31
testing/py-aiohttp/APKBUILD
Normal file
@ -0,0 +1,31 @@
|
||||
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
||||
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
||||
pkgname=py-aiohttp
|
||||
_pkgname=aiohttp
|
||||
pkgver=0.21.2
|
||||
pkgrel=0
|
||||
pkgdesc="HTTP client/server for asyncio"
|
||||
url="http://pypi.python.org/pypi/aiohttp"
|
||||
arch="all"
|
||||
license="APACHE"
|
||||
depends="python3 py-chardet"
|
||||
depends_dev=""
|
||||
makedepends="$depends_dev py-setuptools cython-dev python3-dev"
|
||||
install=""
|
||||
subpackages="$pkgname-dev"
|
||||
source="https://pypi.python.org/packages/source/a/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
||||
|
||||
builddir="$srcdir"/$_pkgname-$pkgver
|
||||
build() {
|
||||
cd "$builddir"
|
||||
python3 setup.py build || return
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
python3 setup.py install --root="$pkgdir" --optimize=1 || return 1
|
||||
}
|
||||
|
||||
md5sums="b53e5d6b3e5961b7119f2f500a20904e aiohttp-0.21.2.tar.gz"
|
||||
sha256sums="991e574309815036ca36889a8917005bb795522acd2ba9cc870e07c260c092b5 aiohttp-0.21.2.tar.gz"
|
||||
sha512sums="282f249d94056e65615ec153713f99b34071344fc3effb15b376dc26e5db2b5cf189b07c4007e5b73e4e7fcbca7776a075778b778075fb9071fa8cc9dafb4746 aiohttp-0.21.2.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user