graphics/py-railroad-diagrams: Add py-railroad-diagrams 1.1.1
Railroad-diagram Generator is a small library for generating railroad diagrams (like what JSON.org uses) using SVG, with both JS and Python ports. Railroad diagrams are a way of visually representing a grammar in a form that is more readable than using regular expressions or BNF. They can easily represent any context-free grammar, and some more powerful grammars. There are several railroad-diagram generators out there, but none of them had the visual appeal I wanted, so I wrote my own. WWW: https://github.com/tabatkins/railroad-diagrams
This commit is contained in:
parent
80af18355e
commit
8976ab1408
@ -897,6 +897,7 @@
|
||||
SUBDIR += py-pyx
|
||||
SUBDIR += py-qrencode
|
||||
SUBDIR += py-qt5-svg
|
||||
SUBDIR += py-railroad-diagrams
|
||||
SUBDIR += py-rasterio
|
||||
SUBDIR += py-rasterstats
|
||||
SUBDIR += py-rawkit
|
||||
|
19
graphics/py-railroad-diagrams/Makefile
Normal file
19
graphics/py-railroad-diagrams/Makefile
Normal file
@ -0,0 +1,19 @@
|
||||
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
||||
|
||||
PORTNAME= railroad-diagrams
|
||||
PORTVERSION= 1.1.1
|
||||
CATEGORIES= graphics python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Generate SVG railroad syntax diagrams, like on JSON.org
|
||||
|
||||
LICENSE= CC0-1.0
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
graphics/py-railroad-diagrams/distinfo
Normal file
3
graphics/py-railroad-diagrams/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1635788030
|
||||
SHA256 (railroad-diagrams-1.1.1.tar.gz) = 8a1ec227666be2000e76794aa740f77987f1586077aae4d090d2633b3064c976
|
||||
SIZE (railroad-diagrams-1.1.1.tar.gz) = 19982
|
10
graphics/py-railroad-diagrams/pkg-descr
Normal file
10
graphics/py-railroad-diagrams/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
Railroad-diagram Generator is a small library for generating railroad diagrams
|
||||
(like what JSON.org uses) using SVG, with both JS and Python ports.
|
||||
|
||||
Railroad diagrams are a way of visually representing a grammar in a form that is
|
||||
more readable than using regular expressions or BNF. They can easily represent
|
||||
any context-free grammar, and some more powerful grammars. There are several
|
||||
railroad-diagram generators out there, but none of them had the visual appeal I
|
||||
wanted, so I wrote my own.
|
||||
|
||||
WWW: https://github.com/tabatkins/railroad-diagrams
|
Loading…
Reference in New Issue
Block a user