14
0
2021-06-29 20:43:34 +00:00
committed by Git OBS Bridge
5 changed files with 16 additions and 14 deletions

View File

@@ -2,13 +2,8 @@ Index: plantuml-0.18/tests/fakecmd.py
===================================================================
--- plantuml-0.18.orig/tests/fakecmd.py
+++ plantuml-0.18/tests/fakecmd.py
@@ -1,7 +1,7 @@
@@ -1,3 +1,3 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import sys
# embed as PostScript comment
-print '%', ' '.join(sys.argv)
+print('%', ' '.join(sys.argv))
for line in sys.stdin:
sys.stdout.write('% ' + line)

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jun 29 08:58:05 UTC 2021 - Linnaea Lavia <obs@lavia.moe>
- Version update to 0.21, drops python2
* py3-for-tests.patch: refreshed
-------------------------------------------------------------------
Thu Apr 23 11:38:22 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -16,9 +16,11 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%{?!python_module:%define python_module() python3-%{**}}
Name: python-sphinxcontrib-plantuml
Version: 0.18
Version: 0.21
Release: 0
Summary: Sphinx API for Web Apps
License: BSD-2-Clause
@@ -26,9 +28,8 @@ Group: Development/Languages/Python
URL: https://github.com/sphinx-contrib/plantuml/
Source: https://github.com/sphinx-contrib/plantuml/archive/%{version}.tar.gz#/sphinxcontrib-plantuml-%{version}.tar.gz
Patch0: py3-for-tests.patch
BuildRequires: %{python_module Sphinx >= 1.1}
BuildRequires: %{python_module Sphinx >= 2}
BuildRequires: %{python_module Sphinx-latex}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -37,7 +38,7 @@ BuildRequires: python-rpm-macros
BuildRequires: texlive-epstopdf
BuildRequires: tox
Requires: plantuml
Requires: python-Sphinx >= 1.1
Requires: python-Sphinx >= 2
BuildArch: noarch
%python_subpackages

View File

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

View File

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