ayaports/user/py3-django-channels/APKBUILD

27 lines
883 B
Text

# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=py3-django-channels
_pyname="channels"
pkgver=3.0.5
pkgrel=0
arch="noarch"
pkgdesc="Developer-friendly asynchrony for Django"
url="https://pypi.python.org/project/$_pyname"
license="BSD-3-Clause"
depends='python3 py3-django py3-asgiref py3-daphne'
makedepends='py3-setuptools'
options="!check" # No testsuite
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir"/$_pyname-$pkgver
build() {
python3 setup.py build
}
package() {
python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build
}
sha512sums="
44bf4eea6764ba116c4db2c85653bdb277389eb5c010d67b19653bb4c1c5c2b2a1fe490d71afb33555a58b626bfb80bb863432a7fb7c404cdfb534c483a27852 py3-django-channels-3.0.5.tar.gz
"