mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
testing/py3-aiohttp-session: build with gpep517
This commit is contained in:
parent
eb48a5303b
commit
68e094223e
@ -3,29 +3,28 @@
|
|||||||
pkgname=py3-aiohttp-session
|
pkgname=py3-aiohttp-session
|
||||||
_pkgname=aiohttp_session
|
_pkgname=aiohttp_session
|
||||||
pkgver=2.12.0
|
pkgver=2.12.0
|
||||||
pkgrel=3
|
pkgrel=4
|
||||||
pkgdesc="Sessions support for aiohttp"
|
pkgdesc="Sessions support for aiohttp"
|
||||||
url="https://aiohttp-session.readthedocs.io/"
|
url="https://aiohttp-session.readthedocs.io/"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
# Requires packages for tests which are not available
|
|
||||||
options="!check"
|
|
||||||
depends="py3-aiohttp"
|
depends="py3-aiohttp"
|
||||||
makedepends="python3-dev py3-setuptools"
|
makedepends="python3-dev py3-setuptools py3-gpep517"
|
||||||
subpackages="$pkgname-pyc"
|
subpackages="$pkgname-pyc"
|
||||||
source="aiohttp-session-$pkgver.tar.gz::https://github.com/aio-libs/aiohttp-session/archive/v$pkgver.tar.gz"
|
source="aiohttp-session-$pkgver.tar.gz::https://github.com/aio-libs/aiohttp-session/archive/v$pkgver.tar.gz"
|
||||||
builddir="$srcdir"/aiohttp-session-$pkgver
|
builddir="$srcdir"/aiohttp-session-$pkgver
|
||||||
|
# Requires packages for tests which are not available
|
||||||
|
options="!check"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
python3 setup.py build
|
gpep517 build-wheel \
|
||||||
}
|
--wheel-dir .dist \
|
||||||
|
--output-fd 3 3>&1 >&2
|
||||||
check() {
|
|
||||||
python3 setup.py test
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
python3 setup.py install --skip-build --root="$pkgdir"
|
gpep517 install-wheel --destdir "$pkgdir" \
|
||||||
|
.dist/*.whl
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
|
Loading…
Reference in New Issue
Block a user