aports/testing/py3-aiohttp-session/APKBUILD

33 lines
981 B
Plaintext

# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-aiohttp-session
_pkgname=aiohttp_session
pkgver=2.12.0
pkgrel=4
pkgdesc="Sessions support for aiohttp"
url="https://aiohttp-session.readthedocs.io/"
arch="noarch"
license="Apache-2.0"
depends="py3-aiohttp"
makedepends="python3-dev py3-setuptools py3-gpep517"
subpackages="$pkgname-pyc"
source="aiohttp-session-$pkgver.tar.gz::https://github.com/aio-libs/aiohttp-session/archive/v$pkgver.tar.gz"
builddir="$srcdir"/aiohttp-session-$pkgver
# Requires packages for tests which are not available
options="!check"
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
gpep517 install-wheel --destdir "$pkgdir" \
.dist/*.whl
}
sha512sums="
42bd608abda7aa09351c30b683310940a01d4f4c0bec20db162720680a608715820c27961cb0814f1e5078965695befaa06136440b2a009eae951a1ab3f339e0 aiohttp-session-2.12.0.tar.gz
"