38 lines
1.2 KiB
Text
38 lines
1.2 KiB
Text
|
# Maintainer: Joffrey <j-off@live.fr>
|
||
|
|
||
|
pkgbase='python-django-webpack-loader'
|
||
|
pkgname=('python-django-webpack-loader' 'python2-django-webpack-loader')
|
||
|
pkgver='0.6.0'
|
||
|
pkgrel=1
|
||
|
pkgdesc='Transparently use webpack with django'
|
||
|
arch=('any')
|
||
|
url='https://github.com/owais/django-webpack-loader'
|
||
|
license=('MIT')
|
||
|
makedepends=('python-setuptools' 'python2-setuptools')
|
||
|
source=("https://github.com/owais/django-webpack-loader/archive/$pkgver.tar.gz")
|
||
|
sha256sums=('5859d1794a08a02d2453b29a4a5c847bb2e16e415c4b9b13979f7cd90e209005')
|
||
|
|
||
|
package_python-django-webpack-loader() {
|
||
|
depends=(
|
||
|
'python-django'
|
||
|
'python-lxml'
|
||
|
'python-six'
|
||
|
'python-requests'
|
||
|
)
|
||
|
cd "$srcdir/django-webpack-loader-$pkgver"
|
||
|
install -Dm644 './LICENSE' "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||
|
python './setup.py' install --root="$pkgdir" --optimize=1
|
||
|
}
|
||
|
|
||
|
package_python2-django-webpack-loader() {
|
||
|
depends=(
|
||
|
'python2-django'
|
||
|
'python2-lxml'
|
||
|
'python2-six'
|
||
|
'python2-requests'
|
||
|
)
|
||
|
cd "$srcdir/django-webpack-loader-$pkgver"
|
||
|
install -Dm644 './LICENSE' "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||
|
python2 './setup.py' install --root="$pkgdir" --optimize=1
|
||
|
}
|