14
0

Accepting request 659827 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/659827
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-seqdiag?expand=0&rev=2
This commit is contained in:
2018-12-24 10:46:16 +00:00
committed by Git OBS Bridge
2 changed files with 29 additions and 21 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
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 Sun Oct 8 16:02:56 UTC 2017 - arun@gmx.de

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-seqdiag # spec file for package python-seqdiag
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -12,38 +12,36 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-seqdiag
Version: 0.9.5
Release: 0
Summary: Generates sequence-diagram image from text
License: Apache-2.0
Group: Development/Languages/Python
Url: http://blockdiag.com/
Source: https://pypi.python.org/packages/source/s/seqdiag/seqdiag-%{version}.tar.gz
BuildRequires: %{python_module blockdiag >= 1.5.0}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
Requires: python-blockdiag >= 1.5.0
Requires: python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else %else
BuildArch: noarch BuildArch: noarch
%endif %endif
Name: python-seqdiag
Version: 0.9.5
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 setuptools}
BuildRequires: python-rpm-macros
Requires: python-blockdiag >= 1.5.0
Requires: python-setuptools
%python_subpackages %python_subpackages
%description %description
`seqdiag` generate sequence-diagram image file from spec-text file. `seqdiag` generates sequence-diagram image files from spec-text files.
* Generate sequence-diagram from dot like text (basic feature). * Generate sequence-diagram from dot like text (basic feature).
* Multilingualization for node-label (utf-8 only). * Multilingualization for node-label (UTF-8 only).
%prep %prep
%setup -q -n seqdiag-%{version} %setup -q -n seqdiag-%{version}
@@ -55,8 +53,8 @@ BuildArch: noarch
%python_install %python_install
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-) %license LICENSE
%doc CHANGES.rst LICENSE README.rst %doc CHANGES.rst README.rst
%python3_only %{_bindir}/seqdiag %python3_only %{_bindir}/seqdiag
%{python_sitelib}/* %{python_sitelib}/*