15
0
forked from pool/python-branca

Accepting request 862376 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/862376
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-branca?expand=0&rev=4
This commit is contained in:
2021-01-13 17:19:29 +00:00
committed by Git OBS Bridge
4 changed files with 19 additions and 8 deletions

3
branca-0.4.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4b75a38728872b0dbcec958f5d5a96b086915077804bd8a240a9a7db1fdbabcf
size 59344

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sun Jan 10 17:31:08 UTC 2021 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 0.4.2:
* Fix special char encoding in notebooks, store as
percent-encoded (gh#python-visualization/branca#76).
- New BuildRequires for tests: python-nbconvert.
- Disable an additional test that also requires 'geckodriver'.
- Use source name in the format branca-%{version}.
-------------------------------------------------------------------
Thu Mar 5 09:12:06 UTC 2020 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-branca
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,13 +19,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-branca
Version: 0.4.0
Version: 0.4.2
Release: 0
Summary: HTML+JS page generator
License: MIT
Group: Development/Languages/Python
URL: https://github.com/python-visualization/branca
Source: https://github.com/python-visualization/branca/archive/v%{version}.tar.gz
Source: https://github.com/python-visualization/branca/archive/v%{version}.tar.gz#/branca-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -35,6 +35,7 @@ Requires: python-six
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module Jinja2}
BuildRequires: %{python_module nbconvert}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module selenium}
BuildRequires: %{python_module six}
@@ -55,8 +56,8 @@ Generate HTML+JS pages with Python.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# test_rendering_utf8_iframe requires geckodriver
%pytest -k 'not test_rendering_utf8_iframe' -v
# test_rendering_utf8_iframe and test_rendering_figure_notebook require geckodriver
%pytest -k 'not (test_rendering_utf8_iframe or test_rendering_figure_notebook)' -v
%files %{python_files}
%doc CHANGES.txt README.md

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:350a7b210b5ad9e4d1a98db4b2aec7d3b35e1ed35050f6f520c690bc6160e0cd
size 59508