forked from pool/python-colour
- Update to 0.1.5:
* No upstream changelog OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-colour?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
16e72d0dd7
commit
6627523d9e
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-colour
|
||||
#
|
||||
# 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,25 +12,24 @@
|
||||
# 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-%{**}}
|
||||
Name: python-colour
|
||||
Version: 0.1.4
|
||||
Version: 0.1.5
|
||||
Release: 0
|
||||
Summary: Converts between common color representations (RGB, HSL, web...)
|
||||
License: BSD-2-Clause
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/vaab/colour
|
||||
URL: https://github.com/vaab/colour
|
||||
Source0: https://files.pythonhosted.org/packages/source/c/colour/colour-%{version}.tar.gz
|
||||
BuildRequires: %{python_module d2to1}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -56,14 +55,14 @@ rm -rf colour.egg-info
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec %{_bindir}/nosetests
|
||||
%python_expand nosetests-%{$python_bin_suffix}
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGELOG.rst LICENSE README.rst
|
||||
%license LICENSE
|
||||
%doc CHANGELOG.rst README.rst
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user