11
0

Accepting request 566504 from Cloud:OpenStack:Factory

- update to version 3.24.0
  - Imported Translations from Zanata
  - Remove setting of version/release from releasenotes
  - Remove -U from pip install
  - Updated from global requirements
  - Avoid tox_install.sh for constraints support

- update to version 3.23.0
  - Add debug log to indicate when external lock is taken
  - Update reno for stable/pike
  - Minor correction to docstrings
  - Windows: ensure exec calls don't block other greenthreads
  - Updated from global requirements

- update to version 3.21.1
  - Update .gitreview for stable/pike
  - Windows: ensure exec calls don't block other greenthreads
  - Updated from global requirements
  - Update UPPER_CONSTRAINTS_FILE for stable/pike

OBS-URL: https://build.opensuse.org/request/show/566504
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-oslo.concurrency?expand=0&rev=9
This commit is contained in:
2018-01-17 20:58:27 +00:00
committed by Git OBS Bridge
5 changed files with 102 additions and 42 deletions

View File

@@ -1,8 +1,8 @@
<services>
<service mode="disabled" name="renderspec">
<param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/openstack/oslo.concurrency/oslo.concurrency.spec.j2</param>
<param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/master/openstack/oslo.concurrency/oslo.concurrency.spec.j2</param>
<param name="output-name">python-oslo.concurrency.spec</param>
<param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/global-requirements.txt</param>
<param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/master/requirements.txt</param>
<param name="changelog-email">cloud-devel@suse.de</param>
<param name="changelog-provider">gh,openstack,oslo.concurrency</param>
</service>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:732e53c37d349a97ea70bd4f31336de26de316453d956210e5cb0015cbc51abb
size 47353

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7e4617b235ac3ba3a13299b893668634048991d198c1c44e9a4543cf46251e88
size 48455

View File

@@ -1,3 +1,32 @@
-------------------------------------------------------------------
Mon Jan 15 11:50:29 UTC 2018 - cloud-devel@suse.de
- update to version 3.24.0
- Imported Translations from Zanata
- Remove setting of version/release from releasenotes
- Remove -U from pip install
- Updated from global requirements
- Avoid tox_install.sh for constraints support
-------------------------------------------------------------------
Fri Nov 24 23:01:53 UTC 2017 - cloud-devel@suse.de
- update to version 3.23.0
- Add debug log to indicate when external lock is taken
- Update reno for stable/pike
- Minor correction to docstrings
- Windows: ensure exec calls don't block other greenthreads
- Updated from global requirements
-------------------------------------------------------------------
Thu Sep 28 06:57:11 UTC 2017 - cloud-devel@suse.de
- update to version 3.21.1
- Update .gitreview for stable/pike
- Windows: ensure exec calls don't block other greenthreads
- Updated from global requirements
- Update UPPER_CONSTRAINTS_FILE for stable/pike
-------------------------------------------------------------------
Mon Aug 7 13:37:37 UTC 2017 - cloud-devel@suse.de

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-oslo.concurrency
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@@ -16,65 +16,87 @@
#
%global sname oslo.concurrency
Name: python-oslo.concurrency
Version: 3.21.0
Version: 3.24.0
Release: 0
Summary: OpenStack oslo.concurrency library
License: Apache-2.0
Group: Development/Languages/Python
Url: https://launchpad.net/%{sname}
Source0: https://pypi.io/packages/source/o/%{sname}/%{sname}-%{version}.tar.gz
Url: https://launchpad.net/oslo.concurrency
Source0: https://files.pythonhosted.org/packages/source/o/oslo.concurrency/oslo.concurrency-3.24.0.tar.gz
BuildRequires: openstack-macros
BuildRequires: python-devel
BuildRequires: python-enum34
BuildRequires: python-eventlet >= 0.18.2
BuildRequires: python-fasteners >= 0.7
BuildRequires: python-fixtures >= 3.0.0
BuildRequires: python-futures >= 3.0
BuildRequires: python-mock >= 2.0
BuildRequires: python-oslo.config >= 4.0.0
BuildRequires: python-oslo.i18n >= 2.1.0
BuildRequires: python-oslo.utils >= 3.20.0
BuildRequires: python-oslotest >= 1.10.0
BuildRequires: python-pbr >= 2.0.0
BuildRequires: python-testrepository >= 0.0.18
BuildRequires: python-testscenarios >= 0.4
BuildRequires: python-testtools >= 1.4.0
Requires: python-enum34
Requires: python-fasteners >= 0.7
BuildRequires: python2-enum34 >= 1.0.4
BuildRequires: python2-eventlet >= 0.18.2
BuildRequires: python2-fasteners >= 0.7.0
BuildRequires: python2-fixtures >= 3.0.0
BuildRequires: python2-futures >= 3.0.0
BuildRequires: python2-mock >= 2.0.0
BuildRequires: python2-oslo.config >= 4.6.0
BuildRequires: python2-oslo.i18n >= 3.15.3
BuildRequires: python2-oslo.utils >= 3.31.0
BuildRequires: python2-oslotest >= 1.10.0
BuildRequires: python2-pbr >= 2.0.0
BuildRequires: python2-testrepository >= 0.0.18
BuildRequires: python2-testscenarios >= 0.4
BuildRequires: python2-testtools >= 2.2.0
BuildRequires: python3-eventlet >= 0.18.2
BuildRequires: python3-fasteners >= 0.7.0
BuildRequires: python3-fixtures >= 3.0.0
BuildRequires: python3-mock >= 2.0.0
BuildRequires: python3-oslo.config >= 4.6.0
BuildRequires: python3-oslo.i18n >= 3.15.3
BuildRequires: python3-oslo.utils >= 3.31.0
BuildRequires: python3-oslotest >= 1.10.0
BuildRequires: python3-pbr >= 2.0.0
BuildRequires: python3-testrepository >= 0.0.18
BuildRequires: python3-testscenarios >= 0.4
BuildRequires: python3-testtools >= 2.2.0
Requires: python-fasteners >= 0.7.0
Requires: python-iso8601 >= 0.1.11
Requires: python-oslo.config >= 4.0.0
Requires: python-oslo.i18n >= 2.1.0
Requires: python-oslo.utils >= 3.20.0
Requires: python-oslo.config >= 4.6.0
Requires: python-oslo.i18n >= 3.15.3
Requires: python-oslo.utils >= 3.31.0
Requires: python-retrying >= 1.2.3
Requires: python-six >= 1.9.0
Requires: python-six >= 1.10.0
BuildArch: noarch
%ifpython2
Requires: python-enum34 >= 1.0.4
%endif
%if 0%{?suse_version}
Requires(post): update-alternatives
Requires(postun): update-alternatives
%else
# on RDO, update-alternatives is in chkconfig
Requires(post): chkconfig
Requires(postun): chkconfig
%endif
%python_subpackages
%description
The oslo.concurrency library has utilities for safely running multi-thread,
multi-process applications using locking mechanisms and for running
external processes.
%package doc
%package -n python-oslo.concurrency-doc
Summary: Documentation for OpenStack concurrency library
Group: Development/Languages/Python
BuildRequires: python-Sphinx
BuildRequires: python-openstackdocstheme >= 1.11.0
BuildRequires: python-openstackdocstheme >= 1.17.0
%description doc
%description -n python-oslo.concurrency-doc
The oslo.concurrency library has utilities for safely running multi-thread,
multi-process applications using locking mechanisms and for running
external processes.
This package contains the documentation.
%prep
%autosetup -n %{sname}-%{version}
%autosetup -p1 -n oslo.concurrency-3.24.0
%py_req_cleanup
sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
%build
%{py2_build}
%{python_build}
# generate html docs
%{__python2} setup.py build_sphinx
@@ -82,23 +104,32 @@ sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
rm -rf doc/build/html/.{doctrees,buildinfo}
%install
%{py2_install}
%{python_install}
%python_clone -a %{buildroot}%{_bindir}/lockutils-wrapper
%post
%python_install_alternative lockutils-wrapper
%postun
%python_uninstall_alternative lockutils-wrapper
%check
%{python_expand rm -rf .testrepository
# Test suite fails on 32 bit platforms
# ifarch/ifnarch can not be used in noarch packages
if [ "%_lib" = "lib64" ]; then
%{__python2} setup.py testr
$python setup.py testr
fi
}
%files
%files %{python_files}
%license LICENSE
%doc README.rst ChangeLog
%_bindir/lockutils-wrapper
%{python2_sitelib}/oslo_concurrency
%{python2_sitelib}/*.egg-info
%python_alternative %{_bindir}/lockutils-wrapper
%{python_sitelib}/oslo_concurrency
%{python_sitelib}/*.egg-info
%files doc
%files -n python-oslo.concurrency-doc
%license LICENSE
%doc doc/build/html