forked from pool/python-blockdiag
Accepting request 915425 from home:pgajdos:python
The sed was superfluous, redundant and forgotten. - added patches https://github.com/blockdiag/blockdiag/pull/131 + python-blockdiag-nose-to-pytest.patch OBS-URL: https://build.opensuse.org/request/show/915425 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-blockdiag?expand=0&rev=18
This commit is contained in:
@@ -26,6 +26,8 @@ License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: http://blockdiag.com/
|
||||
Source: https://files.pythonhosted.org/packages/source/b/blockdiag/blockdiag-%{version}.tar.gz
|
||||
# https://github.com/blockdiag/blockdiag/pull/131
|
||||
Patch0: python-blockdiag-nose-to-pytest.patch
|
||||
BuildRequires: %{python_module Pillow >= 2.2.1}
|
||||
BuildRequires: %{python_module funcparserlib >= 0.3.6}
|
||||
BuildRequires: %{python_module reportlab}
|
||||
@@ -54,9 +56,11 @@ Recommends: python-reportlab
|
||||
|
||||
%description
|
||||
The blockdiag package generates block-diagram image files
|
||||
from spec-text files.
|
||||
|
||||
%prep
|
||||
%setup -q -n blockdiag-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -74,8 +78,6 @@ The blockdiag package generates block-diagram image files
|
||||
|
||||
%check
|
||||
pushd src
|
||||
# this only test requires nose
|
||||
rm blockdiag/tests/test_generate_diagram.py
|
||||
# other disabled tests:
|
||||
# [ 9s] WARNING: Could not retrieve: http://blockdiag.com/favicon.ico
|
||||
# [ 9s] WARNING: Could not retrieve: http://upload.wikimedia.org/wikipedia/commons/9/9b/Scalable_Vector_Graphics_Circle2.svg
|
||||
|
Reference in New Issue
Block a user