Sync from SUSE:SLFO:Main python-railroad-diagrams revision 6d147a680bdd1800ac16ea9d35b41550
This commit is contained in:
commit
2efc64ecd6
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
38
python-railroad-diagrams.changes
Normal file
38
python-railroad-diagrams.changes
Normal file
@ -0,0 +1,38 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 12 07:40:52 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Update to 3.0.1:
|
||||
* Spell the method right.
|
||||
- 3.0.0:
|
||||
* Copy the 'standalone' distinction from the JS version. Also sync
|
||||
the CSS insertion with it, changing the Diagram constructor
|
||||
signature a bit.
|
||||
- 2.0.4:
|
||||
* Add a 3.7 requirement
|
||||
* Make style optional
|
||||
- 2.0.3:
|
||||
* Style isn't a DiagramItem, like Path isn't
|
||||
- 2.0.2:
|
||||
* Whoops, broke constructor.
|
||||
- 2.0.1:
|
||||
* lint
|
||||
* Upstream fix for escaping
|
||||
- 2.0.0:
|
||||
* Fix casing of license classifier
|
||||
* Bump min python version to 3.7. Add mypy annotations.
|
||||
* Add all the useful global options to the dingus. Fixes #92.
|
||||
* Add LICENSE, and reference it in both py and js install files.
|
||||
* Remove the random css-parsing project
|
||||
* Remove the no-module version of the dingus, too.
|
||||
* Rename css file to be consistent.
|
||||
* Use proper formatting on AlternatingSequence error
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 21 12:32:37 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- add sle15_python_module_pythons (jsc#PED-68)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 24 15:00:48 UTC 2021 - Matthias Fehring <buschmann23@opensuse.org>
|
||||
|
||||
- initial package version 1.1.1
|
62
python-railroad-diagrams.spec
Normal file
62
python-railroad-diagrams.spec
Normal file
@ -0,0 +1,62 @@
|
||||
#
|
||||
# spec file for package python-railroad-diagrams
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define skip_python2 1
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-railroad-diagrams
|
||||
Version: 3.0.1
|
||||
Release: 0
|
||||
Summary: Railroad-Diagram Generator
|
||||
License: CC0-1.0
|
||||
URL: https://github.com/tabatkins/railroad-diagrams
|
||||
Source0: https://files.pythonhosted.org/packages/source/r/railroad-diagrams/railroad-diagrams-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
This 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.
|
||||
|
||||
%prep
|
||||
%setup -q -n railroad-diagrams-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
# For noarch packages: sitelib
|
||||
%{python_sitelib}/railroad.py
|
||||
%{python_sitelib}/railroad_diagrams-%{version}*-info
|
||||
%pycache_only %{python_sitelib}/__pycache__
|
||||
|
||||
%changelog
|
BIN
railroad-diagrams-3.0.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
railroad-diagrams-3.0.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user