From db7485e50abb459d5f244d00766874cf5768e159510dcbbe49daf4db825cd3a6 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 26 Feb 2016 13:24:18 +0000 Subject: [PATCH] - update to 3.4.0: * Do not fail on certain config option help strings * Updated from global requirements * enhance sphinx integration to allow links to option definitions * Remove argparse from requirements * Updated from global requirements * replace reference to default value in option help text in docs * add built-in options to auto-generated documentation * register the built-in options for the config generator to find * Add reST work label for configuration options * Allow port number with 0 * Replace deprecated library function os.popen() with subprocess * Fix can't generate config sample with non-None value * Fixed deprecated_for_removal warning generation * Module index grouping * Docs class links * generator: ignore doubles * Numerous corrections to the docstrings * Make oslo-config-generator fail gracefully when no arguments * Replace assertEqual(*, None) with assertIsNone in tests * Python 3 deprecated the logger.warn method in favor of warning * Replace assertEqual(None,*) with assertIsNone(*) * Cleanly handle an undefined attribute reference * Replace assertEqual with assertTrue and assertFalse * assertIsNone(val) instead of assertEqual(None,val) OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=37 --- oslo.config-3.2.0.tar.gz | 3 --- oslo.config-3.4.0.tar.gz | 3 +++ python-oslo.config.changes | 28 ++++++++++++++++++++++++++++ python-oslo.config.spec | 21 +++++++++++++-------- 4 files changed, 44 insertions(+), 11 deletions(-) delete mode 100644 oslo.config-3.2.0.tar.gz create mode 100644 oslo.config-3.4.0.tar.gz diff --git a/oslo.config-3.2.0.tar.gz b/oslo.config-3.2.0.tar.gz deleted file mode 100644 index a2fd62e..0000000 --- a/oslo.config-3.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:35d3de9145af1f8467d8c3062415b9a150dcc1a6453a8fc17ca48d14a7a001d3 -size 86255 diff --git a/oslo.config-3.4.0.tar.gz b/oslo.config-3.4.0.tar.gz new file mode 100644 index 0000000..c001d1e --- /dev/null +++ b/oslo.config-3.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:58dc7527716c246f099f5da416ea6263554795917777eb6b005f17e984cde3ca +size 89378 diff --git a/python-oslo.config.changes b/python-oslo.config.changes index efc6112..c07bc84 100644 --- a/python-oslo.config.changes +++ b/python-oslo.config.changes @@ -1,4 +1,32 @@ ------------------------------------------------------------------- +Thu Feb 11 07:39:04 UTC 2016 - dmueller@suse.com + +- update to 3.4.0: + * Do not fail on certain config option help strings + * Updated from global requirements + * enhance sphinx integration to allow links to option definitions + * Remove argparse from requirements + * Updated from global requirements + * replace reference to default value in option help text in docs + * add built-in options to auto-generated documentation + * register the built-in options for the config generator to find + * Add reST work label for configuration options + * Allow port number with 0 + * Replace deprecated library function os.popen() with subprocess + * Fix can't generate config sample with non-None value + * Fixed deprecated_for_removal warning generation + * Module index grouping + * Docs class links + * generator: ignore doubles + * Numerous corrections to the docstrings + * Make oslo-config-generator fail gracefully when no arguments + * Replace assertEqual(*, None) with assertIsNone in tests + * Python 3 deprecated the logger.warn method in favor of warning + * Replace assertEqual(None,*) with assertIsNone(*) + * Cleanly handle an undefined attribute reference + * Replace assertEqual with assertTrue and assertFalse + * assertIsNone(val) instead of assertEqual(None,val) +------------------------------------------------------------------- Fri Jan 8 08:21:27 UTC 2016 - bwiedemann@suse.com - Update to version 3.2.0 diff --git a/python-oslo.config.spec b/python-oslo.config.spec index ffda6cd..270c266 100644 --- a/python-oslo.config.spec +++ b/python-oslo.config.spec @@ -17,7 +17,7 @@ Name: python-oslo.config -Version: 3.2.0 +Version: 3.4.0 Release: 0 Summary: OpenStack configuration API License: Apache-2.0 @@ -29,6 +29,8 @@ BuildRequires: fdupes BuildRequires: openstack-suse-macros BuildRequires: python-devel # Test requirements: +BuildRequires: git-core +BuildRequires: python-debtcollector >= 1.2.0 BuildRequires: python-fixtures >= 0.3.14 BuildRequires: python-mock >= 1.0 BuildRequires: python-netaddr @@ -42,6 +44,7 @@ BuildRequires: python-stevedore BuildRequires: python-testrepository >= 0.0.18 BuildRequires: python-testscenarios >= 0.4 BuildRequires: python-testtools >= 0.9.36 +Requires: python-debtcollector >= 1.2.0 Requires: python-netaddr >= 0.7.12 Requires: python-six >= 1.9.0 Requires: python-stevedore >= 1.5.0 @@ -73,23 +76,25 @@ This package contains documentation files for %{name}. %build %{__python2} setup.py build -%install -%{__python2} setup.py install --skip-build --root %{buildroot} - +# disabling git call for last modification date from git repo +sed '/^html_last_updated_fmt.*/,/.)/ s/^/#/' -i doc/source/conf.py # generate html docs python setup.py build_sphinx # remove the sphinx-build leftovers rm -rf doc/build/html/.{doctrees,buildinfo} +%install +%{__python2} setup.py install --skip-build --root %{buildroot} + %files -%defattr(-,root,root,-) -%doc LICENSE README.rst AUTHORS +%license LICENSE +%doc README.rst AUTHORS %{_bindir}/oslo-config-generator %{python2_sitelib}/oslo_config %{python2_sitelib}/*.egg-info %files doc -%defattr(-,root,root,-) -%doc LICENSE doc/build/html +%license LICENSE +%doc doc/build/html %changelog