[arch-commits] Commit in python-django-extensions/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Sun Oct 6 17:06:19 UTC 2019
Date: Sunday, October 6, 2019 @ 17:06:18
Author: alucryd
Revision: 513620
upgpkg: python-django-extensions 2.2.3-1
Modified:
python-django-extensions/trunk/PKGBUILD
----------+
PKGBUILD | 30 +++++++++++++++++++++---------
1 file changed, 21 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-06 17:06:06 UTC (rev 513619)
+++ PKGBUILD 2019-10-06 17:06:18 UTC (rev 513620)
@@ -6,22 +6,34 @@
# Contributor: Schnouki <thomas.jost at gmail.com>
pkgname=python-django-extensions
-pkgver=2.2.1
+pkgver=2.2.3
pkgrel=1
pkgdesc='A collection of custom extensions for the Django Framework'
-arch=('any')
-url='https://github.com/django-extensions/django-extensions'
-license=('MIT')
-depends=('python-django' 'python-six')
-makedepends=('git' 'python-setuptools')
+arch=(any)
+url=https://github.com/django-extensions/django-extensions
+license=(MIT)
+depends=(
+ python-django
+ python-six
+)
+makedepends=(
+ git
+ python-setuptools
+)
optdepends=(
'graphviz: graph_models extension'
'ipython: shell_plus extension'
'python-werkzeug: runserver_plus extension'
)
-source=("git+https://github.com/django-extensions/django-extensions.git#tag=${pkgver}")
-sha256sums=('SKIP')
+source=(git+https://github.com/django-extensions/django-extensions.git#tag=9ccae69ca0c02b8b3c327c5298565d09c9ffb41d)
+sha256sums=(SKIP)
+pkgver() {
+ cd django-extensions
+
+ git describe --tags
+}
+
build() {
cd django-extensions
@@ -31,7 +43,7 @@
package() {
cd django-extensions
- python setup.py install --root="${pkgdir}" --optimize='1' --skip-build
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-django-extensions/
}
More information about the arch-commits
mailing list