代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/python-openstacksdk 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%global _empty_manifest_terminate_build 0
%global with_doc 0
Name: python-openstacksdk
Version: 0.55.0
Release: 2
Summary: An SDK for building applications to work with OpenStack
License: ASL 2.0
URL: http://www.openstack.org/
Source0: https://pypi.io/packages/source/o/openstacksdk/openstacksdk-%{version}.tar.gz
BuildArch: noarch
%description
A collection of libraries for building applications to work with OpenStack clouds.
%package -n python3-openstacksdk
Summary: An SDK for building applications to work with OpenStack
%{?python_provide:%python_provide python3-openstacksdk}
BuildRequires: python3-devel
BuildRequires: python3-pbr >= 2.0.0
BuildRequires: python3-pip
BuildRequires: python3-keystoneauth1
BuildRequires: python3-appdirs
BuildRequires: python3-requestsexceptions
BuildRequires: python3-munch
BuildRequires: python3-jmespath
BuildRequires: python3-jsonschema
BuildRequires: python3-os-service-types
# Test requirements
BuildRequires: python3-importlib_metadata
BuildRequires: python3-iso8601
BuildRequires: python3-jsonpatch
BuildRequires: python3-subunit
BuildRequires: python3-oslotest
BuildRequires: python3-oslo-config
BuildRequires: python3-stestr
BuildRequires: python3-mock
BuildRequires: python3-testrepository
BuildRequires: python3-testscenarios
BuildRequires: python3-testtools
BuildRequires: python3-requests-mock
BuildRequires: python3-dogpile-cache
BuildRequires: python3-ddt
BuildRequires: python3-decorator
BuildRequires: python3-netifaces
Requires: python3-cryptography
Requires: python3-importlib_metadata
Requires: python3-jsonpatch
Requires: python3-keystoneauth1
Requires: python3-pbr
Requires: python3-appdirs
Requires: python3-requestsexceptions
Requires: python3-munch
Requires: python3-jmespath
Requires: python3-iso8601
Requires: python3-os-service-types
Requires: python3-dogpile-cache
Requires: python3-decorator
Requires: python3-netifaces
Requires: python3-PyYAML
%description -n python3-openstacksdk
A collection of libraries for building applications to work with OpenStack clouds.
%package -n python3-openstacksdk-tests
Summary: An SDK for building applications to work with OpenStack - test files
Requires: python3-openstacksdk
%description -n python3-openstacksdk-tests
A collection of libraries for building applications to work with OpenStack - test files
%if 0%{?with_doc}
%package -n python-openstacksdk-doc
Summary: An SDK for building applications to work with OpenStack - documentation
BuildRequires: python3-openstackdocstheme
BuildRequires: python3-sphinx
%description -n python-openstacksdk-doc
A collection of libraries for building applications to work with OpenStack
clouds - documentation.
%endif
%prep
%autosetup -n openstacksdk-%{version} -p1
rm -rf {,test-}requirements.txt
rm -f openstack/tests/unit/test_stats.py
%build
%{py3_build}
%if 0%{?with_doc}
sphinx-build-3 -b html doc/source html
rm -rf html/.{doctrees,buildinfo}
%endif
%install
%{py3_install}
%check
rm -f ./openstack/tests/unit/test_hacking.py
export OS_STDOUT_CAPTURE=true
export OS_STDERR_CAPTURE=true
export OS_TEST_TIMEOUT=20
PYTHON=python3 stestr --test-path ./openstack/tests/unit run --black-regex 'openstack.tests.unit.config.test_loader.TestLoader.test__load_yaml_json_file_without_perm'
%files -n python3-openstacksdk
%doc README.rst
%license LICENSE
%{_bindir}/openstack-inventory
%{python3_sitelib}/openstack
%{python3_sitelib}/openstacksdk-*.egg-info
%exclude %{python3_sitelib}/openstack/tests
%files -n python3-openstacksdk-tests
%{python3_sitelib}/openstack/tests
%if 0%{?with_doc}
%files -n python-openstacksdk-doc
%doc html
%license LICENSE
%endif
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.55.0-2
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Wed Jul 28 2021 huangtianhua <huangtianhua@huawei.com> 0.55.0-1
- Upgrade to 0.55.0
* Thu Jan 26 2021 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。