commit e8ac6ea25cb00dcf681f63daf35701282dbdb03ea02a28bcbb6a9ee090b23968 Author: Markéta Machová Date: Thu Jun 12 10:45:04 2025 +0000 - Convert to pip-based build and libalternatives OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-seqdiag?expand=0&rev=17 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-seqdiag.changes b/python-seqdiag.changes new file mode 100644 index 0000000..bc98010 --- /dev/null +++ b/python-seqdiag.changes @@ -0,0 +1,70 @@ +------------------------------------------------------------------- +Thu Jun 12 10:44:17 UTC 2025 - Markéta Machová + +- Convert to pip-based build and libalternatives + +------------------------------------------------------------------- +Sat Jun 4 15:16:59 UTC 2022 - Dirk Müller + +- 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 + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- +Tue Feb 25 06:28:27 UTC 2020 - Thomas Bechtold + +- 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 + +- update to 0.9.6: + * Python 3.7 compatibility + +------------------------------------------------------------------- +Tue Dec 18 23:37:49 UTC 2018 - Jan Engelhardt + +- Use noun phrase in summary. Fixup grammar issues. + +------------------------------------------------------------------- +Tue Dec 4 12:54:09 UTC 2018 - Matej Cepl + +- 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 + diff --git a/python-seqdiag.spec b/python-seqdiag.spec new file mode 100644 index 0000000..5b29dde --- /dev/null +++ b/python-seqdiag.spec @@ -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 diff --git a/seqdiag-3.0.0.tar.gz b/seqdiag-3.0.0.tar.gz new file mode 100644 index 0000000..450d9aa --- /dev/null +++ b/seqdiag-3.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e15113a28bd075460a62da44e15a88fafa3c81fdf3a35dcd5e3cd64ef15e961a +size 2619076