ayaports/testing/py3-django-channels/APKBUILD

42 lines
977 B
Text
Raw Normal View History

2023-01-10 19:12:28 +00:00
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
2021-11-30 21:44:44 +00:00
2023-01-10 19:12:28 +00:00
pkgname=py3-django-channels
_pyname="channels"
pkgver=4.0.0
2021-11-30 21:44:44 +00:00
pkgrel=0
2023-08-11 19:49:05 +00:00
arch="noarch"
2021-11-30 21:44:44 +00:00
pkgdesc="Developer-friendly asynchrony for Django"
url="https://pypi.python.org/project/$_pyname"
2023-01-10 19:12:28 +00:00
license="BSD-3-Clause"
depends="
py3-django
py3-asgiref
py3-daphne
"
makedepends="
py3-setuptools
py3-gpep517
py3-installer
py3-wheel
"
2023-01-10 19:12:28 +00:00
options="!check" # No testsuite
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
2021-11-30 21:44:44 +00:00
builddir="$srcdir"/$_pyname-$pkgver
subpackages="$pkgname-pyc"
2021-11-30 21:44:44 +00:00
build() {
gpep517 build-wheel \
--wheel-dir dist \
--output-fd 3 3>&1 >&2
2021-11-30 21:44:44 +00:00
}
package() {
python3 -m installer -d "$pkgdir" \
dist/*.whl
2021-11-30 21:44:44 +00:00
}
2021-11-30 21:44:44 +00:00
sha512sums="
903d7e8cc95de8d2754afc665dac828cc9ee19f0938f4908a16e40b5b0e18c62bf45380311c0cc318f106e2ba4997bb5784e31c85914779bd76f69473e4636f5 py3-django-channels-4.0.0.tar.gz
2021-11-30 21:44:44 +00:00
"