15
0

Accepting request 808864 from home:bnavigator:branches:devel:languages:python

The patch was never merged and its lack now breaks our neck with python-semantic_version 2.8 out for some time

- Restore semanticversioning.patch to allow semantic_version >= 2.7 
  gh#bitprophet/releases#84
  gh#bitprophet/releases#86
- remove color printout in tests

OBS-URL: https://build.opensuse.org/request/show/808864
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-releases?expand=0&rev=13
This commit is contained in:
Tomáš Chvátal
2020-05-26 07:37:36 +00:00
committed by Git OBS Bridge
parent ceaee2d67b
commit a04ab356ac
3 changed files with 154 additions and 0 deletions

View File

@@ -32,6 +32,7 @@ Summary: A Sphinx extension for changelog manipulation
License: BSD-2-Clause
URL: https://github.com/bitprophet/releases
Source: https://files.pythonhosted.org/packages/source/r/releases/releases-%{version}.tar.gz
Patch0: semanticversioning.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -69,6 +70,7 @@ Specifically:
%prep
%setup -q -n releases-%{version}
%patch0 -p1
%build
%python_build
@@ -81,6 +83,7 @@ Specifically:
%if %{with test}
%check
export NOSE_NO_SPEC_COLOR=1
%python_expand invoke-%{$python_bin_suffix} test
%endif