Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1
python-envisage
python-envisage.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-envisage.spec of Package python-envisage
# # spec file for package python-envisage # # Copyright (c) 2018 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/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 %define X_display ":98" %bcond_with test Name: python-envisage Version: 4.7.0 Release: 0 Summary: Extensible application framework for Python # Source code is under BSD but images are under different licenses # and details are inside image_LICENSE.txt License: BSD-3-Clause AND Python-2.0 AND LGPL-3.0-only AND CC-BY-SA-1.0 AND CC-BY-SA-2.0 AND CC-BY-SA-2.5 AND CC-BY-SA-3.0 AND SUSE-Public-Domain Group: Development/Libraries/Python Url: https://github.com/enthought/envisage Source: https://files.pythonhosted.org/packages/source/e/envisage/envisage-%{version}.tar.gz Source10: https://raw.githubusercontent.com/enthought/envisage/%{version}/LICENSE.txt Source11: https://raw.githubusercontent.com/enthought/envisage/%{version}/image_LICENSE.txt Source12: https://raw.githubusercontent.com/enthought/envisage/%{version}/image_LICENSE_CP.txt BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module traits} BuildRequires: fdupes BuildRequires: python-rpm-macros %if %{with test} BuildRequires: %{python_module Pygments} BuildRequires: %{python_module apptools} BuildRequires: %{python_module nose} BuildRequires: %{python_module traitsui} BuildRequires: xorg-x11-server %endif Requires: python-traits BuildArch: noarch %python_subpackages %description Envisage is a Python-based framework for building extensible applications, that is, applications whose functionality can be extended by adding "plug-ins". Envisage provides a standard mechanism for features to be added to an application. When building an application using Envisage, the entire application consists primarily of plug-ins. In this respect, it is similar to the Eclipse and Netbeans frameworks for Java applications. Part of the Enthought Tool Suite (ETS). %prep %setup -q -n envisage-%{version} cp %{SOURCE10} . cp %{SOURCE11} . cp %{SOURCE12} . %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %if %{with test} %check export DISPLAY=%{X_display} Xvfb %{X_display} >& Xvfb.log & trap "kill $! || true" EXIT sleep 10 %{python_expand mkdir tester_%{$python_bin_suffix} pushd tester_%{$python_bin_suffix} export PYTHONPATH=%{buildroot}%{$python_sitelib} $python -B -m nose.core -v envisage popd } %endif %files %{python_files} %defattr(-,root,root,-) %doc README.rst %license LICENSE.txt image_LICENSE.txt image_LICENSE_CP.txt %{python_sitelib}/envisage/ %{python_sitelib}/envisage-%{version}-py*.egg-info %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor