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:
Po-Chuan Hsieh 2021-11-02 05:18:33 +08:00
parent 80af18355e
commit 8976ab1408
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 33 additions and 0 deletions

View File

@ -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

View 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>

View 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

View 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