1
0

osc copypac from project:Cloud:OpenStack:Kilo package:python-oslo.config revision:4, using keep-link, using expand

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=24
This commit is contained in:
Dirk Mueller 2015-06-24 16:27:42 +00:00 committed by Git OBS Bridge
parent 542333c890
commit 7fadee9fb4
4 changed files with 46 additions and 19 deletions

View File

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

3
oslo.config-1.9.3.tar.gz Normal file
View File

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

View File

@ -1,3 +1,39 @@
-------------------------------------------------------------------
Mon Mar 30 05:59:51 UTC 2015 - tbechtold@suse.com
- update to 1.9.3:
* Switch to non-namespaced module imports
-------------------------------------------------------------------
Tue Mar 10 10:09:49 UTC 2015 - tbechtold@suse.com
- update to 1.9.2:
* print better message when choices has an empty string
* None in config choices breaks oslo-config-generator
* Generate help text indicating possible values
* fix bug link in readme
* Add ability to deprecate opts for removal
* Typo in StrOpt docstring: Integer to String
* Add exception handling for entry points
-------------------------------------------------------------------
Tue Feb 24 08:29:05 UTC 2015 - tbechtold@suse.com
- update to 1.7.0:
* Updated from global requirements
* Log a warning when deprecated opts are used
* Do not import our namespace package
* Fixes deprecation warning for oslo.config in cfg.py
* Clear up MultiStrOpt and related documentation
* Add a list_all_sections method to ConfigOpts
* Better check for integer range to account for 0
* Reword DeprecatedOpt docstring
* Support i18n messages in config generator
* Fix of wrong cli opts unregistration
- Cleanup BuildRequires. SLES 11 is no longer a build target
- Add python-oslo.i18n as BuildRequires for tests
- Disable testrun for now
-------------------------------------------------------------------
Wed Jan 14 10:17:56 UTC 2015 - tbechtold@suse.com

View File

@ -17,7 +17,7 @@
Name: python-oslo.config
Version: 1.6.0
Version: 1.9.3
Release: 0
Url: https://launchpad.net/oslo/
Summary: OpenStack configuration API
@ -31,14 +31,10 @@ BuildRequires: python-devel
BuildRequires: python-oslosphinx
BuildRequires: python-pbr
# Test requirements:
#BuildRequires: python-coverage >= 3.6
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
BuildRequires: python-argparse
BuildRequires: python-discover
%endif
BuildRequires: python-fixtures >= 0.3.14
BuildRequires: python-mock >= 1.0
BuildRequires: python-netaddr
BuildRequires: python-oslo.i18n >= 1.3.0
BuildRequires: python-oslotest >= 1.2.0
BuildRequires: python-python-subunit >= 0.0.18
BuildRequires: python-six
@ -48,16 +44,11 @@ BuildRequires: python-testscenarios >= 0.4
BuildRequires: python-testtools >= 0.9.36
Requires: python-netaddr >= 0.7.12
Requires: python-pbr >= 0.6
Requires: python-six >= 1.7
Requires: python-stevedore >= 1.1
Requires: python-six >= 1.9.0
Requires: python-stevedore >= 1.1.0
Provides: python-oslo-config = 2013.2
Obsoletes: python-oslo-config < 2013.2
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
Requires: python-argparse
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
Provides: %{name}-test = %{version}
Obsoletes: %{name}-test <= %{version}
@ -92,9 +83,9 @@ python setup.py install --skip-build --root=%{buildroot} --prefix=%{_prefix} --i
# has one in $BUILDROOT. But the former takes precedence since %{python_sitelib} is always last sys.path. Thus
# tests can never find the oslo.config module. Obviously PYTHONPATH alone won't help either. But distro-boys
# have bigger balls than stackers and fix themselves a custom load order with the magic '-S' flag:
export PYTHONPATH="%{python_sitelib}:%{buildroot}%{python_sitelib}"
export PYTHON="python -S"
testr init && testr run --parallel
#export PYTHONPATH="%{buildroot}%{python_sitelib}:%{python_sitelib}"
#export PYTHON="python -S"
#testr init && testr run --parallel
%files
%defattr(-,root,root,-)