guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

38/46: gnu: python-django-testing: Update to 0.5.0.


From: guix-commits
Subject: 38/46: gnu: python-django-testing: Update to 0.5.0.
Date: Tue, 21 Jul 2020 08:49:46 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 18f1bd255d72dcd458f9e3a19a6de17fb531a238
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jul 21 14:23:04 2020 +0300

    gnu: python-django-testing: Update to 0.5.0.
    
    * gnu/packages/django.scm (python-django-testing): Update to 0.5.0.
    [properties]: Add python2-variant.
    (python2-django-testing): Stay at 0.4.6.
---
 gnu/packages/django.scm | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index ce23946..625e4c0 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -1080,14 +1080,14 @@ higher quality while welcoming newcomers.")
 (define-public python-django-tagging
   (package
     (name "python-django-tagging")
-    (version "0.4.6")
+    (version "0.5.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "django-tagging" version))
        (sha256
         (base32
-         "0s7b4v45j783yaxs7rni10k24san0ya77nqz4s7zdf3jhfpk42r1"))))
+         "13afxx30chssclxzd9gqnvwm9qyrdpnlbs6iswdfa18phfj8zmi8"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
@@ -1103,10 +1103,22 @@ higher quality while welcoming newcomers.")
     (description "This package provides a generic tagging application for
 Django projects, which allows association of a number of tags with any
 @code{Model} instance and makes retrieval of tags simple.")
+    (properties `((python2-variant . ,(delay python2-django-tagging))))
     (license license:bsd-3)))
 
 (define-public python2-django-tagging
-  (package-with-python2 python-django-tagging))
+  (let ((base (package-with-python2
+                (strip-python2-variant python-django-tagging))))
+    (package
+      (inherit base)
+      (version "0.4.6")
+      (source
+        (origin
+          (method url-fetch)
+          (uri (pypi-uri "django-tagging" version))
+          (sha256
+           (base32
+            "0s7b4v45j783yaxs7rni10k24san0ya77nqz4s7zdf3jhfpk42r1")))))))
 
 (define-public python-djangorestframework
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]