2021-11-30 21:44:44 +00:00
|
|
|
# Maintainer: Antoine Martin <dev@ayakael.net>
|
|
|
|
|
|
|
|
_pyname=channels
|
|
|
|
pkgname="py3-django-$_pyname"
|
2022-12-27 20:40:33 +00:00
|
|
|
pkgver=4.0.0
|
2021-11-30 21:44:44 +00:00
|
|
|
pkgrel=0
|
|
|
|
arch='noarch'
|
|
|
|
pkgdesc="Developer-friendly asynchrony for Django"
|
|
|
|
url="https://pypi.python.org/project/$_pyname"
|
|
|
|
license="BSD"
|
|
|
|
depends='python3 py3-django py3-asgiref py3-daphne'
|
|
|
|
makedepends='py3-setuptools'
|
|
|
|
options="!check"
|
|
|
|
source="${pkgname}-${pkgver}.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-${pkgver}.tar.gz"
|
|
|
|
builddir="$srcdir"/$_pyname-$pkgver
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$builddir"
|
|
|
|
|
|
|
|
python3 setup.py build
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$builddir"
|
|
|
|
|
|
|
|
python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build
|
|
|
|
|
|
|
|
install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
|
|
|
|
}
|
|
|
|
sha512sums="
|
2022-12-27 20:40:33 +00:00
|
|
|
903d7e8cc95de8d2754afc665dac828cc9ee19f0938f4908a16e40b5b0e18c62bf45380311c0cc318f106e2ba4997bb5784e31c85914779bd76f69473e4636f5 py3-django-channels-4.0.0.tar.gz
|
2021-11-30 21:44:44 +00:00
|
|
|
"
|