[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55474] [PATCH 04/18] gnu: Add python-django-treebeard.
From: |
Nicolas Graves |
Subject: |
[bug#55474] [PATCH 04/18] gnu: Add python-django-treebeard. |
Date: |
Tue, 17 May 2022 09:54:34 +0200 |
* gnu/packages/django.scm (python-django-treebeard): New variable.
---
gnu/packages/django.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index fee4278708..0755b5d9fe 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -334,6 +334,39 @@ (define-public python-django-taggit
"Django-taggit is a reusable Django application for simple tagging.")
(license license:bsd-3)))
+(define-public python-django-treebeard
+ (package
+ (name "python-django-treebeard")
+ (version "4.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "django-treebeard" version))
+ (sha256
+ (base32 "1nk9b40cp0jsxr3qsb16mh9xr0z3cvf69yp5ahh70fajf8bh05c0"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? inputs #:allow-other-keys)
+ (if tests?
+ (lambda _
+ (setenv "PYTHONPATH"
+ (string-append ".:" (getenv "GUIX_PYTHONPATH")))
+ (setenv "DJANGO_SETTINGS_MODULE" "treebeard.tests.settings")
+ (substitute* "setup.py" ((".*pythonpath.*") ""))
+ (invoke "pytest" "-vv"))
+ (format #t "test suite not run~%")))))))
+ (propagated-inputs (list python-django
+ python-sqlparse))
+ (native-inputs (list python-wheel
+ python-pytest-django))
+ (home-page "https://github.com/django-treebeard/django-treebeard/")
+ (synopsis "Efficient tree implementations for Django")
+ (description "This package provides an efficient tree implementations for
Django.")
+ (license license:bsd-3)))
+
(define-public python-easy-thumbnails
(package
(name "python-easy-thumbnails")
--
2.36.0
- [bug#55476] [PATCH 03/18] gnu: Add python-django-modelcluster., (continued)
- [bug#55476] [PATCH 03/18] gnu: Add python-django-modelcluster., Nicolas Graves, 2022/05/17
- [bug#55474] [PATCH 08/18] gnu: Add python-django-request., Nicolas Graves, 2022/05/17
- [bug#55474] [PATCH 09/18] gnu: Add python-django-environ., Nicolas Graves, 2022/05/17
- [bug#55474] [PATCH 10/18] gnu: Add python-psycopg2-2.8., Nicolas Graves, 2022/05/17
- [bug#55474] [PATCH 11/18] gnu: Add python-beautifulsoup4-4.8., Nicolas Graves, 2022/05/17
- [bug#55474] [PATCH 06/18] gnu: Add python-flake8-blind-except., Nicolas Graves, 2022/05/17
- [bug#55474] [PATCH 14/18] gnu: Add python-parsy., Nicolas Graves, 2022/05/17
- [bug#55474] [PATCH 16/18] gnu: Add python-telepath., Nicolas Graves, 2022/05/17
- [bug#55474] [PATCH 17/18] gnu: Add python-wagtail., Nicolas Graves, 2022/05/17
- [bug#55474] [PATCH 15/18] gnu: Add python-anyascii., Nicolas Graves, 2022/05/17
- [bug#55474] [PATCH 04/18] gnu: Add python-django-treebeard.,
Nicolas Graves <=
- [bug#55474] [PATCH 07/18] gnu: Add python-willow., Nicolas Graves, 2022/05/17
- [bug#55474] [PATCH 12/18] gnu: Add python-draftjs-exporter., Nicolas Graves, 2022/05/17
- [bug#55474] [PATCH 13/18] gnu: Add python-l18n., Nicolas Graves, 2022/05/17
- [bug#55474] [PATCH 18/18] gnu: Add python-wagtail-localize., Nicolas Graves, 2022/05/17