From a04d0cff0b9ba312d64716caffce1b3d01a9e896352fe7a26a616e096ec969ac Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Fri, 12 May 2023 07:47:31 +0000 Subject: [PATCH 1/2] - 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 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-railroad-diagrams?expand=0&rev=6 --- python-railroad-diagrams.changes | 29 +++++++++++++++++++++++++++++ python-railroad-diagrams.spec | 11 +++++++---- railroad-diagrams-1.1.1.tar.gz | 3 --- railroad-diagrams-3.0.1.tar.gz | 3 +++ 4 files changed, 39 insertions(+), 7 deletions(-) delete mode 100644 railroad-diagrams-1.1.1.tar.gz create mode 100644 railroad-diagrams-3.0.1.tar.gz diff --git a/python-railroad-diagrams.changes b/python-railroad-diagrams.changes index cb088dc..730d48a 100644 --- a/python-railroad-diagrams.changes +++ b/python-railroad-diagrams.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Fri May 12 07:40:52 UTC 2023 - Daniel Garcia + +- 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 diff --git a/python-railroad-diagrams.spec b/python-railroad-diagrams.spec index 2824aae..8869a74 100644 --- a/python-railroad-diagrams.spec +++ b/python-railroad-diagrams.spec @@ -19,12 +19,13 @@ %define skip_python2 1 %{?sle15_python_module_pythons} Name: python-railroad-diagrams -Version: 1.1.1 +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-1.1.1.tar.gz +Source0: https://files.pythonhosted.org/packages/source/r/railroad-diagrams/railroad-diagrams-%{version}.tar.gz +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros BuildArch: noarch @@ -49,8 +50,10 @@ generators out there, but none of them had the visual appeal I wanted, so I wrot %python_install %files %{python_files} -%doc README.md +%doc README.md LICENSE # For noarch packages: sitelib -%{python_sitelib}/* +%{python_sitelib}/railroad.py +%{python_sitelib}/railroad_diagrams-%{version}*-info +%pycache_only %{python_sitelib}/__pycache__ %changelog diff --git a/railroad-diagrams-1.1.1.tar.gz b/railroad-diagrams-1.1.1.tar.gz deleted file mode 100644 index 737c5ba..0000000 --- a/railroad-diagrams-1.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8a1ec227666be2000e76794aa740f77987f1586077aae4d090d2633b3064c976 -size 19982 diff --git a/railroad-diagrams-3.0.1.tar.gz b/railroad-diagrams-3.0.1.tar.gz new file mode 100644 index 0000000..65e33f6 --- /dev/null +++ b/railroad-diagrams-3.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a91332bac900cb3c367331fa9b699f0897bcf86b7264f65458675df430d04ce3 +size 22057 From 875be7854c03fe547ef39b9fa3a376e1a2f65e26e7f5768276f1c7b3b1773f1a Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Fri, 12 May 2023 07:50:13 +0000 Subject: [PATCH 2/2] - Fix rpm package, fdupes and license file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-railroad-diagrams?expand=0&rev=7 --- python-railroad-diagrams.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-railroad-diagrams.spec b/python-railroad-diagrams.spec index 8869a74..c909a44 100644 --- a/python-railroad-diagrams.spec +++ b/python-railroad-diagrams.spec @@ -27,6 +27,7 @@ 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 @@ -48,9 +49,11 @@ generators out there, but none of them had the visual appeal I wanted, so I wrot %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%doc README.md LICENSE +%doc README.md +%license LICENSE # For noarch packages: sitelib %{python_sitelib}/railroad.py %{python_sitelib}/railroad_diagrams-%{version}*-info