user/py3-django-webpack-loader: new aport
This commit is contained in:
parent
5bc511682a
commit
b11a2325ae
1 changed files with 32 additions and 0 deletions
32
user/py3-django-webpack-loader/APKBUILD
Normal file
32
user/py3-django-webpack-loader/APKBUILD
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||||
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||||
|
pkgname=py3-django-webpack-loader
|
||||||
|
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
|
||||||
|
_pkgreal=django-webpack-loader
|
||||||
|
pkgver=3.0.0
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc="Transparently use webpack with django"
|
||||||
|
url="https://pypi.python.org/project/django-webpack-loader"
|
||||||
|
arch="noarch"
|
||||||
|
license="MIT"
|
||||||
|
depends="py3-django"
|
||||||
|
checkdepends="python3-dev"
|
||||||
|
makedepends="py3-setuptools py3-gpep517 py3-wheel"
|
||||||
|
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/d/django-webpack-loader/django-webpack-loader-$pkgver.tar.gz"
|
||||||
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||||
|
subpackages="$pkgname-pyc"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
gpep517 build-wheel \
|
||||||
|
--wheel-dir .dist \
|
||||||
|
--output-fd 3 3>&1 >&2
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
python3 -m installer -d "$pkgdir" \
|
||||||
|
.dist/*.whl
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
1e081261859ad7f51563856c81535f8e052004b856e988d3d8ec57c45ee7643324cc7bae6558f8391fa90038eef1765dde622b337821b05f04fb30d7e3d93a07 py3-django-webpack-loader-3.0.0.tar.gz
|
||||||
|
"
|
Loading…
Reference in a new issue