[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#65758] [PATCH v6 46/55] gnu: Add python-draftjs-exporter.
From: |
Nicolas Graves |
Subject: |
[bug#65758] [PATCH v6 46/55] gnu: Add python-draftjs-exporter. |
Date: |
Tue, 5 Sep 2023 18:31:22 +0200 |
* gnu/packages/python-xyz.scm (python-draftjs-exporter): New variable.
---
gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b107a7f4a1..c849521161 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9619,6 +9619,42 @@ (define-public python-decorator
etc. The core of this module is a decorator factory.")
(license license:expat)))
+(define-public python-draftjs-exporter
+ (package
+ (name "python-draftjs-exporter")
+ (version "2.1.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append
+ "https://github.com/springload/draftjs_exporter"
+ "/archive/refs/tags/v" version ".tar.gz"))
+ (sha256
+ (base32 "02fjmzagvnc146zqhc0xg6mybrkjg3pc7wbl4pmbq4gvmwjsml4c"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-beautifulsoup4
+ python-html5lib
+ python-lxml))
+ (arguments
+ `(#:test-flags '("-m" "unittest" "discover"
+ ;; FIXME disabling two unexpected failing tests
+ "-k" "not test_export_lxml_big_content_export"
+ "-k" "not test_export_lxml_entity_with_data-*")
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? test-flags #:allow-other-keys)
+ (if tests?
+ (apply invoke "python" test-flags)
+ (format #t "test suite not run~%")))))))
+ (home-page "https://github.com/springload/draftjs_exporter")
+ (synopsis
+ "Library to convert rich text from Draft.js raw ContentState to HTML")
+ (description
+ "This package provides a python library to convert rich text from
Draft.js raw
+ContentState to HTML.")
+ (license license:expat)))
(define-public python-drmaa
(package
--
2.41.0
- [bug#65758] [PATCH v6 39/55] gnu: Add python-django-modelcluster., (continued)
- [bug#65758] [PATCH v6 39/55] gnu: Add python-django-modelcluster., Nicolas Graves, 2023/09/05
- [bug#65758] [PATCH v6 38/55] gnu: python-django-filter: Update to 22.1., Nicolas Graves, 2023/09/05
- [bug#65758] [PATCH v6 44/55] gnu: Add python-django-request., Nicolas Graves, 2023/09/05
- [bug#65758] [PATCH v6 43/55] gnu: Add python-willow., Nicolas Graves, 2023/09/05
- [bug#65758] [PATCH v6 51/55] gnu: python-openpyxl: Update to 3.1.2., Nicolas Graves, 2023/09/05
- [bug#65758] [PATCH v6 29/55] gnu: Remove python-pysolr., Nicolas Graves, 2023/09/05
- [bug#65758] [PATCH v6 37/55] gnu: python-django-taggit: Update to 3.1.0., Nicolas Graves, 2023/09/05
- [bug#65758] [PATCH v6 41/55] gnu: Add python-parsy., Nicolas Graves, 2023/09/05
- [bug#65758] [PATCH v6 42/55] gnu: Add python-jinjalint., Nicolas Graves, 2023/09/05
- [bug#65758] [PATCH v6 40/55] gnu: Add python-django-treebeard., Nicolas Graves, 2023/09/05
- [bug#65758] [PATCH v6 46/55] gnu: Add python-draftjs-exporter.,
Nicolas Graves <=
- [bug#65758] [PATCH v6 48/55] gnu: Add python-anyascii., Nicolas Graves, 2023/09/05
- [bug#65758] [PATCH v6 45/55] gnu: Add python-django-environ., Nicolas Graves, 2023/09/05
- [bug#65758] [PATCH v6 53/55] gnu: Add python-wagtail-factories., Nicolas Graves, 2023/09/05
- [bug#65758] [PATCH v6 47/55] gnu: Add python-l18n., Nicolas Graves, 2023/09/05
- [bug#65758] [PATCH v6 49/55] gnu: Add python-telepath., Nicolas Graves, 2023/09/05
- [bug#65758] [PATCH v6 50/55] gnu: Add python-django-permissionedforms., Nicolas Graves, 2023/09/05
- [bug#65758] [PATCH v6 55/55] gnu: python-django: Update to 4.1.9., Nicolas Graves, 2023/09/05
- [bug#65758] [PATCH v6 54/55] gnu: Add python-wagtail-localize., Nicolas Graves, 2023/09/05
- [bug#65758] [PATCH v6 52/55] gnu: Add python-wagtail., Nicolas Graves, 2023/09/05
- [bug#65758] [PATCH v7 01/57] gnu: python-django-4.0: Update to 4.0.9., Nicolas Graves, 2023/09/06