Hello community, here is the log from the commit of package python-stevedore for openSUSE:Factory checked in at 2016-10-13 11:32:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-stevedore (Old) and /work/SRC/openSUSE:Factory/.python-stevedore.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-stevedore" Changes: -------- --- /work/SRC/openSUSE:Factory/python-stevedore/python-stevedore.changes 2016-09-16 11:01:39.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-stevedore.new/python-stevedore.changes 2016-10-13 11:32:38.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Oct 2 16:14:46 UTC 2016 - dmuel...@suse.com + +- add source service to rpm-packaging and refresh + +------------------------------------------------------------------- New: ---- _service ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-stevedore.spec ++++++ --- /var/tmp/diff_new_pack.jSh40P/_old 2016-10-13 11:32:39.000000000 +0200 +++ /var/tmp/diff_new_pack.jSh40P/_new 2016-10-13 11:32:39.000000000 +0200 @@ -16,58 +16,80 @@ # +%global pypi_name stevedore Name: python-stevedore Version: 1.17.1 Release: 0 Summary: Manage dynamic plugins for Python applications License: Apache-2.0 Group: Development/Languages/Python -Url: https://github.com/dreamhost/stevedore -Source: https://pypi.io/packages/source/s/stevedore/stevedore-%{version}.tar.gz -Source1: %{name}.changes +Url: http://docs.openstack.org/developer/stevedore/ +Source0: https://tarballs.openstack.org/stevedore/%{pypi_name}-%{version}.tar.gz +BuildRequires: openstack-macros BuildRequires: python-devel -BuildRequires: python-pbr -BuildRequires: python-setuptools -# Documentation requirements: -BuildRequires: python-Sphinx -BuildRequires: python-oslosphinx -# Test requirements: -BuildRequires: python-Pillow -BuildRequires: python-mock -BuildRequires: python-oslotest -BuildRequires: python-testrepository -Requires: python-argparse +BuildRequires: python-mock >= 2.0 +BuildRequires: python-oslotest >= 1.10.0 +BuildRequires: python-pbr >= 1.6 +BuildRequires: python-setuptools >= 16.0 +Requires: python-pbr >= 1.6 Requires: python-six >= 1.9.0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else BuildArch: noarch -%endif %description -Manage dynamic plugins for Python applications +Python makes loading code dynamically easy, allowing you to configure +and extend your application by discovering and loading extensions +(plugins) at runtime. Many applications implement their own +library for doing this, using ``__import__`` or ``importlib``. +stevedore avoids creating yet another extension +mechanism by building on top of setuptools entry points. The code +for managing entry points tends to be repetitive, though, so stevedore +provides manager classes for implementing common patterns for using +dynamically loaded extensions. + +%package doc +Summary: Documentation for %{name} +Group: Documentation +BuildRequires: python-Sphinx +BuildRequires: python-oslosphinx >= 2.5.0 + +%description doc +Python makes loading code dynamically easy, allowing you to configure +and extend your application by discovering and loading extensions +(plugins) at runtime. Many applications implement their own +library for doing this, using ``__import__`` or ``importlib``. +stevedore avoids creating yet another extension +mechanism by building on top of setuptools entry points. The code +for managing entry points tends to be repetitive, though, so stevedore +provides manager classes for implementing common patterns for using +dynamically loaded extensions. + +This package contains documentation in HTML format. %prep -%setup -q -n stevedore-%{version} -# use the year from changelog instead of current one to make reproducible rpms -changelogyear=$(awk '/^[A-Z][a-z][a-z] [A-Z][a-z][a-z] +[0-9]+ [0-9]+:[0-9]+:[0-9]+ [A-Z]+ [1-9][0-9][0-9][0-9]/{print $6; exit}' %{S:1}) -sed -i "s/datetime.date.today().year$/$changelogyear/" doc/source/conf.py +%setup -q -n %{pypi_name}-%{version} %build -python setup.py build -rm -rf docs/build -python setup.py build_sphinx +%py2_build -%install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +# generate html docs +%{__python2} setup.py build_sphinx +# remove the Sphinx-build leftovers +rm -rf html/.{doctrees,buildinfo} %check -python setup.py testr +%{__python2} setup.py testr + +%install +%py2_install %files -%defattr(-,root,root,-) -%doc LICENSE README.rst doc/build/html -%{python_sitelib}/* +%license LICENSE +%doc README.rst +%{python2_sitelib}/%{pypi_name} +%{python2_sitelib}/%{pypi_name}-*.egg-info + +%files doc +%license LICENSE +%doc doc/build/html %changelog ++++++ _service ++++++ <services> <service mode="disabled" name="renderspec"> <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/newton/openstack/stevedore/stevedore.spec.j2</param> <param name="output-name">python-stevedore.spec</param> <param name="requirements">https://raw.githubusercontent.com/openstack/requirements/stable/newton/global-requirements.txt</param> </service> <service mode="disabled" name="download_files"> <param name="changesgenerate">enable</param> </service> <service name="format_spec_file" mode="disabled"/> </services>