From d0ef886135ce1f59d3793319b15c858c61de5ca5b3e07f67f9773ef95de0bc69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Mon, 24 Feb 2020 15:10:24 +0000 Subject: [PATCH] - update to 2.0.0 - drop py2 support OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-blockdiag?expand=0&rev=9 --- python-sphinxcontrib-blockdiag.changes | 6 ++++++ python-sphinxcontrib-blockdiag.spec | 12 ++++++------ sphinxcontrib-blockdiag-1.5.5.tar.gz | 3 --- sphinxcontrib-blockdiag-2.0.0.tar.gz | 3 +++ 4 files changed, 15 insertions(+), 9 deletions(-) delete mode 100644 sphinxcontrib-blockdiag-1.5.5.tar.gz create mode 100644 sphinxcontrib-blockdiag-2.0.0.tar.gz diff --git a/python-sphinxcontrib-blockdiag.changes b/python-sphinxcontrib-blockdiag.changes index d0f6234..fd90960 100644 --- a/python-sphinxcontrib-blockdiag.changes +++ b/python-sphinxcontrib-blockdiag.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Feb 24 15:09:15 UTC 2020 - Ondřej Súkup + +- update to 2.0.0 +- drop py2 support + ------------------------------------------------------------------- Fri Dec 14 12:17:54 UTC 2018 - Matěj Cepl diff --git a/python-sphinxcontrib-blockdiag.spec b/python-sphinxcontrib-blockdiag.spec index f538a4f..5896d46 100644 --- a/python-sphinxcontrib-blockdiag.spec +++ b/python-sphinxcontrib-blockdiag.spec @@ -1,7 +1,7 @@ # # spec file for package python-sphinxcontrib-blockdiag # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,23 +16,23 @@ # +%define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} # Test files missing %bcond_with test Name: python-sphinxcontrib-blockdiag -Version: 1.5.5 +Version: 2.0.0 Release: 0 Summary: Sphinx "blockdiag" extension License: BSD-2-Clause -Group: Development/Languages/Python URL: https://github.com/blockdiag/sphinxcontrib-blockdiag Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-blockdiag/sphinxcontrib-blockdiag-%{version}.tar.gz -BuildRequires: %{python_module Sphinx >= 0.6} +BuildRequires: %{python_module Sphinx >= 2.0} BuildRequires: %{python_module blockdiag >= 1.5.0} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-Sphinx >= 0.6 +Requires: python-Sphinx >= 2.0 Requires: python-blockdiag >= 1.5.0 BuildArch: noarch %if %{with test} @@ -57,7 +57,7 @@ A sphinx extension for embedding block diagram using blockdiag. %if %{with test} %check -%python_exec setup.py test +%pytest %endif %files %{python_files} diff --git a/sphinxcontrib-blockdiag-1.5.5.tar.gz b/sphinxcontrib-blockdiag-1.5.5.tar.gz deleted file mode 100644 index 18d03ad..0000000 --- a/sphinxcontrib-blockdiag-1.5.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7cdff966d8f372b9536374954314a6cf4280e0e48bc2321a4f25cc7f2114f8f0 -size 8485 diff --git a/sphinxcontrib-blockdiag-2.0.0.tar.gz b/sphinxcontrib-blockdiag-2.0.0.tar.gz new file mode 100644 index 0000000..66f812f --- /dev/null +++ b/sphinxcontrib-blockdiag-2.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:91fd35b64f1f25db59d80b8a5196ed4ffadf57a81f63ee207e34d53ec36d8f97 +size 6196