forked from pool/python-oslo.config
osc copypac from project:Cloud:OpenStack:Icehouse:Staging package:python-oslo.config revision:3, using keep-link, using expand
OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=15
This commit is contained in:
parent
2fd0355a14
commit
721a9c37cb
@ -1,13 +1,159 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 14 10:32:02 UTC 2014 - speilicke@suse.com
|
Thu Mar 27 10:19:08 UTC 2014 - dmueller@suse.com
|
||||||
|
|
||||||
|
- switch back to released version of oslo.config (which is
|
||||||
|
recommended for Icehouse)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 10 16:24:49 UTC 2014 - cloud-devel@suse.de
|
||||||
|
|
||||||
|
- Update to version oslo.config-1.3.0a0.40.gb347519:
|
||||||
|
* Include the 'meta' trove classifiers for python versions
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 5 01:11:55 UTC 2014 - cloud-devel@suse.de
|
||||||
|
|
||||||
|
- Update to version oslo.config-1.3.0a0.39.ga5faf6b:
|
||||||
|
* Do substitution on overrides and defaults too
|
||||||
|
* Follow style guide for help strings
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 3 01:24:36 UTC 2014 - cloud-devel@suse.de
|
||||||
|
|
||||||
|
- Update to version oslo.config-1.3.0a0.35.gc577365:
|
||||||
|
* Updated from global requirements
|
||||||
|
* Convert to oslo.test
|
||||||
|
* Add py33 trove classifier
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 25 00:44:03 UTC 2014 - cloud-devel@suse.de
|
||||||
|
|
||||||
|
- Update to version oslo.config-1.3.0a0.31.g076d828:
|
||||||
|
* Fix a whitespace in a comment
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 23 00:38:24 UTC 2014 - cloud-devel@suse.de
|
||||||
|
|
||||||
|
- Update to version oslo.config-1.3.0a0.30.g482e276:
|
||||||
|
* Fix docstring of parsing order
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 19 01:07:38 UTC 2014 - cloud-devel@suse.de
|
||||||
|
|
||||||
|
- Update to version oslo.config-1.3.0a0.28.g4c5c1ea:
|
||||||
|
* Remove extraneous vim configuration comments
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 16 01:13:56 UTC 2014 - cloud-devel@suse.de
|
||||||
|
|
||||||
|
- Rebased patches:
|
||||||
|
+ 0001-Switch-over-to-oslosphinx.patch dropped (merged upstream)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 16 01:13:55 UTC 2014 - cloud-devel@suse.de
|
||||||
|
|
||||||
|
- Update to version oslo.config-1.3.0a0.26.g13de959:
|
||||||
|
* Switch over to oslosphinx
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 14 09:02:15 UTC 2014 - speilicke@suse.com
|
||||||
|
|
||||||
|
- Run testr directly
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 13 13:24:41 UTC 2014 - dmueller@suse.com
|
||||||
|
|
||||||
|
- added patches:
|
||||||
|
* 0001-Switch-over-to-oslosphinx.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 11 16:06:53 UTC 2014 - speilicke@suse.com
|
||||||
|
|
||||||
|
- Update to version oslo.config-1.3.0a0.25.g2f98541:
|
||||||
|
* Fix misspellings in oslo.config
|
||||||
|
* Support building wheels (PEP-427)
|
||||||
|
* Add Style Guide for help of config options
|
||||||
|
* Add docs for types
|
||||||
- Replace git_tarballs source service with download_files and set_version
|
- Replace git_tarballs source service with download_files and set_version
|
||||||
+ Use upstream URL as source (enables verification)
|
+ Use upstream URL as source (enables verification)
|
||||||
|
- Use argparse only on SLE
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 29 09:12:38 UTC 2014 - speilicke@suse.com
|
Wed Jan 29 00:45:52 UTC 2014 - opensuse-cloud@opensuse.org
|
||||||
|
|
||||||
- Add refresh_patches source service
|
- Update to version 1.3.0a0.18.g16541c5:
|
||||||
|
+ Throw exception if --config-dir doesn't exist
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 28 01:22:48 UTC 2014 - opensuse-cloud@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 1.3.0a0.16.g3b8197e:
|
||||||
|
+ Remove copyright from empty files
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 24 13:41:10 UTC 2014 - opensuse-cloud@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 1.3.0a0.14.ge6bcb78:
|
||||||
|
+ Implemented support for custom opt types
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 12 01:14:43 UTC 2014 - opensuse-cloud@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 1.3.0a0.12.g0c3a643:
|
||||||
|
+ Fix for parsing error with Dollar Sign ($) in values
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 10 11:58:27 UTC 2014 - opensuse-cloud@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 1.3.0a0.10.g9972082:
|
||||||
|
+ Fix spelling errors in docstrings and comments
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 9 01:20:17 UTC 2014 - opensuse-cloud@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 1.3.0a0.8.g47b49e8:
|
||||||
|
+ Utilizes assertIsNone and assertIsNotNone
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Dec 21 01:36:04 UTC 2013 - opensuse-cloud@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 1.3.0a0.7.g74cd448:
|
||||||
|
+ Added support of operator '=='
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 13 01:07:10 UTC 2013 - opensuse-cloud@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 1.3.0a0.6.g73d60b3:
|
||||||
|
+ Updated from global requirements
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 18 09:57:35 UTC 2013 - speilicke@suse.com
|
||||||
|
|
||||||
|
- Add python-argparse test requirement
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 15 15:53:22 UTC 2013 - speilicke@suse.com
|
||||||
|
|
||||||
|
- Run testsuite during build (%check section) and obsolete the test
|
||||||
|
package. An overall simplification of the test process
|
||||||
|
- Needs a funky hack to circumvent PTH files shipped by oslo components
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 8 01:40:34 UTC 2013 - opensuse-cloud@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 1.3.0a0.5.g03930e3:
|
||||||
|
+ Updated from global requirements
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 2 01:04:04 UTC 2013 - opensuse-cloud@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 1.3.0a0.4.g4d08ec6:
|
||||||
|
+ Fix to make ConfigOpts no longer obscure IOErrors
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 25 08:53:22 UTC 2013 - dmueller@suse.com
|
||||||
|
|
||||||
|
- switch back to master tarball
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 27 08:11:13 UTC 2013 - speilicke@suse.com
|
Fri Sep 27 08:11:13 UTC 2013 - speilicke@suse.com
|
||||||
|
@ -16,8 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define component oslo
|
|
||||||
|
|
||||||
Name: python-oslo.config
|
Name: python-oslo.config
|
||||||
Version: 1.2.1
|
Version: 1.2.1
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -25,31 +23,45 @@ Url: https://launchpad.net/oslo/
|
|||||||
Summary: OpenStack configuration API
|
Summary: OpenStack configuration API
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Source: http://tarballs.openstack.org/oslo.config/oslo.config-1.2.1.tar.gz
|
Source: http://tarballs.openstack.org/oslo.config/oslo.config-%{version}.tar.gz
|
||||||
Source99: rpmlintrc
|
Source99: rpmlintrc
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: openstack-suse-macros
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-base
|
BuildRequires: python-oslosphinx
|
||||||
BuildRequires: python-oslo.sphinx
|
|
||||||
BuildRequires: python-pbr
|
BuildRequires: python-pbr
|
||||||
Requires: python-argparse
|
# 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-oslotest
|
||||||
|
BuildRequires: python-python-subunit
|
||||||
|
BuildRequires: python-six
|
||||||
|
BuildRequires: python-testrepository >= 0.0.17
|
||||||
|
BuildRequires: python-testscenarios >= 0.4
|
||||||
|
BuildRequires: python-testtools >= 0.9.32
|
||||||
Requires: python-pbr
|
Requires: python-pbr
|
||||||
Requires: python-six
|
Requires: python-six
|
||||||
Provides: python-oslo-config = 2013.2
|
Provides: python-oslo-config = 2013.2
|
||||||
Obsoletes: python-oslo-config < 2013.2
|
Obsoletes: python-oslo-config < 2013.2
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
%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()")}
|
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
%else
|
%else
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
%endif
|
||||||
|
Provides: %{name}-test = %{version}
|
||||||
|
Obsoletes: %{name}-test <= %{version}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Oslo configuration API supports parsing command line arguments and
|
The Oslo configuration API supports parsing command line arguments and
|
||||||
.ini style configuration files.
|
.ini style configuration files.
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
|
|
||||||
Summary: OpenStack configuration API - Documentation
|
Summary: OpenStack configuration API - Documentation
|
||||||
Group: Documentation/HTML
|
Group: Documentation/HTML
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
@ -60,42 +72,25 @@ Obsoletes: python-oslo-config-doc < 2013.2
|
|||||||
%description doc
|
%description doc
|
||||||
This package contains documentation files for %{name}.
|
This package contains documentation files for %{name}.
|
||||||
|
|
||||||
%package test
|
|
||||||
Summary: OpenStack configuration API - test suite
|
|
||||||
Group: System/Management
|
|
||||||
Conflicts: python-oslo-config-test
|
|
||||||
Requires: %{name} = %{version}
|
|
||||||
Requires: python-coverage
|
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
|
||||||
Requires: python-discover
|
|
||||||
%endif
|
|
||||||
Requires: python-fixtures >= 0.3.12
|
|
||||||
Requires: python-flake8 >= 2.0
|
|
||||||
Requires: python-hacking >= 0.5.3
|
|
||||||
Requires: python-pep8 >= 1.4.5
|
|
||||||
Requires: python-pyflakes >= 0.7.2
|
|
||||||
Requires: python-python-subunit
|
|
||||||
Requires: python-testrepository >= 0.0.13
|
|
||||||
Requires: python-testscenarios
|
|
||||||
Requires: python-testtools >= 0.9.29
|
|
||||||
|
|
||||||
%description test
|
|
||||||
This package contains testsuite files for %{name}.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n oslo.config-%{version}
|
%setup -q -n oslo.config-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
python setup.py build
|
||||||
python setup.py build_sphinx
|
python setup.py build_sphinx && rm doc/build/html/.buildinfo
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --skip-build --root=%{buildroot} --prefix=%{_prefix} --install-data=%{python_sitelib}
|
python setup.py install --skip-build --root=%{buildroot} --prefix=%{_prefix} --install-data=%{python_sitelib}
|
||||||
|
|
||||||
rm doc/build/html/.buildinfo
|
|
||||||
%fdupes doc
|
%fdupes doc
|
||||||
|
|
||||||
%openstack_test_package_install
|
%check
|
||||||
|
# NOTE(saschpe): oslo.sphinx puts a *.pth file into %{python_sitelib} (an EPIC FAIL for itself), oslo.config also
|
||||||
|
# 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
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -108,8 +103,4 @@ rm doc/build/html/.buildinfo
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE doc/build/html
|
%doc LICENSE doc/build/html
|
||||||
|
|
||||||
%files test
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_localstatedir}/lib/%{name}-test/
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user