www/py-draftjs-exporter 7.1.0 FreeBSD
Library to convert rich text from Draft.js raw ContentState to HTML
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
2fb2b049b0- License
- MIT
- Categories
- www, python
- Package size
- 104.0 KiB, 574.9 KiB installed
Description
Draft.js exporter is a library to convert rich text from Draft.js raw ContentState to HTML.
It is developed alongside the Draftail rich text editor, for Wagtail.
Draft.js is a rich text editor framework for React. Its approach is different from most rich text editors because it does not store data as HTML, but rather in its own representation called ContentState. This exporter is useful when the ContentState to HTML conversion has to be done in a Python ecosystem.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | www/py-draftjs-exporter | 7.1.0 |
| DragonFly | www/py-draftjs-exporter | 5.1.0 |
| HardenedBSD | www/py-draftjs-exporter | 7.1.0 |
| GhostBSD | www/py-draftjs-exporter | 7.1.0 |
Install
Binary package:
pkg install py312-draftjs-exporter
From the ports tree:
cd /usr/ports/www/py-draftjs-exporter/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-draftjs-exporter>0:www/py-draftjs-exporter
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 7.1.0 | 7.1.0 | 5.0.0 | 5.1.0_1 | 7.1.0 |
| FreeBSD:14:quarterly | 7.1.0 | 7.1.0 | n/a | 5.1.0 | 7.1.0 |
| FreeBSD:15:latest | 7.1.0 | 7.1.0 | n/a | 5.1.0_1 | 5.1.0_1 |
| FreeBSD:15:quarterly | 7.1.0 | 7.1.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 7.1.0 | 7.1.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}flit-core>=3.12: devel/py-flit-core
The full lists below include those, and their dependencies in turn.
Build dependencies 15
Run dependencies 7
Configuration
Options name: www_draftjs-exporter
| Option | Default | Description |
|---|---|---|
| HTML5LIB | off | Use html5lib as backing engine |
| LXML | off | Use lxml as backing engine |
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| draftjs_exporter-7.1.0.tar.gz | 45259 | ad27634d514f8bcfb828b19cfc84a8fee7cb1f0fd706d249f70633436272d687 |
Master sites 1
- PYPI