summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD26
2 files changed, 16 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 28b14bbea33..d7a9fe8b22a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,6 @@
-# Generated by mksrcinfo v8
-# Fri Feb 3 12:48:32 UTC 2017
pkgbase = python-django-crispy-forms
pkgdesc = DRY Django forms
- pkgver = 1.6.1
+ pkgver = 1.7.2
pkgrel = 1
url = https://github.com/django-crispy-forms/django-crispy-forms
arch = any
@@ -11,8 +9,8 @@ pkgbase = python-django-crispy-forms
makedepends = python-django
makedepends = python2-setuptools
makedepends = python2-django
- source = python-django-crispy-forms-1.6.1.tar.gz::https://github.com/django-crispy-forms/django-crispy-forms/archive/1.6.1.tar.gz
- sha256sums = 84f70d6cd0f9b7baf69d010fe493ad82e9e4ea7a385eb4dc42e3d9187866a716
+ source = python-django-crispy-forms-1.7.2.tar.gz::https://github.com/django-crispy-forms/django-crispy-forms/archive/1.7.2.tar.gz
+ sha256sums = c42f8a388e152ac403b9129db3c65a1deccd23f98b43efc4ad4644d2c823cce0
pkgname = python-django-crispy-forms
depends = python-django
diff --git a/PKGBUILD b/PKGBUILD
index 1086f17717c..6bc7ee9eb27 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,27 +2,27 @@
# Maintainer: Simon Hanna <simon dot hanna AT serve-me DOT info>
pkgbase=python-django-crispy-forms
-pkgname=($pkgbase 'python2-django-crispy-forms')
-pkgver=1.6.1
+pkgname=(${pkgbase} 'python2-django-crispy-forms')
+pkgver=1.7.2
pkgrel=1
pkgdesc='DRY Django forms'
arch=('any')
url='https://github.com/django-crispy-forms/django-crispy-forms'
license=('MIT')
makedepends=('python-setuptools' 'python-django' 'python2-setuptools' 'python2-django')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/django-crispy-forms/django-crispy-forms/archive/$pkgver.tar.gz")
-sha256sums=('84f70d6cd0f9b7baf69d010fe493ad82e9e4ea7a385eb4dc42e3d9187866a716')
+source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/django-crispy-forms/django-crispy-forms/archive/${pkgver}.tar.gz")
+sha256sums=('c42f8a388e152ac403b9129db3c65a1deccd23f98b43efc4ad4644d2c823cce0')
prepare() {
- cp -r django-crispy-forms-$pkgver django-crispy-forms-$pkgver-python2
+ cp -r django-crispy-forms-${pkgver} django-crispy-forms-${pkgver}-python2
}
build() {
- cd $srcdir/django-crispy-forms-$pkgver
+ cd ${srcdir}/django-crispy-forms-${pkgver}
python setup.py build
- cd $srcdir/django-crispy-forms-$pkgver-python2
+ cd ${srcdir}/django-crispy-forms-${pkgver}-python2
python2 setup.py build
}
@@ -31,10 +31,10 @@ package_python-django-crispy-forms() {
depends=('python-django')
- cd django-crispy-forms-$pkgver
- python setup.py install --root $pkgdir --optimize=1
+ cd django-crispy-forms-${pkgver}
+ python setup.py install --root ${pkgdir} --optimize=1
- install -Dm644 $srcdir/django-crispy-forms-$pkgver/LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
+ install -Dm644 ${srcdir}/django-crispy-forms-${pkgver}/LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
@@ -42,9 +42,9 @@ package_python2-django-crispy-forms() {
depends=('python2-django')
- cd django-crispy-forms-$pkgver-python2
- python2 setup.py install --root $pkgdir --optimize=1
+ cd django-crispy-forms-${pkgver}-python2
+ python2 setup.py install --root ${pkgdir} --optimize=1
- install -Dm644 $srcdir/django-crispy-forms-$pkgver-python2/LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
+ install -Dm644 ${srcdir}/django-crispy-forms-${pkgver}-python2/LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}