Blob Blame History Raw
Name:           python-railroad-diagrams
Version:        3.0.1
Release:        %autorelease
Summary:        Library to generate railroad diagrams
License:        MIT

# Upstream doesn't do tags:
%global commit c3a16b9dcb06f5d0ae2260f8414136917871d4c5
%global forgeurl %url
%global distprefix %{nil}
Source:         %{forgesource}

BuildArch:      noarch
BuildRequires:  python3-devel

%global _description %{expand:
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.}

%description %_description

%package -n python3-railroad-diagrams
Summary:        %{summary}

%description -n python3-railroad-diagrams %_description





# Here, "railroad" is the name of the importable module.
%pyproject_save_files railroad

%python3 >/dev/null

%files -n python3-railroad-diagrams -f %{pyproject_files}