Accepting request 628769 from devel:languages:python
- Enable testsuite in multibuild mode as it creates cycle otherwise - Update to 1.6.1: * Support sphinx 1.7 OBS-URL: https://build.opensuse.org/request/show/628769 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-releases?expand=0&rev=2
This commit is contained in:
commit
b026571a13
3
_multibuild
Normal file
3
_multibuild
Normal file
@ -0,0 +1,3 @@
|
||||
<multibuild>
|
||||
<package>test</package>
|
||||
</multibuild>
|
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 11 14:43:12 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Enable testsuite in multibuild mode as it creates cycle otherwise
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 11 09:50:05 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Update to 1.6.1:
|
||||
* Support sphinx 1.7
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 18 14:29:58 UTC 2018 - toddrme2178@gmail.com
|
||||
|
||||
|
@ -13,26 +13,44 @@
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
# Tests have dependency loop with python-invoke and python-invocations
|
||||
Name: python-releases
|
||||
Version: 1.5.0
|
||||
%if "%{flavor}" == "test"
|
||||
%bcond_without test
|
||||
%else
|
||||
%bcond_with test
|
||||
%endif
|
||||
Version: 1.6.1
|
||||
Release: 0
|
||||
License: BSD-2-Clause
|
||||
Summary: A Sphinx extension for changelog manipulation
|
||||
Url: https://github.com/bitprophet/releases
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/bitprophet/releases
|
||||
Source: https://files.pythonhosted.org/packages/source/r/releases/releases-%{version}.tar.gz
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
Requires: python-semantic_version < 3.0
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Sphinx >= 1.3
|
||||
Requires: python-semantic_version
|
||||
Requires: python-six >= 1.4.1
|
||||
BuildArch: noarch
|
||||
|
||||
%if %{with test}
|
||||
Name: python-releases-%{flavor}
|
||||
%else
|
||||
Name: python-releases
|
||||
%endif
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module Sphinx >= 1.3}
|
||||
BuildRequires: %{python_module invocations}
|
||||
BuildRequires: %{python_module invoke}
|
||||
BuildRequires: %{python_module mock >= 1.0.1}
|
||||
BuildRequires: %{python_module semantic_version}
|
||||
BuildRequires: %{python_module six >= 1.4.1}
|
||||
BuildRequires: %{python_module spec >= 0.11.3}
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -59,13 +77,21 @@ Specifically:
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%if !%{with test}
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%endif
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
%python_expand invoke-%{$python_bin_suffix} test
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%if !%{with test}
|
||||
%{python_sitelib}/*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4c4b2ff79490e11f7b59ff89537f1c221bb57dc8412ce51289734567bd1d0ad0
|
||||
size 39405
|
3
releases-1.6.1.tar.gz
Normal file
3
releases-1.6.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7a1b3163ab062d41dc4e61d8f51df055756d146f1fb6e18ee5cf55d91c9cda54
|
||||
size 42029
|
Loading…
Reference in New Issue
Block a user