[arch-commits] Commit in python-django-picklefield/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Wed Jan 29 09:21:28 UTC 2020


    Date: Wednesday, January 29, 2020 @ 09:21:27
  Author: alucryd
Revision: 558494

upgpkg: python-django-picklefield 2.1.1-1

Modified:
  python-django-picklefield/trunk/PKGBUILD

----------+
 PKGBUILD |   29 +++++++++++++++++++----------
 1 file changed, 19 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-29 09:17:57 UTC (rev 558493)
+++ PKGBUILD	2020-01-29 09:21:27 UTC (rev 558494)
@@ -1,17 +1,26 @@
 # Maintainer: Maxime Gauduin <alucryd at archlinux.org>
 
 pkgname=python-django-picklefield
-pkgver=2.0.0
-pkgrel=3
+pkgver=2.1.1
+pkgrel=1
 pkgdesc='A pickled object field for Django'
-arch=('any')
-url='https://github.com/gintas/django-picklefield'
-license=('MIT')
-depends=('python-django')
-makedepends=('git' 'python-setuptools')
-source=("git+https://github.com/gintas/django-picklefield.git#tag=v${pkgver}")
-sha256sums=('SKIP')
+arch=(any)
+url=https://github.com/gintas/django-picklefield
+license=(MIT)
+depends=(python-django)
+makedepends=(
+  git
+  python-setuptools
+)
+source=(git+https://github.com/gintas/django-picklefield.git#tag=2405a2afcd4cd2161e1393eaae525779ff6801b3)
+sha256sums=(SKIP)
 
+pkgver() {
+  cd django-picklefield
+
+  git describe --tags | sed 's/^v//'
+}
+
 build() {
   cd django-picklefield
 
@@ -21,7 +30,7 @@
 package() {
   cd django-picklefield
 
-  python setup.py install --skip-build --root="${pkgdir}" --optimize='1' --skip-build
+  python setup.py install --skip-build --root="${pkgdir}" --optimize=1 --skip-build
   install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-django-picklefield/
 }
 



More information about the arch-commits mailing list