Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Cloud:Tools
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) 2019 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 https://bugs.opensuse.org/ # %bcond_without test Name: python3-ipa Version: 3.3.1 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/%{name}-%{version}.tar.gz BuildRequires: python3-devel BuildRequires: python3-setuptools 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-boto3 Requires: python3-certifi Requires: python3-click Requires: python3-cryptography Requires: python3-paramiko Requires: python3-pycryptodome Requires: python3-pytest Requires: python3-testinfra BuildArch: noarch %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-boto3 BuildRequires: python3-certifi BuildRequires: python3-click BuildRequires: python3-coverage BuildRequires: python3-cryptography BuildRequires: python3-paramiko BuildRequires: python3-pycryptodome BuildRequires: python3-pytest BuildRequires: python3-pytest-cov BuildRequires: python3-testinfra %endif %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 Requires: python3-susepubliccloudinfo PreReq: python3-ipa = %{version} %description tests Directory of infrastructure tests for testing images. %prep %setup -q %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}%{_prefix} cp -r usr/* %{buildroot}%{_prefix}/ %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) %license LICENSE %doc CHANGES.md CONTRIBUTING.md README.md %{_mandir}/man1/* %{_bindir}/ipa %{python3_sitelib}/* %files tests %defattr(-,root,root) %dir %{_datadir}/lib %dir %{_datadir}/lib/ipa %{_datadir}/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