Name: python-railroad-diagrams Version: 2.0.4 Release: %autorelease Summary: Library to generate railroad diagrams License: MIT URL: https://github.com/tabatkins/railroad-diagrams Source: %{pypi_source railroad-diagrams} 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 %prep %autosetup -p1 -n railroad-diagrams-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install # Here, "railroad" is the name of the importable module. %pyproject_save_files railroad %check cat >test.py <