14
0
forked from pool/python-reno

Accepting request 789027 from home:pgajdos:python

- version update to 3.0.0
  * Remove usage of six
  * [ussuri][goal] Drop python 2.7 support and testing
  * Add extension metadata to sphinxext
  * Handle Windows compatibility
  * Scan all branches for cache generation
  * Avoid docutils 0.15 with py2
  * Add Python 3 Train unit tests
  * Fix py27 test: Update sphinx requirement
  * OpenDev Migration Patch
  * Switch to current hacking
  * Remove references to oslosphinx

OBS-URL: https://build.opensuse.org/request/show/789027
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-reno?expand=0&rev=17
This commit is contained in:
Tomáš Chvátal
2020-03-27 20:20:29 +00:00
committed by Git OBS Bridge
parent 349888f479
commit e0189675b7
4 changed files with 41 additions and 46 deletions

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Fri Mar 27 12:13:30 UTC 2020 - pgajdos@suse.com
- version update to 3.0.0
* Remove usage of six
* [ussuri][goal] Drop python 2.7 support and testing
* Add extension metadata to sphinxext
* Handle Windows compatibility
* Scan all branches for cache generation
* Avoid docutils 0.15 with py2
* Add Python 3 Train unit tests
* Fix py27 test: Update sphinx requirement
* OpenDev Migration Patch
* Switch to current hacking
* Remove references to oslosphinx
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 13 04:32:03 UTC 2019 - cloud-devel@suse.de Thu Jun 13 04:32:03 UTC 2019 - cloud-devel@suse.de

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-reno # spec file for package python-reno
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,56 +16,38 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-reno Name: python-reno
Version: 2.11.3 Version: 3.0.0
Release: 0 Release: 0
Summary: RElease NOtes manager Summary: RElease NOtes manager
License: Apache-2.0 License: Apache-2.0
Group: Development/Languages/Python Group: Development/Languages/Python
URL: http://www.openstack.org/ URL: https://www.openstack.org/
Source0: https://files.pythonhosted.org/packages/source/r/reno/reno-2.11.3.tar.gz Source0: https://files.pythonhosted.org/packages/source/r/reno/reno-%{version}.tar.gz
BuildRequires: openstack-macros BuildRequires: %{python_module PyYAML}
BuildRequires: python2-PyYAML BuildRequires: %{python_module Sphinx}
BuildRequires: python2-Sphinx BuildRequires: %{python_module docutils}
BuildRequires: python2-docutils BuildRequires: %{python_module dulwich}
BuildRequires: python2-dulwich BuildRequires: %{python_module openstackdocstheme}
BuildRequires: python2-openstackdocstheme BuildRequires: %{python_module oslotest}
BuildRequires: python2-oslotest BuildRequires: %{python_module pbr}
BuildRequires: python2-pbr BuildRequires: %{python_module setuptools}
BuildRequires: python2-setuptools BuildRequires: %{python_module stestr}
BuildRequires: python2-stestr BuildRequires: %{python_module testscenarios}
BuildRequires: python2-testscenarios BuildRequires: %{python_module testtools}
BuildRequires: python2-testtools Requires: python-PyYAML >= 3.10
BuildRequires: python3-PyYAML
BuildRequires: python3-Sphinx
BuildRequires: python3-docutils
BuildRequires: python3-dulwich
BuildRequires: python3-openstackdocstheme
BuildRequires: python3-oslotest
BuildRequires: python3-pbr
BuildRequires: python3-setuptools
BuildRequires: python3-stestr
BuildRequires: python3-testscenarios
BuildRequires: python3-testtools
Requires: python-PyYAML
Requires: python-Sphinx Requires: python-Sphinx
Requires: python-docutils Requires: python-docutils
Requires: python-dulwich Requires: python-dulwich >= 0.15.0
Requires: python-pbr Requires: python-pbr
Requires: python-six Requires: python-six
BuildArch: noarch BuildArch: noarch
%if 0%{?suse_version}
BuildRequires: git-core BuildRequires: git-core
BuildRequires: gpg2 BuildRequires: gpg2
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun): update-alternatives
%else
BuildRequires: git
BuildRequires: gnupg
# on RDO, update-alternatives is in chkconfig
Requires(post): chkconfig
Requires(postun): chkconfig
%endif
%python_subpackages %python_subpackages
%description %description
@@ -73,16 +55,13 @@ Reno is a release notes manager for storing release notes in a git
repository and then building documentation from them. repository and then building documentation from them.
%prep %prep
%autosetup -p1 -n reno-2.11.3 %autosetup -n reno-%{version}
# we dont need hacking
sed -i '/^hacking.*/d' test-requirements.txt
%py_req_cleanup
%build %build
%{python_build} %python_build
%install %install
%{python_install} %python_install
%python_clone -a %{buildroot}%{_bindir}/reno %python_clone -a %{buildroot}%{_bindir}/reno
%post %post

View File

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

3
reno-3.0.0.tar.gz Normal file
View File

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