From nobody Mon Nov 01 21:29:18 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E1283183FD01; Mon, 1 Nov 2021 21:29:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HjmPp5VtYz4vCS; Mon, 1 Nov 2021 21:29:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9D14F18D5A; Mon, 1 Nov 2021 21:29:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1A1LTI51071761; Mon, 1 Nov 2021 21:29:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1A1LTIJK071760; Mon, 1 Nov 2021 21:29:18 GMT (envelope-from git) Date: Mon, 1 Nov 2021 21:29:18 GMT Message-Id: <202111012129.1A1LTIJK071760@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 8976ab140811 - main - graphics/py-railroad-diagrams: Add py-railroad-diagrams 1.1.1 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8976ab14081174e213d0be26b49701e55fdd271f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=8976ab14081174e213d0be26b49701e55fdd271f commit 8976ab14081174e213d0be26b49701e55fdd271f Author: Po-Chuan Hsieh AuthorDate: 2021-11-01 21:18:33 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-11-01 21:28:39 +0000 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 --- graphics/Makefile | 1 + graphics/py-railroad-diagrams/Makefile | 19 +++++++++++++++++++ graphics/py-railroad-diagrams/distinfo | 3 +++ graphics/py-railroad-diagrams/pkg-descr | 10 ++++++++++ 4 files changed, 33 insertions(+) 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 + +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 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