Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:smarty12:Python
python-openmdao
python-openmdao.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-openmdao.spec of Package python-openmdao
# # spec file for package python-openmdao # # Copyright (c) 2017 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-%{**}} %bcond_without test Name: python-openmdao Version: 1.7.3 Release: 0 Summary: A Multidisciplinary Design Analysis and Optimization framework License: Apache-2.0 Group: Development/Languages/Python Url: http://openmdao.org Source: https://files.pythonhosted.org/packages/source/o/openmdao/openmdao-%{version}.tar.gz # PATCH-FIX-OPENSUSE use_setuptools.patch -- some of the optional features we want need setuptools Patch0: use_setuptools.patch # PATCH-FIX-UPSTREAM recent_scipy_fixes.patch -- https://github.com/OpenMDAO/OpenMDAO/issues/671 Patch1: recent_scipy_fixes.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module h5py} BuildRequires: %{python_module networkx >= 1.11} BuildRequires: %{python_module numpy} BuildRequires: %{python_module pyparsing} BuildRequires: %{python_module scipy} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: %{python_module sqlitedict} BuildRequires: fdupes BuildRequires: openmpi BuildRequires: python-rpm-macros %if %{with test} BuildRequires: %{python_module mock} BuildRequires: %{python_module nose} BuildRequires: %{python_module testflo} %endif Requires: python-h5py Requires: python-networkx >= 1.11 Requires: python-numpy Requires: python-pyparsing Requires: python-scipy Requires: python-six Requires: python-sqlitedict BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch Requires(post): update-alternatives Requires(preun): update-alternatives %python_subpackages %description OpenMDAO is an open-source Multidisciplinary Design Analysis and Optimization (MDAO) framework, written in Python. You can use it to develop an integrated analysis and design environment for your engineering challenges. %prep %setup -q -n openmdao-%{version} %patch0 -p1 %patch1 -p1 %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/profdump %python_clone -a %{buildroot}%{_bindir}/proftotals %python_clone -a %{buildroot}%{_bindir}/view_profile %python_clone -a %{buildroot}%{_bindir}/webview %python_clone -a %{buildroot}%{_bindir}/wingproj %if %{with test} %check %python_expand testflo-%{$python_bin_suffix} . -n 1 %endif %post %{python_install_alternative profdump proftotals view_profile webview wingproj} %preun %python_uninstall_alternative profdump %files %{python_files} %defattr(-,root,root,-) %python_alternative %{_bindir}/profdump %python_alternative %{_bindir}/proftotals %python_alternative %{_bindir}/view_profile %python_alternative %{_bindir}/webview %python_alternative %{_bindir}/wingproj %{python_sitelib}/* %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