mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
33 lines
976 B
Text
33 lines
976 B
Text
# 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=2
|
|
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"
|