A new user interface for you! Read more...

File python3-traitsui.spec of Package python3-traitsui

#
# spec file for package python3-traitsui
#
# Copyright (c) 2016 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
# 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.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           python3-traitsui
Version:        5.1.0
Release:        0
Summary:        Traits-capable windowing framework
License:        BSD-3-Clause and EPL-1.0 and LGPL-2.1 and LGPL-3.0
Group:          Development/Libraries/Python
# Source code is under BSD but images are under different licenses
# and details are inside image_LICENSE.txt
Url:            http://code.enthought.com/projects/traits_gui
Source:         https://pypi.python.org/packages/source/t/traitsui/traitsui-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  fdupes
BuildRequires:  python3-devel
BuildRequires:  python3-numpy
BuildRequires:  python3-pyface
BuildRequires:  python3-setuptools
BuildRequires:  python3-traits
#BuildRequires:  python3-wxWidgets
Requires:       python3-pyface
Requires:       python3-traits
Recommends:     python3-numpy
Provides:       python3-TraitsGUI = %{version}
Obsoletes:      python3-TraitsGUI < %{version}
Provides:       python3-TraitsBackendQt = %{version}
Obsoletes:      python3-TraitsBackendQt < %{version}
#Provides:       python3-TraitsBackendWx = %{version}
#Obsoletes:      python3-TraitsBackendWx < %{version}
BuildArch:      noarch

%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
%setup -q -n traitsui-%{version}

%build
python3 setup.py build

%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
%fdupes -s %{buildroot}

%files
%defattr(-,root,root,-)
%doc CHANGES.txt *LICENSE*.txt README.rst TODO.txt
%{python3_sitelib}/traitsui/
%{python3_sitelib}/traitsui-%{version}-py*.egg-info

%changelog