forked from pool/python-tkreadonly
Accepting request 862925 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/862925 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tkreadonly?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 13 14:35:09 UTC 2021 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- run spec cleaner
|
||||||
|
- use %pytest macro
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Apr 14 09:56:25 AM UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
Sun Apr 14 09:56:25 AM UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-tkreadonly
|
# spec file for package python-tkreadonly
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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,31 +12,32 @@
|
|||||||
# 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-tkreadonly
|
Name: python-tkreadonly
|
||||||
Version: 0.6.1
|
Version: 0.6.1
|
||||||
Release: 0
|
Release: 0
|
||||||
License: BSD-3-Clause
|
|
||||||
Summary: A set of Tkinter widgets to display readonly text and code
|
Summary: A set of Tkinter widgets to display readonly text and code
|
||||||
Url: http://github.org/pybee/tkreadonly
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
|
URL: http://github.org/pybee/tkreadonly
|
||||||
Source: https://files.pythonhosted.org/packages/source/t/tkreadonly/tkreadonly-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/t/tkreadonly/tkreadonly-%{version}.tar.gz
|
||||||
BuildRequires: python-rpm-macros
|
|
||||||
BuildRequires: %{python_module idle}
|
BuildRequires: %{python_module idle}
|
||||||
BuildRequires: %{python_module tk}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
# SECTION test requirements
|
BuildRequires: %{python_module tk}
|
||||||
BuildRequires: %{python_module Pygments >= 1.5}
|
|
||||||
# /SECTION
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-Pygments >= 1.5
|
Requires: python-Pygments >= 1.5
|
||||||
Requires: python-idle
|
Requires: python-idle
|
||||||
Requires: python-tk
|
Requires: python-tk
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
# SECTION test requirements
|
||||||
|
BuildRequires: %{python_module Pygments >= 1.5}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -53,7 +54,7 @@ A set of Tkinter widgets to display readonly text and code.
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_exec setup.py test
|
%pytest tests.py
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
Reference in New Issue
Block a user