testing/py3-django-channels: move from user
This commit is contained in:
parent
ecdd3778a7
commit
c6d52607b8
1 changed files with 18 additions and 4 deletions
|
@ -9,19 +9,33 @@ arch="noarch"
|
||||||
pkgdesc="Developer-friendly asynchrony for Django"
|
pkgdesc="Developer-friendly asynchrony for Django"
|
||||||
url="https://pypi.python.org/project/$_pyname"
|
url="https://pypi.python.org/project/$_pyname"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
depends='python3 py3-django py3-asgiref py3-daphne'
|
depends="
|
||||||
makedepends='py3-setuptools'
|
py3-django
|
||||||
|
py3-asgiref
|
||||||
|
py3-daphne
|
||||||
|
"
|
||||||
|
makedepends="
|
||||||
|
py3-setuptools
|
||||||
|
py3-gpep517
|
||||||
|
py3-installer
|
||||||
|
py3-wheel
|
||||||
|
"
|
||||||
options="!check" # No testsuite
|
options="!check" # No testsuite
|
||||||
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
|
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
|
||||||
builddir="$srcdir"/$_pyname-$pkgver
|
builddir="$srcdir"/$_pyname-$pkgver
|
||||||
|
subpackages="$pkgname-pyc"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
python3 setup.py build
|
gpep517 build-wheel \
|
||||||
|
--wheel-dir dist \
|
||||||
|
--output-fd 3 3>&1 >&2
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build
|
python3 -m installer -d "$pkgdir" \
|
||||||
|
dist/*.whl
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
903d7e8cc95de8d2754afc665dac828cc9ee19f0938f4908a16e40b5b0e18c62bf45380311c0cc318f106e2ba4997bb5784e31c85914779bd76f69473e4636f5 py3-django-channels-4.0.0.tar.gz
|
903d7e8cc95de8d2754afc665dac828cc9ee19f0938f4908a16e40b5b0e18c62bf45380311c0cc318f106e2ba4997bb5784e31c85914779bd76f69473e4636f5 py3-django-channels-4.0.0.tar.gz
|
||||||
"
|
"
|
Loading…
Reference in a new issue