[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55474] [PATCH 16/18] gnu: Add python-telepath.
From: |
Nicolas Graves |
Subject: |
[bug#55474] [PATCH 16/18] gnu: Add python-telepath. |
Date: |
Tue, 17 May 2022 09:54:46 +0200 |
* gnu/packages/django.scm (python-telepath): New variable.
---
gnu/packages/django.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 63aa0a2db7..46891fd044 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -1456,3 +1456,32 @@ (define-public python-django-svg-image-form-field
models that use Django's standard @code{ImageField}, in addition to the
image files already supported by it.")
(license license:expat)))
+
+(define-public python-telepath
+ (package
+ (name "python-telepath")
+ (version "0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "telepath" version))
+ (sha256
+ (base32 "0k7q5dqgvcwnslb82ah0g6p772jzjmb6fd4wcdc8r46ibsjg4k7g"))))
+ (build-system python-build-system)
+ (native-inputs (list python-django python-pytest-django))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? inputs #:allow-other-keys)
+ (if tests?
+ (lambda _
+ (setenv "DJANGO_SETTINGS_MODULE" "telepath.test_settings")
+ (invoke "django-admin" "test" "--pythonpath=."))
+ (format #t "test suite not run~%")))))))
+ (home-page "https://github.com/wagtail/telepath")
+ (synopsis "A library for exchanging data between Python and JavaScript")
+ (description
+ "This package provides a library for exchanging data between Python and
+JavaScript.")
+ (license license:bsd-3)))
--
2.36.0
- [bug#55474] [PATCH 01/18] gnu: python-django-taggit: Update to 2.1.0., Nicolas Graves, 2022/05/17
- [bug#55473] [PATCH 02/18] gnu: python-django-filter: Update to 21.1., Nicolas Graves, 2022/05/17
- [bug#55475] [PATCH 05/18] gnu: Add python-jinjalint., Nicolas Graves, 2022/05/17
- [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 <=
- [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, 2022/05/17
- [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