aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-aiohttp-session/APKBUILD
blob: ed7aafb96441501c5f3f7e5b7fa9c3c5286b1e99 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-aiohttp-session
_pkgname=aiohttp_session
pkgver=2.2.0
pkgrel=1
pkgdesc="Sessions support for aiohttp"
url="https://aiohttp-session.readthedocs.io/"
arch="noarch"
license="Apache-2.0"
# Requires packages for tests which are not available
options="!check"
depends="py3-aiohttp"
makedepends="python3-dev py3-setuptools"
source="aiohttp-session-${pkgver}.tar.gz::https://github.com/aio-libs/aiohttp-session/archive/v$pkgver.tar.gz"
builddir="$srcdir"/aiohttp-session-$pkgver

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py test
}

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

sha512sums="6215276cb1df0d8db7845ad016895a330835e97f1e6bf58700e090f8b6856dc919743b903ae23cdb091cf280df60954cf4c09ade00ee1471ff4d8901718a8d71  aiohttp-session-2.2.0.tar.gz"