Accepting request 1039272 from home:jubalh:branches:devel:languages:python

- Update to 0.5.1:
  * ENH: Unselectable text is now also not highlighted when you
    manually highlight a code cell. Exclude unselectable text
    from being copied (update) #178
  * ENH: After copying, the copybutton will disappear before the
    icon changes back if you are no longer hovering on the code
    cell. FIX: Make copybutton remain for a second during
    success #176
  * MAINT: Add support for Python 3.10 #174

OBS-URL: https://build.opensuse.org/request/show/1039272
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-copybutton?expand=0&rev=3
This commit is contained in:
2022-12-05 12:47:22 +00:00
committed by Git OBS Bridge
parent 91d36957d9
commit 4c0482ae88
4 changed files with 27 additions and 14 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package python-sphinx-copybutton
# spec file for package python-sphinxcontrib-copybutton
#
# Copyright (c) 2022 SUSE LLC
#
@@ -18,25 +18,25 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-sphinxcontrib-copybutton
Version: 0.5.0
Version: 0.5.1
Release: 0
Summary: Add a copy button to each of your code cells
License: MIT
URL: https://github.com/executablebooks/sphinx-copybutton
Source: https://files.pythonhosted.org/packages/source/s/sphinx-copybutton/sphinx-copybutton-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Sphinx >= 1.8
Suggests: python-ipython
Suggests: python-myst-nb
Suggests: python-pre-commit = 2.12.1
Suggests: python-sphinx
Suggests: python-sphinx-book-theme
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module Sphinx >= 1.8}
# /SECTION
BuildRequires: fdupes
Requires: python-Sphinx >= 1.8
Suggests: python-pre-commit == 2.12.1
Suggests: python-sphinx
Suggests: python-ipython
Suggests: python-myst-nb
Suggests: python-sphinx-book-theme
BuildArch: noarch
%python_subpackages
%description