BSD Ports

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

SystemPortVersion
FreeBSDwww/py-draftjs-exporter7.1.0
DragonFlywww/py-draftjs-exporter5.1.0
HardenedBSDwww/py-draftjs-exporter7.1.0
GhostBSDwww/py-draftjs-exporter7.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest7.1.07.1.05.0.05.1.0_17.1.0
FreeBSD:14:quarterly7.1.07.1.0n/a5.1.07.1.0
FreeBSD:15:latest7.1.07.1.0n/a5.1.0_15.1.0_1
FreeBSD:15:quarterly7.1.07.1.0n/an/an/a
FreeBSD:16:latest7.1.07.1.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

The full lists below include those, and their dependencies in turn.

Build dependencies 15
Run dependencies 7

Configuration

Options name: www_draftjs-exporter

OptionDefaultDescription
HTML5LIBoffUse html5lib as backing engine
LXMLoffUse lxml as backing engine
USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
draftjs_exporter-7.1.0.tar.gz45259ad27634d514f8bcfb828b19cfc84a8fee7cb1f0fd706d249f70633436272d687
Master sites 1
  • PYPI

Commit history 3

DateCommitCreditsLog message
2fb2b049b0 Po-Chuan Hsieh www/py-draftjs-exporter: Update to 7.1.0
Changes: https://github.com/wagtail/draftjs_exporter/releases
45ea4cf85c Michael Osipov */*: Bump consumers of www/beautifulsoup4 after port rename
PR: 297837 Approved by: wen (maintainer via email)
d4f98cd505 Po-Chuan Hsieh www/py-draftjs-exporter: Update WWW