- Sort out with spec-cleaner
- Remove bcond_with test conditional OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygaljs?expand=0&rev=2
This commit is contained in:
parent
1087659d27
commit
41f46030d5
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 26 09:28:56 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Sort out with spec-cleaner
|
||||
- Remove bcond_with test conditional
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 19 00:32:18 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pygaljs
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -12,28 +12,25 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# 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-%{**}}
|
||||
%bcond_without test
|
||||
Name: python-pygaljs
|
||||
Version: 1.0.1
|
||||
Release: 0
|
||||
License: LGPL-3.0
|
||||
Summary: Python package providing assets pygaljs
|
||||
Url: https://github.com/ionelmc/python-pygaljs
|
||||
License: LGPL-3.0-only
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/ionelmc/python-pygaljs
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pygaljs/pygaljs-%{version}.tar.gz
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module pytest}
|
||||
%endif
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -49,15 +46,12 @@ Python package providing assets from https://github.com/Kozea/pygal.js
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
%python_expand py.test-%{$python_bin_suffix}
|
||||
%endif
|
||||
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGELOG.rst LICENSE README.rst
|
||||
%license LICENSE
|
||||
%doc CHANGELOG.rst README.rst
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user