Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15:Update
python3-ipa
python3-ipa.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python3-ipa.spec of Package python3-ipa
# # spec file for package python3-ipa # # 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/ # %bcond_without test Name: python3-ipa Version: 1.0.0 Release: 0 Summary: Command line and API for testing custom images License: GPL-3.0-or-later Group: Development/Languages/Python Url: https://github.com/SUSE/ipa Source: https://files.pythonhosted.org/packages/source/p/python3-ipa/python3-ipa-%{version}.tar.gz BuildRequires: python3-devel BuildRequires: python3-setuptools %if %{with test} BuildRequires: python3-PyYAML BuildRequires: python3-apache-libcloud BuildRequires: python3-azure-common BuildRequires: python3-azure-mgmt-compute BuildRequires: python3-azure-mgmt-network BuildRequires: python3-azure-mgmt-resource BuildRequires: python3-click BuildRequires: python3-coverage BuildRequires: python3-cryptography BuildRequires: python3-paramiko BuildRequires: python3-pycrypto BuildRequires: python3-pytest BuildRequires: python3-pytest-cov BuildRequires: python3-testinfra %endif Requires: python3-PyYAML Requires: python3-apache-libcloud Requires: python3-azure-common Requires: python3-azure-mgmt-compute Requires: python3-azure-mgmt-network Requires: python3-azure-mgmt-resource Requires: python3-click Requires: python3-cryptography Requires: python3-paramiko Requires: python3-pycrypto Requires: python3-pytest Requires: python3-testinfra BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description ipa provides a command line utility to test images in the Public Cloud (AWS, Azure, GCE, etc.). %package tests Summary: Infrastructure tests for ipa Group: Development/Languages/Python PreReq: python3-ipa = %{version} Requires: python3-susepubliccloudinfo %description tests Directory of infrastructure tests for testing images. %prep %setup -q -n python3-ipa-%{version} %build python3 setup.py build %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} install -d -m 755 %{buildroot}/%{_mandir}/man1 install -m 644 man/man1/*.1 %{buildroot}/%{_mandir}/man1 install -d -m 755 %{buildroot}/usr cp -r usr/* %{buildroot}/usr/ %check %if %{with test} export LC_ALL=en_US.utf-8 export LANG=en_US.utf-8 python3 -m pytest --cov=ipa --ignore=tests/data --ignore=usr %endif %files %defattr(-,root,root) %doc CHANGES.asciidoc CONTRIBUTING.asciidoc LICENSE README.asciidoc %doc %{_mandir}/man1/* %{_bindir}/ipa %{python3_sitelib}/* %files tests %defattr(-,root,root) %dir /usr/share/lib %dir /usr/share/lib/ipa /usr/share/lib/ipa/* %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