diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-11-01 21:18:33 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-11-01 21:28:39 +0000 |
commit | 8976ab14081174e213d0be26b49701e55fdd271f (patch) | |
tree | f34b83bd1daaec12a2b3cce4c3df9bee6a54c4ec /graphics | |
parent | 80af18355e2659d29dcd4e7891e97bd376fd1173 (diff) | |
download | ports-8976ab14081174e213d0be26b49701e55fdd271f.tar.gz ports-8976ab14081174e213d0be26b49701e55fdd271f.zip |
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
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/py-railroad-diagrams/Makefile | 19 | ||||
-rw-r--r-- | graphics/py-railroad-diagrams/distinfo | 3 | ||||
-rw-r--r-- | graphics/py-railroad-diagrams/pkg-descr | 10 |
4 files changed, 33 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index ec030d6fdb6d..ce8ce0bacac2 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -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 diff --git a/graphics/py-railroad-diagrams/Makefile b/graphics/py-railroad-diagrams/Makefile new file mode 100644 index 000000000000..c60182b2d5fc --- /dev/null +++ b/graphics/py-railroad-diagrams/Makefile @@ -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> diff --git a/graphics/py-railroad-diagrams/distinfo b/graphics/py-railroad-diagrams/distinfo new file mode 100644 index 000000000000..a62f0af37cfc --- /dev/null +++ b/graphics/py-railroad-diagrams/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1635788030 +SHA256 (railroad-diagrams-1.1.1.tar.gz) = 8a1ec227666be2000e76794aa740f77987f1586077aae4d090d2633b3064c976 +SIZE (railroad-diagrams-1.1.1.tar.gz) = 19982 diff --git a/graphics/py-railroad-diagrams/pkg-descr b/graphics/py-railroad-diagrams/pkg-descr new file mode 100644 index 000000000000..488c03f4dfd3 --- /dev/null +++ b/graphics/py-railroad-diagrams/pkg-descr @@ -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 |