2018-05-29 14:47:33 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-traitsui
|
|
|
|
|
#
|
2023-11-17 09:48:20 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2018-05-29 14:47:33 +00:00
|
|
|
#
|
|
|
|
|
# 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.
|
|
|
|
|
|
2019-09-13 15:02:40 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-05-29 14:47:33 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
Accepting request 820871 from home:mcalabkova:branches:devel:languages:python:numeric
- Update to 7.0.0
* Documentation improvements (#720, #724, #723, #778)
* WxPython 4 compatibility and support (#708, #736, #762, #772, #775, #776)
* Traits 6 compatibility and enhancements (#689, #690, #693, #695, #713, #727, #770)
* Style improvements (#648, #771)
* Add placeholder text option for TextEditor (#735)
* Examples clean-up and unification (#697, #702, #703, #705, #711, #712, #777)
* Add a DatetimeEditor (#719, #730)
* Refactor and clean-up of base Editor class (#685, #686, #688)
* Remove use of Category classes from TraitsUI (#654)
* Add LEDEditor for Qt (#635)
* Add 'docs' command to etstool.py (#624)
* Add TabularAdapter to traitsui.api (#627)
* Enhancements to CI and testing (#683, #714, #740)
* Documentation fixes (#546, #766)
* Fix cgi.escape for Python 3.8 (#780)
* Log exceptions in table sorting (#751)
* Use TupleEditor for traits derived from BaseTuple (#747)
* Fixes for Undo/Redo (#733)
* Add explicit redraw for TableEditor selection (#721)
* Fixes for Qt5 support (#709)
* Fix bugs in color functions (#707, #744)
* Fix importing of ProgressColumn and EditColumn (#691)
* Set initial focus item correctly in Qt (#602)
* Fix text elision test on some platforms (#644)
* Fix a bug with TableEditor column clicking (#669)
* Fix typo in progress column exception (#662)
OBS-URL: https://build.opensuse.org/request/show/820871
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-traitsui?expand=0&rev=9
2020-07-14 12:40:50 +00:00
|
|
|
%define skip_python2 1
|
2018-05-29 14:47:33 +00:00
|
|
|
Name: python-traitsui
|
2023-11-17 09:48:20 +00:00
|
|
|
Version: 8.0.0
|
2018-05-29 14:47:33 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: Traits-capable windowing framework
|
|
|
|
|
# Source code is under BSD but images are under different licenses
|
|
|
|
|
# and details are inside image_LICENSE.txt
|
2019-09-13 15:02:40 +00:00
|
|
|
License: BSD-3-Clause AND EPL-1.0 AND LGPL-2.1-only AND LGPL-3.0-only
|
|
|
|
|
Group: Development/Libraries/Python
|
|
|
|
|
URL: https://github.com/enthought/traitsui
|
2018-05-29 14:47:33 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/t/traitsui/traitsui-%{version}.tar.gz
|
2019-07-26 10:43:17 +00:00
|
|
|
BuildRequires: %{python_module configobj}
|
2023-11-17 09:48:20 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
Accepting request 946811 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 7.2.1
* Explicitly require traits 6.2 and pyface 7.3 (#1666, #1668)
- Release 7.2.0
* TraitsUI 7.2.0 is a minor release which includes numerous bug
fixes, documentation improvements, code maintenance changes,
and enhancements.
* The migration from on_trait_change to observe is underway. As a
result, TraitsUI now requires Traits >= 6.2.
* New display-only VideoEditor (currently only on Qt backend).
Exapnsion of features for the new UITester including the
ability to inspect UI object visibility / enabledness. Also
documentation for testing has been updated.
* Notes on upgrading: This release of TraitsUI now depends on
Traits 6.2+ and pyface 7.2+. Also, deprecated code / modules
have been removed. Namely, the :mod:traitsui.image
<traitsui.image> module which was moved to pyface.image,
editors_gen modules, Editor and EditorFactory factory methods
on Toolkit objects, and more. For a complete list, see PRs in
the "Removals" section. These were all generally unused /
deprecated for sometime. Also, importing directly from
traitsui.editors has been deprecated. Please update imports to
import directly from :mod:traitsui.api or
:mod:traitsui.editors.api.
- Detailed changelog at
https://github.com/enthought/traitsui/releases/tag/7.2.0
- Add traitsui-pr1689-deprecations.patch
* gh#enthought/traitsui#1689 + gh#enthought/traitsui#1681
OBS-URL: https://build.opensuse.org/request/show/946811
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-traitsui?expand=0&rev=15
2022-01-17 06:32:07 +00:00
|
|
|
BuildRequires: %{python_module pyface >= 7.3}
|
|
|
|
|
BuildRequires: %{python_module traits >= 6.2}
|
2023-11-17 09:48:20 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
2018-05-29 14:47:33 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
|
BuildRequires: python-rpm-macros
|
Accepting request 946811 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 7.2.1
* Explicitly require traits 6.2 and pyface 7.3 (#1666, #1668)
- Release 7.2.0
* TraitsUI 7.2.0 is a minor release which includes numerous bug
fixes, documentation improvements, code maintenance changes,
and enhancements.
* The migration from on_trait_change to observe is underway. As a
result, TraitsUI now requires Traits >= 6.2.
* New display-only VideoEditor (currently only on Qt backend).
Exapnsion of features for the new UITester including the
ability to inspect UI object visibility / enabledness. Also
documentation for testing has been updated.
* Notes on upgrading: This release of TraitsUI now depends on
Traits 6.2+ and pyface 7.2+. Also, deprecated code / modules
have been removed. Namely, the :mod:traitsui.image
<traitsui.image> module which was moved to pyface.image,
editors_gen modules, Editor and EditorFactory factory methods
on Toolkit objects, and more. For a complete list, see PRs in
the "Removals" section. These were all generally unused /
deprecated for sometime. Also, importing directly from
traitsui.editors has been deprecated. Please update imports to
import directly from :mod:traitsui.api or
:mod:traitsui.editors.api.
- Detailed changelog at
https://github.com/enthought/traitsui/releases/tag/7.2.0
- Add traitsui-pr1689-deprecations.patch
* gh#enthought/traitsui#1689 + gh#enthought/traitsui#1681
OBS-URL: https://build.opensuse.org/request/show/946811
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-traitsui?expand=0&rev=15
2022-01-17 06:32:07 +00:00
|
|
|
Requires: python-pyface >= 7.3
|
|
|
|
|
Requires: python-traits >= 6.2
|
Accepting request 820871 from home:mcalabkova:branches:devel:languages:python:numeric
- Update to 7.0.0
* Documentation improvements (#720, #724, #723, #778)
* WxPython 4 compatibility and support (#708, #736, #762, #772, #775, #776)
* Traits 6 compatibility and enhancements (#689, #690, #693, #695, #713, #727, #770)
* Style improvements (#648, #771)
* Add placeholder text option for TextEditor (#735)
* Examples clean-up and unification (#697, #702, #703, #705, #711, #712, #777)
* Add a DatetimeEditor (#719, #730)
* Refactor and clean-up of base Editor class (#685, #686, #688)
* Remove use of Category classes from TraitsUI (#654)
* Add LEDEditor for Qt (#635)
* Add 'docs' command to etstool.py (#624)
* Add TabularAdapter to traitsui.api (#627)
* Enhancements to CI and testing (#683, #714, #740)
* Documentation fixes (#546, #766)
* Fix cgi.escape for Python 3.8 (#780)
* Log exceptions in table sorting (#751)
* Use TupleEditor for traits derived from BaseTuple (#747)
* Fixes for Undo/Redo (#733)
* Add explicit redraw for TableEditor selection (#721)
* Fixes for Qt5 support (#709)
* Fix bugs in color functions (#707, #744)
* Fix importing of ProgressColumn and EditColumn (#691)
* Set initial focus item correctly in Qt (#602)
* Fix text elision test on some platforms (#644)
* Fix a bug with TableEditor column clicking (#669)
* Fix typo in progress column exception (#662)
OBS-URL: https://build.opensuse.org/request/show/820871
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-traitsui?expand=0&rev=9
2020-07-14 12:40:50 +00:00
|
|
|
Recommends: python-configobj
|
2019-09-13 15:02:40 +00:00
|
|
|
Recommends: python-qt5
|
|
|
|
|
Recommends: python-wxWidgets
|
|
|
|
|
BuildArch: noarch
|
2019-07-26 10:43:17 +00:00
|
|
|
# SECTION test requirements
|
2018-05-29 14:47:33 +00:00
|
|
|
BuildRequires: %{python_module Pygments}
|
Accepting request 946811 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 7.2.1
* Explicitly require traits 6.2 and pyface 7.3 (#1666, #1668)
- Release 7.2.0
* TraitsUI 7.2.0 is a minor release which includes numerous bug
fixes, documentation improvements, code maintenance changes,
and enhancements.
* The migration from on_trait_change to observe is underway. As a
result, TraitsUI now requires Traits >= 6.2.
* New display-only VideoEditor (currently only on Qt backend).
Exapnsion of features for the new UITester including the
ability to inspect UI object visibility / enabledness. Also
documentation for testing has been updated.
* Notes on upgrading: This release of TraitsUI now depends on
Traits 6.2+ and pyface 7.2+. Also, deprecated code / modules
have been removed. Namely, the :mod:traitsui.image
<traitsui.image> module which was moved to pyface.image,
editors_gen modules, Editor and EditorFactory factory methods
on Toolkit objects, and more. For a complete list, see PRs in
the "Removals" section. These were all generally unused /
deprecated for sometime. Also, importing directly from
traitsui.editors has been deprecated. Please update imports to
import directly from :mod:traitsui.api or
:mod:traitsui.editors.api.
- Detailed changelog at
https://github.com/enthought/traitsui/releases/tag/7.2.0
- Add traitsui-pr1689-deprecations.patch
* gh#enthought/traitsui#1689 + gh#enthought/traitsui#1681
OBS-URL: https://build.opensuse.org/request/show/946811
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-traitsui?expand=0&rev=15
2022-01-17 06:32:07 +00:00
|
|
|
BuildRequires: %{python_module numpy}
|
2021-02-24 14:28:34 +00:00
|
|
|
BuildRequires: %{python_module pytest-xvfb}
|
2020-09-08 08:31:05 +00:00
|
|
|
BuildRequires: %{python_module pytest}
|
2019-07-26 10:43:17 +00:00
|
|
|
BuildRequires: %{python_module qt5}
|
Accepting request 820871 from home:mcalabkova:branches:devel:languages:python:numeric
- Update to 7.0.0
* Documentation improvements (#720, #724, #723, #778)
* WxPython 4 compatibility and support (#708, #736, #762, #772, #775, #776)
* Traits 6 compatibility and enhancements (#689, #690, #693, #695, #713, #727, #770)
* Style improvements (#648, #771)
* Add placeholder text option for TextEditor (#735)
* Examples clean-up and unification (#697, #702, #703, #705, #711, #712, #777)
* Add a DatetimeEditor (#719, #730)
* Refactor and clean-up of base Editor class (#685, #686, #688)
* Remove use of Category classes from TraitsUI (#654)
* Add LEDEditor for Qt (#635)
* Add 'docs' command to etstool.py (#624)
* Add TabularAdapter to traitsui.api (#627)
* Enhancements to CI and testing (#683, #714, #740)
* Documentation fixes (#546, #766)
* Fix cgi.escape for Python 3.8 (#780)
* Log exceptions in table sorting (#751)
* Use TupleEditor for traits derived from BaseTuple (#747)
* Fixes for Undo/Redo (#733)
* Add explicit redraw for TableEditor selection (#721)
* Fixes for Qt5 support (#709)
* Fix bugs in color functions (#707, #744)
* Fix importing of ProgressColumn and EditColumn (#691)
* Set initial focus item correctly in Qt (#602)
* Fix text elision test on some platforms (#644)
* Fix a bug with TableEditor column clicking (#669)
* Fix typo in progress column exception (#662)
OBS-URL: https://build.opensuse.org/request/show/820871
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-traitsui?expand=0&rev=9
2020-07-14 12:40:50 +00:00
|
|
|
BuildRequires: %{python_module wxPython >= 4}
|
2019-09-13 15:02:40 +00:00
|
|
|
BuildRequires: Mesa-dri
|
2019-07-26 10:43:17 +00:00
|
|
|
# /SECTION
|
2018-05-29 14:47:33 +00:00
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The TraitsGUI project contains a toolkit-independent GUI abstraction layer
|
|
|
|
|
(known as Pyface), which is used to support the "visualization" features of
|
|
|
|
|
the Traits package. Thus, you can write code in terms of the Traits API
|
|
|
|
|
(views, items, editors, etc.), and let TraitsGUI and your selected toolkit
|
|
|
|
|
and back-end take care of the details of displaying them.
|
|
|
|
|
|
|
|
|
|
Part of the Enthought Tool Suite (ETS).
|
|
|
|
|
|
|
|
|
|
%prep
|
Accepting request 946811 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 7.2.1
* Explicitly require traits 6.2 and pyface 7.3 (#1666, #1668)
- Release 7.2.0
* TraitsUI 7.2.0 is a minor release which includes numerous bug
fixes, documentation improvements, code maintenance changes,
and enhancements.
* The migration from on_trait_change to observe is underway. As a
result, TraitsUI now requires Traits >= 6.2.
* New display-only VideoEditor (currently only on Qt backend).
Exapnsion of features for the new UITester including the
ability to inspect UI object visibility / enabledness. Also
documentation for testing has been updated.
* Notes on upgrading: This release of TraitsUI now depends on
Traits 6.2+ and pyface 7.2+. Also, deprecated code / modules
have been removed. Namely, the :mod:traitsui.image
<traitsui.image> module which was moved to pyface.image,
editors_gen modules, Editor and EditorFactory factory methods
on Toolkit objects, and more. For a complete list, see PRs in
the "Removals" section. These were all generally unused /
deprecated for sometime. Also, importing directly from
traitsui.editors has been deprecated. Please update imports to
import directly from :mod:traitsui.api or
:mod:traitsui.editors.api.
- Detailed changelog at
https://github.com/enthought/traitsui/releases/tag/7.2.0
- Add traitsui-pr1689-deprecations.patch
* gh#enthought/traitsui#1689 + gh#enthought/traitsui#1681
OBS-URL: https://build.opensuse.org/request/show/946811
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-traitsui?expand=0&rev=15
2022-01-17 06:32:07 +00:00
|
|
|
%autosetup -p1 -n traitsui-%{version}
|
2018-05-29 14:47:33 +00:00
|
|
|
|
|
|
|
|
%build
|
2023-11-17 09:48:20 +00:00
|
|
|
%pyproject_wheel
|
2018-05-29 14:47:33 +00:00
|
|
|
|
|
|
|
|
%install
|
2023-11-17 09:48:20 +00:00
|
|
|
%pyproject_install
|
2021-02-24 14:28:34 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
ln -sf examples/tutorials/doc_exmaples/default.css examples/tutorials/traitsui_4.0/default.css
|
2018-05-29 14:47:33 +00:00
|
|
|
|
|
|
|
|
%check
|
2019-07-26 10:43:17 +00:00
|
|
|
export LANG=en_US.UTF-8
|
2021-02-24 14:28:34 +00:00
|
|
|
# different splitters?
|
|
|
|
|
donttest="test_splitter_prefs_are_restored"
|
2023-11-17 09:48:20 +00:00
|
|
|
%pytest traitsui/tests -k "not (${donttest})"
|
2018-05-29 14:47:33 +00:00
|
|
|
|
|
|
|
|
%files %{python_files}
|
2021-02-24 14:28:34 +00:00
|
|
|
%doc README.rst
|
|
|
|
|
%doc docs/traits*.*
|
2018-05-29 14:47:33 +00:00
|
|
|
%doc examples/
|
|
|
|
|
%license LICENSE.txt image_LICENSE*.txt
|
|
|
|
|
%{python_sitelib}/traitsui/
|
Accepting request 946811 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 7.2.1
* Explicitly require traits 6.2 and pyface 7.3 (#1666, #1668)
- Release 7.2.0
* TraitsUI 7.2.0 is a minor release which includes numerous bug
fixes, documentation improvements, code maintenance changes,
and enhancements.
* The migration from on_trait_change to observe is underway. As a
result, TraitsUI now requires Traits >= 6.2.
* New display-only VideoEditor (currently only on Qt backend).
Exapnsion of features for the new UITester including the
ability to inspect UI object visibility / enabledness. Also
documentation for testing has been updated.
* Notes on upgrading: This release of TraitsUI now depends on
Traits 6.2+ and pyface 7.2+. Also, deprecated code / modules
have been removed. Namely, the :mod:traitsui.image
<traitsui.image> module which was moved to pyface.image,
editors_gen modules, Editor and EditorFactory factory methods
on Toolkit objects, and more. For a complete list, see PRs in
the "Removals" section. These were all generally unused /
deprecated for sometime. Also, importing directly from
traitsui.editors has been deprecated. Please update imports to
import directly from :mod:traitsui.api or
:mod:traitsui.editors.api.
- Detailed changelog at
https://github.com/enthought/traitsui/releases/tag/7.2.0
- Add traitsui-pr1689-deprecations.patch
* gh#enthought/traitsui#1689 + gh#enthought/traitsui#1681
OBS-URL: https://build.opensuse.org/request/show/946811
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-traitsui?expand=0&rev=15
2022-01-17 06:32:07 +00:00
|
|
|
%{python_sitelib}/traitsui-%{version}*-info
|
2018-05-29 14:47:33 +00:00
|
|
|
|
|
|
|
|
%changelog
|