Skip to content
Snippets Groups Projects
Commit 7f19ce25 authored by Fabian Affolter's avatar Fabian Affolter Committed by Timo Teräs
Browse files

testing/py3-aiohttp-session: upgrade to 2.2.0

parent 598de2d3
No related branches found
No related tags found
No related merge requests found
......@@ -2,15 +2,17 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-aiohttp-session
_pkgname=aiohttp_session
pkgver=1.0.1
pkgver=2.2.0
pkgrel=0
pkgdesc="Sessions support for aiohttp"
url="http://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"
source="${pkgname}-${pkgver}.tar.gz::https://github.com/aio-libs/aiohttp-session/archive/v1.0.1.tar.gz"
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() {
......@@ -18,9 +20,14 @@ build() {
python3 setup.py build
}
check() {
cd "$builddir"
python3 setup.py test
}
package() {
cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="3e3ee561737b22fb9dda25c2caa4abd009e5748fbca21f74850046a520ff0d2845b45ba0fa5eac313f11362404b3d31edc8c79644f8a2d128ad2504d9efad27f py3-aiohttp-session-1.0.1.tar.gz"
sha512sums="6215276cb1df0d8db7845ad016895a330835e97f1e6bf58700e090f8b6856dc919743b903ae23cdb091cf280df60954cf4c09ade00ee1471ff4d8901718a8d71 aiohttp-session-2.2.0.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment