14
0

- Convert to pip-based build and libalternatives

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-seqdiag?expand=0&rev=17
This commit is contained in:
2025-06-12 10:45:04 +00:00
committed by Git OBS Bridge
commit e8ac6ea25c
5 changed files with 163 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

70
python-seqdiag.changes Normal file
View File

@@ -0,0 +1,70 @@
-------------------------------------------------------------------
Thu Jun 12 10:44:17 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build and libalternatives
-------------------------------------------------------------------
Sat Jun 4 15:16:59 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 3.0.0:
* Drop python3.6 support
* Use funcparserlib-1.0.0a0 or newer to support new python versions
* Allow to write multiline string via triple quotes (""" ... """)
* Add "edge_label_margin" attribute to edges
* Fix bugs
- Fix #147: file existence disclosure using svg renderer
- Separator does not support both default_fontsize and default_textcolor
-------------------------------------------------------------------
Tue May 19 09:27:58 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
- %python3_only -> %python_alternative
-------------------------------------------------------------------
Tue Feb 25 06:28:27 UTC 2020 - Thomas Bechtold <tbechtold@suse.com>
- update to version 2.0.0
* compat module is no longer needed
* Enable Travis CI
* Define long_description_content_type
* Drop "setup.py release" macro
* Add get_version() to setup.py
* Add project_urls to setup.py
* isort'ize
* Add .gitignore
* Fix author_email
* Drop py27 and py34 support
* Bump version
* Remove buildout
* Fix seqdiag is not universal package
* Fix flake8 violations
* Stop to use deprecated APIs
- Stop building python2 version. No longer supported upstream
-------------------------------------------------------------------
Thu Apr 25 19:53:17 UTC 2019 - Dirk Mueller <dmueller@suse.com>
- update to 0.9.6:
* Python 3.7 compatibility
-------------------------------------------------------------------
Tue Dec 18 23:37:49 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Use noun phrase in summary. Fixup grammar issues.
-------------------------------------------------------------------
Tue Dec 4 12:54:09 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Sun Oct 8 16:02:56 UTC 2017 - arun@gmx.de
- convert to singlespec
- update copyright year
-------------------------------------------------------------------
Fri Jul 10 11:17:08 UTC 2015 - tbechtold@suse.com
- Initial packaging

66
python-seqdiag.spec Normal file
View File

@@ -0,0 +1,66 @@
#
# spec file for package python-seqdiag
#
# Copyright (c) 2025 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/
#
%bcond_without libalternatives
Name: python-seqdiag
Version: 3.0.0
Release: 0
Summary: Python module to generate sequence-diagram images from text
License: Apache-2.0
Group: Development/Languages/Python
URL: http://blockdiag.com/
Source: https://files.pythonhosted.org/packages/source/s/seqdiag/seqdiag-%{version}.tar.gz
BuildRequires: %{python_module blockdiag >= 1.5.0}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: alts
BuildRequires: python-rpm-macros
Requires: alts
Requires: python-blockdiag >= 1.5.0
Requires: python-setuptools
BuildArch: noarch
%python_subpackages
%description
`seqdiag` generates sequence-diagram image files from spec-text files.
* Generate sequence-diagram from dot like text (basic feature).
* Multilingualization for node-label (UTF-8 only).
%prep
%setup -q -n seqdiag-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/seqdiag
%pre
%python_libalternatives_reset_alternative seqdiag
%files %{python_files}
%license LICENSE
%doc CHANGES.rst README.rst
%python_alternative %{_bindir}/seqdiag
%{python_sitelib}/seqdiag
%{python_sitelib}/seqdiag-%{version}*-info
%changelog

3
seqdiag-3.0.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e15113a28bd075460a62da44e15a88fafa3c81fdf3a35dcd5e3cd64ef15e961a
size 2619076