>From 04ed560e5fedcd1b523680df7498e92baf997528 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 22 Apr 2017 18:28:37 +0200 Subject: [PATCH 22/34] gnu: Add python-django-bulk-update. * gnu/packages/django.scm (python-django-bulk-update, python2-django-bulk-update): New variables. --- gnu/packages/django.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index e259a75b5..36e6ab885 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -316,3 +316,32 @@ use, simply add the field to one of your models.") (define-public python2-django-jsonfield (package-with-python2 python-django-jsonfield)) + +(define-public python-django-bulk-update + (package + (name "python-django-bulk-update") + (version "1.1.10") + (source (origin + (method url-fetch) + (uri (pypi-uri "django-bulk-update" version)) + (sha256 + (base32 + "0mbng9m7swfc0dnidipbzlxfhlfjrv755dlnha5s4m9mgdxb1fhc")))) + (build-system python-build-system) + (arguments + ;; tests seem to be broken + `(#:tests? #f)) + (native-inputs + `(("six" ,python-six) + ("jsonfield" ,python-django-jsonfield))) + (propagated-inputs + `(("python-django" ,python-django))) + (home-page "https://github.com/aykut/django-bulk-update") + (synopsis "Simple bulk update over Django ORM or with helper function") + (description + "Simple bulk update over Django ORM or with helper function. This +project aims to bulk update given objects using one query over Django ORM.") + (license license:expat))) + +(define-public python2-django-bulk-update + (package-with-python2 python-django-bulk-update)) -- 2.12.2