unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#30696] [PATCH 0/4] Django related updates and additions.
@ 2018-03-04 15:00 Christopher Baines
  2018-03-04 15:19 ` [bug#30696] [PATCH 1/4] gnu: Add python-djangorestframework Christopher Baines
  2018-03-06 18:41 ` [bug#30696] [PATCH 0/4] Django related updates and additions Marius Bakke
  0 siblings, 2 replies; 7+ messages in thread
From: Christopher Baines @ 2018-03-04 15:00 UTC (permalink / raw)
  To: 30696

[-- Attachment #1: Type: text/plain, Size: 318 bytes --]


Christopher Baines (4):
  gnu: Add python-djangorestframework.
  gnu: Add python-django-crispy-forms.
  gnu: Update python-django-filter to 1.1.0.
  gnu: Update python-django-gravatar2.

 gnu/packages/django.scm | 62 +++++++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 58 insertions(+), 4 deletions(-)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [bug#30696] [PATCH 1/4] gnu: Add python-djangorestframework.
  2018-03-04 15:00 [bug#30696] [PATCH 0/4] Django related updates and additions Christopher Baines
@ 2018-03-04 15:19 ` Christopher Baines
  2018-03-04 15:19   ` [bug#30696] [PATCH 2/4] gnu: Add python-django-crispy-forms Christopher Baines
                     ` (2 more replies)
  2018-03-06 18:41 ` [bug#30696] [PATCH 0/4] Django related updates and additions Marius Bakke
  1 sibling, 3 replies; 7+ messages in thread
From: Christopher Baines @ 2018-03-04 15:19 UTC (permalink / raw)
  To: 30696

* gnu/packages/django.scm (python-djangorestframework): New variable.
---
 gnu/packages/django.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 0b447b517..0c0fc6f75 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -755,3 +755,27 @@ Django projects, which allows association of a number of tags with any
 
 (define-public python2-django-tagging
   (package-with-python2 python-django-tagging))
+
+(define-public python-djangorestframework
+  (package
+    (name "python-djangorestframework")
+    (version "3.7.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "djangorestframework" version))
+       (sha256
+        (base32
+         "11qv117gqwswxjljs7wafxg1hyzzlx3qrviwlk9hw41bsbl997lz"))))
+    (build-system python-build-system)
+    (arguments
+     '(;; No included tests
+       #:tests? #f))
+    (propagated-inputs
+     `(("python-django" ,python-django)))
+    (home-page "https://www.django-rest-framework.org")
+    (synopsis "Toolkit for building Web APIs with Django")
+    (description
+     "The Django REST framework is for building Web APIs with Django.  It
+provides features like a web browseable API and authentication policies.")
+    (license license:bsd-2)))
-- 
2.16.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#30696] [PATCH 2/4] gnu: Add python-django-crispy-forms.
  2018-03-04 15:19 ` [bug#30696] [PATCH 1/4] gnu: Add python-djangorestframework Christopher Baines
@ 2018-03-04 15:19   ` Christopher Baines
  2018-03-04 15:19   ` [bug#30696] [PATCH 3/4] gnu: Update python-django-filter to 1.1.0 Christopher Baines
  2018-03-04 15:19   ` [bug#30696] [PATCH 4/4] gnu: Update python-django-gravatar2 Christopher Baines
  2 siblings, 0 replies; 7+ messages in thread
From: Christopher Baines @ 2018-03-04 15:19 UTC (permalink / raw)
  To: 30696

* gnu/packages/django.scm (python-django-crispy-forms): New variable.
---
 gnu/packages/django.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 0c0fc6f75..ba37f4f87 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -779,3 +779,28 @@ Django projects, which allows association of a number of tags with any
      "The Django REST framework is for building Web APIs with Django.  It
 provides features like a web browseable API and authentication policies.")
     (license license:bsd-2)))
+
+(define-public python-django-crispy-forms
+  (package
+    (name "python-django-crispy-forms")
+    (version "1.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "django-crispy-forms" version))
+       (sha256
+        (base32
+         "16s05jx86jmimlvnwpq73kl0mqw1v9lryc8zi61a9qwl25krm6mj"))))
+    (build-system python-build-system)
+    (arguments
+     '(;; No included tests
+       #:tests? #f))
+    (propagated-inputs
+     `(("python-django" ,python-django)))
+    (home-page
+     "http://github.com/maraujop/django-crispy-forms")
+    (synopsis "Tool to control Django forms without custom templates")
+    (description
+     "@code{django-crispy-forms} lets you easily build, customize and reuse
+forms using your favorite CSS framework, without writing template code.")
+    (license license:expat)))
-- 
2.16.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#30696] [PATCH 3/4] gnu: Update python-django-filter to 1.1.0.
  2018-03-04 15:19 ` [bug#30696] [PATCH 1/4] gnu: Add python-djangorestframework Christopher Baines
  2018-03-04 15:19   ` [bug#30696] [PATCH 2/4] gnu: Add python-django-crispy-forms Christopher Baines
@ 2018-03-04 15:19   ` Christopher Baines
  2018-03-04 15:19   ` [bug#30696] [PATCH 4/4] gnu: Update python-django-gravatar2 Christopher Baines
  2 siblings, 0 replies; 7+ messages in thread
From: Christopher Baines @ 2018-03-04 15:19 UTC (permalink / raw)
  To: 30696

* gnu/packages/django.scm (python-django-filter)[version]: Update from 0.14.0
  to 1.1.0.
  [source]: Update sha256 hash.
  [native-inputs]: Add python-djangorestframework and
  python-django-crispy-forms as native inputs, as they are used in the test
  suite.
---
 gnu/packages/django.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index ba37f4f87..9db1e2858 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -182,13 +182,13 @@ useful tools for testing Django applications and projects.")
 (define-public python-django-filter
   (package
     (name "python-django-filter")
-    (version "0.14.0")
+    (version "1.1.0")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "django-filter" version))
               (sha256
                (base32
-                "0f78hmk8c903zwfzlsiw7ivgag81ymmb5hi73rzxbhnlg2v0l3fx"))))
+                "0slpfqfhnjrzlrb6vmswyhrzn01p84s16j2x1xib35gg4fxg23pc"))))
     (build-system python-build-system)
     (arguments
      '(#:phases
@@ -198,6 +198,8 @@ useful tools for testing Django applications and projects.")
              (zero? (system* "python" "runtests.py")))))))
     (native-inputs
      `(("python-django" ,python-django)
+       ("python-djangorestframework" ,python-djangorestframework)
+       ("python-django-crispy-forms", python-django-crispy-forms)
        ("python-mock" ,python-mock)))
     (home-page "https://django-filter.readthedocs.io/en/latest/")
     (synopsis "Reusable Django application to filter querysets dynamically")
-- 
2.16.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#30696] [PATCH 4/4] gnu: Update python-django-gravatar2.
  2018-03-04 15:19 ` [bug#30696] [PATCH 1/4] gnu: Add python-djangorestframework Christopher Baines
  2018-03-04 15:19   ` [bug#30696] [PATCH 2/4] gnu: Add python-django-crispy-forms Christopher Baines
  2018-03-04 15:19   ` [bug#30696] [PATCH 3/4] gnu: Update python-django-filter to 1.1.0 Christopher Baines
@ 2018-03-04 15:19   ` Christopher Baines
  2 siblings, 0 replies; 7+ messages in thread
From: Christopher Baines @ 2018-03-04 15:19 UTC (permalink / raw)
  To: 30696

* gnu/packages/django.scm (python-django-gravatar2)[version]: Update from
  1.4.0 to 1.4.2.
  [source]: Update sha256 hash.
  [arguments]: Disable the tests, as the django project for the tests is
  missing.
---
 gnu/packages/django.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 9db1e2858..24952aa51 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -267,15 +267,18 @@ account authentication.")
 (define-public python-django-gravatar2
   (package
     (name "python-django-gravatar2")
-    (version "1.4.0")
+    (version "1.4.2")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "django-gravatar2" version))
        (sha256
         (base32
-         "1v4qyj6kms321yw0z2g1kch6b2dskmv6fjd6sfxzwr4xshq9mccl"))))
+         "1qsv40xywbqsf4mkrmsswrpzqd7nfljxpfiim9an2z3dykn5rka6"))))
     (build-system python-build-system)
+    (arguments
+     '(;; TODO: The django project for the tests is missing from the release.
+       #:tests? #f))
     (inputs
      `(("python-django" ,python-django)))
     (home-page "https://github.com/twaddington/django-gravatar")
-- 
2.16.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#30696] [PATCH 0/4] Django related updates and additions.
  2018-03-04 15:00 [bug#30696] [PATCH 0/4] Django related updates and additions Christopher Baines
  2018-03-04 15:19 ` [bug#30696] [PATCH 1/4] gnu: Add python-djangorestframework Christopher Baines
@ 2018-03-06 18:41 ` Marius Bakke
  2018-03-09 18:23   ` bug#30696: " Christopher Baines
  1 sibling, 1 reply; 7+ messages in thread
From: Marius Bakke @ 2018-03-06 18:41 UTC (permalink / raw)
  To: Christopher Baines, 30696

[-- Attachment #1: Type: text/plain, Size: 394 bytes --]

Christopher Baines <mail@cbaines.net> writes:

> Christopher Baines (4):
>   gnu: Add python-djangorestframework.
>   gnu: Add python-django-crispy-forms.
>   gnu: Update python-django-filter to 1.1.0.
>   gnu: Update python-django-gravatar2.
>
>  gnu/packages/django.scm | 62 +++++++++++++++++++++++++++++++++++++++++++++----
>  1 file changed, 58 insertions(+), 4 deletions(-)

LGTM, thanks!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#30696: [PATCH 0/4] Django related updates and additions.
  2018-03-06 18:41 ` [bug#30696] [PATCH 0/4] Django related updates and additions Marius Bakke
@ 2018-03-09 18:23   ` Christopher Baines
  0 siblings, 0 replies; 7+ messages in thread
From: Christopher Baines @ 2018-03-09 18:23 UTC (permalink / raw)
  To: Marius Bakke; +Cc: 30696-done

[-- Attachment #1: Type: text/plain, Size: 494 bytes --]


Marius Bakke <mbakke@fastmail.com> writes:

> Christopher Baines <mail@cbaines.net> writes:
>
>> Christopher Baines (4):
>>   gnu: Add python-djangorestframework.
>>   gnu: Add python-django-crispy-forms.
>>   gnu: Update python-django-filter to 1.1.0.
>>   gnu: Update python-django-gravatar2.
>>
>>  gnu/packages/django.scm | 62 +++++++++++++++++++++++++++++++++++++++++++++----
>>  1 file changed, 58 insertions(+), 4 deletions(-)
>
> LGTM, thanks!

Great, I've pushed these patches now :)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-03-09 18:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-04 15:00 [bug#30696] [PATCH 0/4] Django related updates and additions Christopher Baines
2018-03-04 15:19 ` [bug#30696] [PATCH 1/4] gnu: Add python-djangorestframework Christopher Baines
2018-03-04 15:19   ` [bug#30696] [PATCH 2/4] gnu: Add python-django-crispy-forms Christopher Baines
2018-03-04 15:19   ` [bug#30696] [PATCH 3/4] gnu: Update python-django-filter to 1.1.0 Christopher Baines
2018-03-04 15:19   ` [bug#30696] [PATCH 4/4] gnu: Update python-django-gravatar2 Christopher Baines
2018-03-06 18:41 ` [bug#30696] [PATCH 0/4] Django related updates and additions Marius Bakke
2018-03-09 18:23   ` bug#30696: " Christopher Baines

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).