[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55474] [PATCH v4 13/19] gnu: Add python-telepath.
From: |
Nicolas Graves |
Subject: |
[bug#55474] [PATCH v4 13/19] gnu: Add python-telepath. |
Date: |
Mon, 5 Jun 2023 18:25:08 +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 9020c6b5da..54aabcd0a3 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -1531,3 +1531,32 @@ (define-public python-django-cleanup
ImageField and their subclasses. Files set as default values for any
FileField are not deleted.")
(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 pyproject-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 "Exchanging data between Python and JavaScript")
+ (description
+ "This package provides @code{telepath}, a library for exchanging data
+between Python and JavaScript.")
+ (license license:bsd-3)))
--
2.40.1
- [bug#55474] [PATCH v4 04/19] gnu: Add python-django-treebeard., (continued)
- [bug#55474] [PATCH v4 04/19] gnu: Add python-django-treebeard., Nicolas Graves, 2023/06/05
- [bug#55474] [PATCH v4 07/19] gnu: Add python-willow., Nicolas Graves, 2023/06/05
- [bug#55474] [PATCH v4 02/19] gnu: python-django-filter: Update to 22.1., Nicolas Graves, 2023/06/05
- [bug#55474] [PATCH v4 05/19] gnu: Add python-parsy., Nicolas Graves, 2023/06/05
- [bug#55474] [PATCH v4 06/19] gnu: Add python-jinjalint., Nicolas Graves, 2023/06/05
- [bug#55474] [PATCH v4 11/19] gnu: Add python-l18n., Nicolas Graves, 2023/06/05
- [bug#55474] [PATCH v4 08/19] gnu: Add python-django-request., Nicolas Graves, 2023/06/05
- [bug#55474] [PATCH v4 09/19] gnu: Add python-django-environ., Nicolas Graves, 2023/06/05
- [bug#55474] [PATCH v4 10/19] gnu: Add python-draftjs-exporter., Nicolas Graves, 2023/06/05
- [bug#55474] [PATCH v4 12/19] gnu: Add python-anyascii., Nicolas Graves, 2023/06/05
- [bug#55474] [PATCH v4 13/19] gnu: Add python-telepath.,
Nicolas Graves <=
- [bug#55474] [PATCH v4 15/19] gnu: python-openpyxl: Update to 3.1.2., Nicolas Graves, 2023/06/05
- [bug#55474] [PATCH v4 14/19] gnu: Add python-django-permissionedforms., Nicolas Graves, 2023/06/05
- [bug#55474] [PATCH v4 18/19] gnu: Add python-wagtail-factories., Nicolas Graves, 2023/06/05
- [bug#55474] [PATCH v4 17/19] gnu: Add python-wagtail., Nicolas Graves, 2023/06/05
- [bug#55474] [PATCH v4 16/19] gnu: python-django-4.0: Update to 4.0.9., Nicolas Graves, 2023/06/05
- [bug#55474] [PATCH v4 19/19] gnu: Add python-wagtail-localize., Nicolas Graves, 2023/06/05