python-nbdime/python-nbdime.spec

186 lines
6.0 KiB
RPMSpec
Raw Normal View History

Accepting request 698419 from home:TheBlackCat:branches:devel:languages:python:jupyter - Update to 1.0.5 * Fixed filename encoding issue with git diff on Python 2. * Fixes for deploying nbdime on a non-localhost server. * Web: Fixed issue where unchanged cells would not show correctly if unhidden. * Various other fixes and adjustments. - Rename to to match jupyter package naming guidelines. - Update to version 1.0.4 * Fix git diffing failure with older versions of git. Now, an older version of git will simply prevent integration with git filters. * Allow for two-way merge by making the base notebook argument to `nbmerge` optional. It will now default to an empty notebook. - Update to version 1.0.3 * Web: Fix issues with hiding unchanged cells. Make hiding unchanged cells configurable and on by default. * Options of the console printing can now be configured. Mainly the `--no-color` flag disables ANSI color escapes. * Web: Fixed MathJax math rendering. * Various other fixes and adjustments. - Update to version 1.0.2 * Diff: Optimized diffing of large texts (e.g. big cells). * Config: Fixed several issues with the config system. * Lab extension: Updated to latest jupyterlab. All npm packages are now using ES6 features. * Web: Fixed keyboard tabbing / focusing issues. - Update to version 1.0.1 * Web: Fix output rendering of outputs with a period in MIME type name. * Config: Add configuration option for front-end extensions. * Merging: Fix handling of corner case for inline merge strategy. * Various other fixes and adjustments. - Use find "+" strategy. - Use noun phrase in summary. - Update to version 1.0.0 * Added ability for git diff driver to integrate with git filters. * Improved/fixed merge resolution for similar cell insertions. * Added config system to allow for configuring the various entrypoints. Especially useful for customizing which keys to ignore when diffing. * Added control to web view of outputs to select which MIME type to render, and to enable trusting of outputs for full rendering. * Added jupyterlab extension. Frontend/server extensions are now enabled by default on installation. * Various fixes and adjustments. - Switch to wheel-based install - Remove python3-jupyter_vega3 requires as we never had this pkg present in the d:l:py, it is not mentioned in the setup.py - Run the tests - Initial version OBS-URL: https://build.opensuse.org/request/show/698419 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbdime?expand=0&rev=1
2019-04-26 22:02:20 +02:00
#
# spec file for package python-nbdime
#
# Copyright (c) 2020 SUSE LLC
Accepting request 698419 from home:TheBlackCat:branches:devel:languages:python:jupyter - Update to 1.0.5 * Fixed filename encoding issue with git diff on Python 2. * Fixes for deploying nbdime on a non-localhost server. * Web: Fixed issue where unchanged cells would not show correctly if unhidden. * Various other fixes and adjustments. - Rename to to match jupyter package naming guidelines. - Update to version 1.0.4 * Fix git diffing failure with older versions of git. Now, an older version of git will simply prevent integration with git filters. * Allow for two-way merge by making the base notebook argument to `nbmerge` optional. It will now default to an empty notebook. - Update to version 1.0.3 * Web: Fix issues with hiding unchanged cells. Make hiding unchanged cells configurable and on by default. * Options of the console printing can now be configured. Mainly the `--no-color` flag disables ANSI color escapes. * Web: Fixed MathJax math rendering. * Various other fixes and adjustments. - Update to version 1.0.2 * Diff: Optimized diffing of large texts (e.g. big cells). * Config: Fixed several issues with the config system. * Lab extension: Updated to latest jupyterlab. All npm packages are now using ES6 features. * Web: Fixed keyboard tabbing / focusing issues. - Update to version 1.0.1 * Web: Fix output rendering of outputs with a period in MIME type name. * Config: Add configuration option for front-end extensions. * Merging: Fix handling of corner case for inline merge strategy. * Various other fixes and adjustments. - Use find "+" strategy. - Use noun phrase in summary. - Update to version 1.0.0 * Added ability for git diff driver to integrate with git filters. * Improved/fixed merge resolution for similar cell insertions. * Added config system to allow for configuring the various entrypoints. Especially useful for customizing which keys to ignore when diffing. * Added control to web view of outputs to select which MIME type to render, and to enable trusting of outputs for full rendering. * Added jupyterlab extension. Frontend/server extensions are now enabled by default on installation. * Various fixes and adjustments. - Switch to wheel-based install - Remove python3-jupyter_vega3 requires as we never had this pkg present in the d:l:py, it is not mentioned in the setup.py - Run the tests - Initial version OBS-URL: https://build.opensuse.org/request/show/698419 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbdime?expand=0&rev=1
2019-04-26 22:02:20 +02:00
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%define mainver 1.1.0
%define labver 1.0.0
Accepting request 698419 from home:TheBlackCat:branches:devel:languages:python:jupyter - Update to 1.0.5 * Fixed filename encoding issue with git diff on Python 2. * Fixes for deploying nbdime on a non-localhost server. * Web: Fixed issue where unchanged cells would not show correctly if unhidden. * Various other fixes and adjustments. - Rename to to match jupyter package naming guidelines. - Update to version 1.0.4 * Fix git diffing failure with older versions of git. Now, an older version of git will simply prevent integration with git filters. * Allow for two-way merge by making the base notebook argument to `nbmerge` optional. It will now default to an empty notebook. - Update to version 1.0.3 * Web: Fix issues with hiding unchanged cells. Make hiding unchanged cells configurable and on by default. * Options of the console printing can now be configured. Mainly the `--no-color` flag disables ANSI color escapes. * Web: Fixed MathJax math rendering. * Various other fixes and adjustments. - Update to version 1.0.2 * Diff: Optimized diffing of large texts (e.g. big cells). * Config: Fixed several issues with the config system. * Lab extension: Updated to latest jupyterlab. All npm packages are now using ES6 features. * Web: Fixed keyboard tabbing / focusing issues. - Update to version 1.0.1 * Web: Fix output rendering of outputs with a period in MIME type name. * Config: Add configuration option for front-end extensions. * Merging: Fix handling of corner case for inline merge strategy. * Various other fixes and adjustments. - Use find "+" strategy. - Use noun phrase in summary. - Update to version 1.0.0 * Added ability for git diff driver to integrate with git filters. * Improved/fixed merge resolution for similar cell insertions. * Added config system to allow for configuring the various entrypoints. Especially useful for customizing which keys to ignore when diffing. * Added control to web view of outputs to select which MIME type to render, and to enable trusting of outputs for full rendering. * Added jupyterlab extension. Frontend/server extensions are now enabled by default on installation. * Various fixes and adjustments. - Switch to wheel-based install - Remove python3-jupyter_vega3 requires as we never had this pkg present in the d:l:py, it is not mentioned in the setup.py - Run the tests - Initial version OBS-URL: https://build.opensuse.org/request/show/698419 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbdime?expand=0&rev=1
2019-04-26 22:02:20 +02:00
Name: python-nbdime
Version: %{mainver}
Release: 0
Summary: Tools for diffing and merging Jupyter Notebooks
License: BSD-3-Clause
URL: https://github.com/jupyter/nbdime
Source: https://files.pythonhosted.org/packages/py2.py3/n/nbdime/nbdime-%{mainver}-py2.py3-none-any.whl
Accepting request 698419 from home:TheBlackCat:branches:devel:languages:python:jupyter - Update to 1.0.5 * Fixed filename encoding issue with git diff on Python 2. * Fixes for deploying nbdime on a non-localhost server. * Web: Fixed issue where unchanged cells would not show correctly if unhidden. * Various other fixes and adjustments. - Rename to to match jupyter package naming guidelines. - Update to version 1.0.4 * Fix git diffing failure with older versions of git. Now, an older version of git will simply prevent integration with git filters. * Allow for two-way merge by making the base notebook argument to `nbmerge` optional. It will now default to an empty notebook. - Update to version 1.0.3 * Web: Fix issues with hiding unchanged cells. Make hiding unchanged cells configurable and on by default. * Options of the console printing can now be configured. Mainly the `--no-color` flag disables ANSI color escapes. * Web: Fixed MathJax math rendering. * Various other fixes and adjustments. - Update to version 1.0.2 * Diff: Optimized diffing of large texts (e.g. big cells). * Config: Fixed several issues with the config system. * Lab extension: Updated to latest jupyterlab. All npm packages are now using ES6 features. * Web: Fixed keyboard tabbing / focusing issues. - Update to version 1.0.1 * Web: Fix output rendering of outputs with a period in MIME type name. * Config: Add configuration option for front-end extensions. * Merging: Fix handling of corner case for inline merge strategy. * Various other fixes and adjustments. - Use find "+" strategy. - Use noun phrase in summary. - Update to version 1.0.0 * Added ability for git diff driver to integrate with git filters. * Improved/fixed merge resolution for similar cell insertions. * Added config system to allow for configuring the various entrypoints. Especially useful for customizing which keys to ignore when diffing. * Added control to web view of outputs to select which MIME type to render, and to enable trusting of outputs for full rendering. * Added jupyterlab extension. Frontend/server extensions are now enabled by default on installation. * Various fixes and adjustments. - Switch to wheel-based install - Remove python3-jupyter_vega3 requires as we never had this pkg present in the d:l:py, it is not mentioned in the setup.py - Run the tests - Initial version OBS-URL: https://build.opensuse.org/request/show/698419 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbdime?expand=0&rev=1
2019-04-26 22:02:20 +02:00
BuildRequires: %{python_module GitPython >= 2.1.6}
BuildRequires: %{python_module Jinja2 >= 2.9}
BuildRequires: %{python_module colorama}
BuildRequires: %{python_module nbformat}
BuildRequires: %{python_module notebook}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module six}
BuildRequires: %{python_module tornado}
BuildRequires: fdupes
BuildRequires: jupyter-jupyterlab-filesystem
Accepting request 698419 from home:TheBlackCat:branches:devel:languages:python:jupyter - Update to 1.0.5 * Fixed filename encoding issue with git diff on Python 2. * Fixes for deploying nbdime on a non-localhost server. * Web: Fixed issue where unchanged cells would not show correctly if unhidden. * Various other fixes and adjustments. - Rename to to match jupyter package naming guidelines. - Update to version 1.0.4 * Fix git diffing failure with older versions of git. Now, an older version of git will simply prevent integration with git filters. * Allow for two-way merge by making the base notebook argument to `nbmerge` optional. It will now default to an empty notebook. - Update to version 1.0.3 * Web: Fix issues with hiding unchanged cells. Make hiding unchanged cells configurable and on by default. * Options of the console printing can now be configured. Mainly the `--no-color` flag disables ANSI color escapes. * Web: Fixed MathJax math rendering. * Various other fixes and adjustments. - Update to version 1.0.2 * Diff: Optimized diffing of large texts (e.g. big cells). * Config: Fixed several issues with the config system. * Lab extension: Updated to latest jupyterlab. All npm packages are now using ES6 features. * Web: Fixed keyboard tabbing / focusing issues. - Update to version 1.0.1 * Web: Fix output rendering of outputs with a period in MIME type name. * Config: Add configuration option for front-end extensions. * Merging: Fix handling of corner case for inline merge strategy. * Various other fixes and adjustments. - Use find "+" strategy. - Use noun phrase in summary. - Update to version 1.0.0 * Added ability for git diff driver to integrate with git filters. * Improved/fixed merge resolution for similar cell insertions. * Added config system to allow for configuring the various entrypoints. Especially useful for customizing which keys to ignore when diffing. * Added control to web view of outputs to select which MIME type to render, and to enable trusting of outputs for full rendering. * Added jupyterlab extension. Frontend/server extensions are now enabled by default on installation. * Various fixes and adjustments. - Switch to wheel-based install - Remove python3-jupyter_vega3 requires as we never had this pkg present in the d:l:py, it is not mentioned in the setup.py - Run the tests - Initial version OBS-URL: https://build.opensuse.org/request/show/698419 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbdime?expand=0&rev=1
2019-04-26 22:02:20 +02:00
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module jsonschema > 3}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest}
# /SECTION
Requires: jupyter-nbdime = %{mainver}
Accepting request 698419 from home:TheBlackCat:branches:devel:languages:python:jupyter - Update to 1.0.5 * Fixed filename encoding issue with git diff on Python 2. * Fixes for deploying nbdime on a non-localhost server. * Web: Fixed issue where unchanged cells would not show correctly if unhidden. * Various other fixes and adjustments. - Rename to to match jupyter package naming guidelines. - Update to version 1.0.4 * Fix git diffing failure with older versions of git. Now, an older version of git will simply prevent integration with git filters. * Allow for two-way merge by making the base notebook argument to `nbmerge` optional. It will now default to an empty notebook. - Update to version 1.0.3 * Web: Fix issues with hiding unchanged cells. Make hiding unchanged cells configurable and on by default. * Options of the console printing can now be configured. Mainly the `--no-color` flag disables ANSI color escapes. * Web: Fixed MathJax math rendering. * Various other fixes and adjustments. - Update to version 1.0.2 * Diff: Optimized diffing of large texts (e.g. big cells). * Config: Fixed several issues with the config system. * Lab extension: Updated to latest jupyterlab. All npm packages are now using ES6 features. * Web: Fixed keyboard tabbing / focusing issues. - Update to version 1.0.1 * Web: Fix output rendering of outputs with a period in MIME type name. * Config: Add configuration option for front-end extensions. * Merging: Fix handling of corner case for inline merge strategy. * Various other fixes and adjustments. - Use find "+" strategy. - Use noun phrase in summary. - Update to version 1.0.0 * Added ability for git diff driver to integrate with git filters. * Improved/fixed merge resolution for similar cell insertions. * Added config system to allow for configuring the various entrypoints. Especially useful for customizing which keys to ignore when diffing. * Added control to web view of outputs to select which MIME type to render, and to enable trusting of outputs for full rendering. * Added jupyterlab extension. Frontend/server extensions are now enabled by default on installation. * Various fixes and adjustments. - Switch to wheel-based install - Remove python3-jupyter_vega3 requires as we never had this pkg present in the d:l:py, it is not mentioned in the setup.py - Run the tests - Initial version OBS-URL: https://build.opensuse.org/request/show/698419 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbdime?expand=0&rev=1
2019-04-26 22:02:20 +02:00
Requires: python-GitPython >= 2.1.6
Requires: python-Jinja2 >= 2.9
Requires: python-colorama
Requires: python-nbformat
Requires: python-notebook
Requires: python-requests
Requires: python-six
Requires: python-tornado
Conflicts: python-jupyter_nbdime-hg < 1.0.5
Conflicts: python-jupyter_nbdime-git < 1.0.5
Accepting request 698419 from home:TheBlackCat:branches:devel:languages:python:jupyter - Update to 1.0.5 * Fixed filename encoding issue with git diff on Python 2. * Fixes for deploying nbdime on a non-localhost server. * Web: Fixed issue where unchanged cells would not show correctly if unhidden. * Various other fixes and adjustments. - Rename to to match jupyter package naming guidelines. - Update to version 1.0.4 * Fix git diffing failure with older versions of git. Now, an older version of git will simply prevent integration with git filters. * Allow for two-way merge by making the base notebook argument to `nbmerge` optional. It will now default to an empty notebook. - Update to version 1.0.3 * Web: Fix issues with hiding unchanged cells. Make hiding unchanged cells configurable and on by default. * Options of the console printing can now be configured. Mainly the `--no-color` flag disables ANSI color escapes. * Web: Fixed MathJax math rendering. * Various other fixes and adjustments. - Update to version 1.0.2 * Diff: Optimized diffing of large texts (e.g. big cells). * Config: Fixed several issues with the config system. * Lab extension: Updated to latest jupyterlab. All npm packages are now using ES6 features. * Web: Fixed keyboard tabbing / focusing issues. - Update to version 1.0.1 * Web: Fix output rendering of outputs with a period in MIME type name. * Config: Add configuration option for front-end extensions. * Merging: Fix handling of corner case for inline merge strategy. * Various other fixes and adjustments. - Use find "+" strategy. - Use noun phrase in summary. - Update to version 1.0.0 * Added ability for git diff driver to integrate with git filters. * Improved/fixed merge resolution for similar cell insertions. * Added config system to allow for configuring the various entrypoints. Especially useful for customizing which keys to ignore when diffing. * Added control to web view of outputs to select which MIME type to render, and to enable trusting of outputs for full rendering. * Added jupyterlab extension. Frontend/server extensions are now enabled by default on installation. * Various fixes and adjustments. - Switch to wheel-based install - Remove python3-jupyter_vega3 requires as we never had this pkg present in the d:l:py, it is not mentioned in the setup.py - Run the tests - Initial version OBS-URL: https://build.opensuse.org/request/show/698419 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbdime?expand=0&rev=1
2019-04-26 22:02:20 +02:00
Recommends: python-tabulate
Provides: python-jupyter_nbdime = %{mainver}
Obsoletes: python-jupyter_nbdime < %{mainver}
Accepting request 698419 from home:TheBlackCat:branches:devel:languages:python:jupyter - Update to 1.0.5 * Fixed filename encoding issue with git diff on Python 2. * Fixes for deploying nbdime on a non-localhost server. * Web: Fixed issue where unchanged cells would not show correctly if unhidden. * Various other fixes and adjustments. - Rename to to match jupyter package naming guidelines. - Update to version 1.0.4 * Fix git diffing failure with older versions of git. Now, an older version of git will simply prevent integration with git filters. * Allow for two-way merge by making the base notebook argument to `nbmerge` optional. It will now default to an empty notebook. - Update to version 1.0.3 * Web: Fix issues with hiding unchanged cells. Make hiding unchanged cells configurable and on by default. * Options of the console printing can now be configured. Mainly the `--no-color` flag disables ANSI color escapes. * Web: Fixed MathJax math rendering. * Various other fixes and adjustments. - Update to version 1.0.2 * Diff: Optimized diffing of large texts (e.g. big cells). * Config: Fixed several issues with the config system. * Lab extension: Updated to latest jupyterlab. All npm packages are now using ES6 features. * Web: Fixed keyboard tabbing / focusing issues. - Update to version 1.0.1 * Web: Fix output rendering of outputs with a period in MIME type name. * Config: Add configuration option for front-end extensions. * Merging: Fix handling of corner case for inline merge strategy. * Various other fixes and adjustments. - Use find "+" strategy. - Use noun phrase in summary. - Update to version 1.0.0 * Added ability for git diff driver to integrate with git filters. * Improved/fixed merge resolution for similar cell insertions. * Added config system to allow for configuring the various entrypoints. Especially useful for customizing which keys to ignore when diffing. * Added control to web view of outputs to select which MIME type to render, and to enable trusting of outputs for full rendering. * Added jupyterlab extension. Frontend/server extensions are now enabled by default on installation. * Various fixes and adjustments. - Switch to wheel-based install - Remove python3-jupyter_vega3 requires as we never had this pkg present in the d:l:py, it is not mentioned in the setup.py - Run the tests - Initial version OBS-URL: https://build.opensuse.org/request/show/698419 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbdime?expand=0&rev=1
2019-04-26 22:02:20 +02:00
BuildArch: noarch
%python_subpackages
%description
The nbdime package provides tools for diffing and merging of
Jupyter Notebooks.
This package provides the python interface.
%package -n jupyter-nbdime
Summary: A JupyterLab extension for showing Notebook diffs
Requires: jupyter-nbformat
Requires: jupyter-notebook
Requires: python3-nbdime = %{mainver}
Conflicts: python3-jupyter_nbdime < 1.0.5
Accepting request 698419 from home:TheBlackCat:branches:devel:languages:python:jupyter - Update to 1.0.5 * Fixed filename encoding issue with git diff on Python 2. * Fixes for deploying nbdime on a non-localhost server. * Web: Fixed issue where unchanged cells would not show correctly if unhidden. * Various other fixes and adjustments. - Rename to to match jupyter package naming guidelines. - Update to version 1.0.4 * Fix git diffing failure with older versions of git. Now, an older version of git will simply prevent integration with git filters. * Allow for two-way merge by making the base notebook argument to `nbmerge` optional. It will now default to an empty notebook. - Update to version 1.0.3 * Web: Fix issues with hiding unchanged cells. Make hiding unchanged cells configurable and on by default. * Options of the console printing can now be configured. Mainly the `--no-color` flag disables ANSI color escapes. * Web: Fixed MathJax math rendering. * Various other fixes and adjustments. - Update to version 1.0.2 * Diff: Optimized diffing of large texts (e.g. big cells). * Config: Fixed several issues with the config system. * Lab extension: Updated to latest jupyterlab. All npm packages are now using ES6 features. * Web: Fixed keyboard tabbing / focusing issues. - Update to version 1.0.1 * Web: Fix output rendering of outputs with a period in MIME type name. * Config: Add configuration option for front-end extensions. * Merging: Fix handling of corner case for inline merge strategy. * Various other fixes and adjustments. - Use find "+" strategy. - Use noun phrase in summary. - Update to version 1.0.0 * Added ability for git diff driver to integrate with git filters. * Improved/fixed merge resolution for similar cell insertions. * Added config system to allow for configuring the various entrypoints. Especially useful for customizing which keys to ignore when diffing. * Added control to web view of outputs to select which MIME type to render, and to enable trusting of outputs for full rendering. * Added jupyterlab extension. Frontend/server extensions are now enabled by default on installation. * Various fixes and adjustments. - Switch to wheel-based install - Remove python3-jupyter_vega3 requires as we never had this pkg present in the d:l:py, it is not mentioned in the setup.py - Run the tests - Initial version OBS-URL: https://build.opensuse.org/request/show/698419 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbdime?expand=0&rev=1
2019-04-26 22:02:20 +02:00
%description -n jupyter-nbdime
The nbdime package provides tools for diffing and merging of
Jupyter Notebooks.
This package provides the tools and jupyter notebook extension.
%package -n jupyter-nbdime-jupyterlab
Accepting request 698419 from home:TheBlackCat:branches:devel:languages:python:jupyter - Update to 1.0.5 * Fixed filename encoding issue with git diff on Python 2. * Fixes for deploying nbdime on a non-localhost server. * Web: Fixed issue where unchanged cells would not show correctly if unhidden. * Various other fixes and adjustments. - Rename to to match jupyter package naming guidelines. - Update to version 1.0.4 * Fix git diffing failure with older versions of git. Now, an older version of git will simply prevent integration with git filters. * Allow for two-way merge by making the base notebook argument to `nbmerge` optional. It will now default to an empty notebook. - Update to version 1.0.3 * Web: Fix issues with hiding unchanged cells. Make hiding unchanged cells configurable and on by default. * Options of the console printing can now be configured. Mainly the `--no-color` flag disables ANSI color escapes. * Web: Fixed MathJax math rendering. * Various other fixes and adjustments. - Update to version 1.0.2 * Diff: Optimized diffing of large texts (e.g. big cells). * Config: Fixed several issues with the config system. * Lab extension: Updated to latest jupyterlab. All npm packages are now using ES6 features. * Web: Fixed keyboard tabbing / focusing issues. - Update to version 1.0.1 * Web: Fix output rendering of outputs with a period in MIME type name. * Config: Add configuration option for front-end extensions. * Merging: Fix handling of corner case for inline merge strategy. * Various other fixes and adjustments. - Use find "+" strategy. - Use noun phrase in summary. - Update to version 1.0.0 * Added ability for git diff driver to integrate with git filters. * Improved/fixed merge resolution for similar cell insertions. * Added config system to allow for configuring the various entrypoints. Especially useful for customizing which keys to ignore when diffing. * Added control to web view of outputs to select which MIME type to render, and to enable trusting of outputs for full rendering. * Added jupyterlab extension. Frontend/server extensions are now enabled by default on installation. * Various fixes and adjustments. - Switch to wheel-based install - Remove python3-jupyter_vega3 requires as we never had this pkg present in the d:l:py, it is not mentioned in the setup.py - Run the tests - Initial version OBS-URL: https://build.opensuse.org/request/show/698419 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbdime?expand=0&rev=1
2019-04-26 22:02:20 +02:00
Version: %{labver}
Release: 0
Accepting request 698419 from home:TheBlackCat:branches:devel:languages:python:jupyter - Update to 1.0.5 * Fixed filename encoding issue with git diff on Python 2. * Fixes for deploying nbdime on a non-localhost server. * Web: Fixed issue where unchanged cells would not show correctly if unhidden. * Various other fixes and adjustments. - Rename to to match jupyter package naming guidelines. - Update to version 1.0.4 * Fix git diffing failure with older versions of git. Now, an older version of git will simply prevent integration with git filters. * Allow for two-way merge by making the base notebook argument to `nbmerge` optional. It will now default to an empty notebook. - Update to version 1.0.3 * Web: Fix issues with hiding unchanged cells. Make hiding unchanged cells configurable and on by default. * Options of the console printing can now be configured. Mainly the `--no-color` flag disables ANSI color escapes. * Web: Fixed MathJax math rendering. * Various other fixes and adjustments. - Update to version 1.0.2 * Diff: Optimized diffing of large texts (e.g. big cells). * Config: Fixed several issues with the config system. * Lab extension: Updated to latest jupyterlab. All npm packages are now using ES6 features. * Web: Fixed keyboard tabbing / focusing issues. - Update to version 1.0.1 * Web: Fix output rendering of outputs with a period in MIME type name. * Config: Add configuration option for front-end extensions. * Merging: Fix handling of corner case for inline merge strategy. * Various other fixes and adjustments. - Use find "+" strategy. - Use noun phrase in summary. - Update to version 1.0.0 * Added ability for git diff driver to integrate with git filters. * Improved/fixed merge resolution for similar cell insertions. * Added config system to allow for configuring the various entrypoints. Especially useful for customizing which keys to ignore when diffing. * Added control to web view of outputs to select which MIME type to render, and to enable trusting of outputs for full rendering. * Added jupyterlab extension. Frontend/server extensions are now enabled by default on installation. * Various fixes and adjustments. - Switch to wheel-based install - Remove python3-jupyter_vega3 requires as we never had this pkg present in the d:l:py, it is not mentioned in the setup.py - Run the tests - Initial version OBS-URL: https://build.opensuse.org/request/show/698419 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbdime?expand=0&rev=1
2019-04-26 22:02:20 +02:00
Summary: A JupyterLab extension for showing Notebook diffs
Requires: jupyter-jupyterlab
Requires: python3-nbdime = %{mainver}
Provides: python3-jupyter_nbdime_jupyterlab = %{labver}
Obsoletes: python3-jupyter_nbdime_jupyterlab < %{labver}
Accepting request 698419 from home:TheBlackCat:branches:devel:languages:python:jupyter - Update to 1.0.5 * Fixed filename encoding issue with git diff on Python 2. * Fixes for deploying nbdime on a non-localhost server. * Web: Fixed issue where unchanged cells would not show correctly if unhidden. * Various other fixes and adjustments. - Rename to to match jupyter package naming guidelines. - Update to version 1.0.4 * Fix git diffing failure with older versions of git. Now, an older version of git will simply prevent integration with git filters. * Allow for two-way merge by making the base notebook argument to `nbmerge` optional. It will now default to an empty notebook. - Update to version 1.0.3 * Web: Fix issues with hiding unchanged cells. Make hiding unchanged cells configurable and on by default. * Options of the console printing can now be configured. Mainly the `--no-color` flag disables ANSI color escapes. * Web: Fixed MathJax math rendering. * Various other fixes and adjustments. - Update to version 1.0.2 * Diff: Optimized diffing of large texts (e.g. big cells). * Config: Fixed several issues with the config system. * Lab extension: Updated to latest jupyterlab. All npm packages are now using ES6 features. * Web: Fixed keyboard tabbing / focusing issues. - Update to version 1.0.1 * Web: Fix output rendering of outputs with a period in MIME type name. * Config: Add configuration option for front-end extensions. * Merging: Fix handling of corner case for inline merge strategy. * Various other fixes and adjustments. - Use find "+" strategy. - Use noun phrase in summary. - Update to version 1.0.0 * Added ability for git diff driver to integrate with git filters. * Improved/fixed merge resolution for similar cell insertions. * Added config system to allow for configuring the various entrypoints. Especially useful for customizing which keys to ignore when diffing. * Added control to web view of outputs to select which MIME type to render, and to enable trusting of outputs for full rendering. * Added jupyterlab extension. Frontend/server extensions are now enabled by default on installation. * Various fixes and adjustments. - Switch to wheel-based install - Remove python3-jupyter_vega3 requires as we never had this pkg present in the d:l:py, it is not mentioned in the setup.py - Run the tests - Initial version OBS-URL: https://build.opensuse.org/request/show/698419 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbdime?expand=0&rev=1
2019-04-26 22:02:20 +02:00
%description -n jupyter-nbdime-jupyterlab
The nbdime package provides tools for diffing and merging of
Jupyter Notebooks.
This package provides the JupyterLab extension.
%package -n jupyter-nbdime-git
Summary: Git integration for jupyter-nbdime
Requires: git-core
Accepting request 698419 from home:TheBlackCat:branches:devel:languages:python:jupyter - Update to 1.0.5 * Fixed filename encoding issue with git diff on Python 2. * Fixes for deploying nbdime on a non-localhost server. * Web: Fixed issue where unchanged cells would not show correctly if unhidden. * Various other fixes and adjustments. - Rename to to match jupyter package naming guidelines. - Update to version 1.0.4 * Fix git diffing failure with older versions of git. Now, an older version of git will simply prevent integration with git filters. * Allow for two-way merge by making the base notebook argument to `nbmerge` optional. It will now default to an empty notebook. - Update to version 1.0.3 * Web: Fix issues with hiding unchanged cells. Make hiding unchanged cells configurable and on by default. * Options of the console printing can now be configured. Mainly the `--no-color` flag disables ANSI color escapes. * Web: Fixed MathJax math rendering. * Various other fixes and adjustments. - Update to version 1.0.2 * Diff: Optimized diffing of large texts (e.g. big cells). * Config: Fixed several issues with the config system. * Lab extension: Updated to latest jupyterlab. All npm packages are now using ES6 features. * Web: Fixed keyboard tabbing / focusing issues. - Update to version 1.0.1 * Web: Fix output rendering of outputs with a period in MIME type name. * Config: Add configuration option for front-end extensions. * Merging: Fix handling of corner case for inline merge strategy. * Various other fixes and adjustments. - Use find "+" strategy. - Use noun phrase in summary. - Update to version 1.0.0 * Added ability for git diff driver to integrate with git filters. * Improved/fixed merge resolution for similar cell insertions. * Added config system to allow for configuring the various entrypoints. Especially useful for customizing which keys to ignore when diffing. * Added control to web view of outputs to select which MIME type to render, and to enable trusting of outputs for full rendering. * Added jupyterlab extension. Frontend/server extensions are now enabled by default on installation. * Various fixes and adjustments. - Switch to wheel-based install - Remove python3-jupyter_vega3 requires as we never had this pkg present in the d:l:py, it is not mentioned in the setup.py - Run the tests - Initial version OBS-URL: https://build.opensuse.org/request/show/698419 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbdime?expand=0&rev=1
2019-04-26 22:02:20 +02:00
Requires: jupyter-nbdime = %{mainver}
Provides: python3-jupyter_nbdime-git = %{mainver}
Obsoletes: python3-jupyter_nbdime-git < %{mainver}
Accepting request 698419 from home:TheBlackCat:branches:devel:languages:python:jupyter - Update to 1.0.5 * Fixed filename encoding issue with git diff on Python 2. * Fixes for deploying nbdime on a non-localhost server. * Web: Fixed issue where unchanged cells would not show correctly if unhidden. * Various other fixes and adjustments. - Rename to to match jupyter package naming guidelines. - Update to version 1.0.4 * Fix git diffing failure with older versions of git. Now, an older version of git will simply prevent integration with git filters. * Allow for two-way merge by making the base notebook argument to `nbmerge` optional. It will now default to an empty notebook. - Update to version 1.0.3 * Web: Fix issues with hiding unchanged cells. Make hiding unchanged cells configurable and on by default. * Options of the console printing can now be configured. Mainly the `--no-color` flag disables ANSI color escapes. * Web: Fixed MathJax math rendering. * Various other fixes and adjustments. - Update to version 1.0.2 * Diff: Optimized diffing of large texts (e.g. big cells). * Config: Fixed several issues with the config system. * Lab extension: Updated to latest jupyterlab. All npm packages are now using ES6 features. * Web: Fixed keyboard tabbing / focusing issues. - Update to version 1.0.1 * Web: Fix output rendering of outputs with a period in MIME type name. * Config: Add configuration option for front-end extensions. * Merging: Fix handling of corner case for inline merge strategy. * Various other fixes and adjustments. - Use find "+" strategy. - Use noun phrase in summary. - Update to version 1.0.0 * Added ability for git diff driver to integrate with git filters. * Improved/fixed merge resolution for similar cell insertions. * Added config system to allow for configuring the various entrypoints. Especially useful for customizing which keys to ignore when diffing. * Added control to web view of outputs to select which MIME type to render, and to enable trusting of outputs for full rendering. * Added jupyterlab extension. Frontend/server extensions are now enabled by default on installation. * Various fixes and adjustments. - Switch to wheel-based install - Remove python3-jupyter_vega3 requires as we never had this pkg present in the d:l:py, it is not mentioned in the setup.py - Run the tests - Initial version OBS-URL: https://build.opensuse.org/request/show/698419 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbdime?expand=0&rev=1
2019-04-26 22:02:20 +02:00
%description -n jupyter-nbdime-git
The nbdime package provides tools for diffing and merging of
Jupyter Notebooks.
This package provides git integration.
%package -n jupyter-nbdime-hg
Summary: Mercurial integration for jupyter-nbdime
Requires: jupyter-nbdime = %{mainver}
Requires: mercurial
Provides: python3-jupyter_nbdime-hg = %{mainver}
Obsoletes: python3-jupyter_nbdime-hg < %{mainver}
Accepting request 698419 from home:TheBlackCat:branches:devel:languages:python:jupyter - Update to 1.0.5 * Fixed filename encoding issue with git diff on Python 2. * Fixes for deploying nbdime on a non-localhost server. * Web: Fixed issue where unchanged cells would not show correctly if unhidden. * Various other fixes and adjustments. - Rename to to match jupyter package naming guidelines. - Update to version 1.0.4 * Fix git diffing failure with older versions of git. Now, an older version of git will simply prevent integration with git filters. * Allow for two-way merge by making the base notebook argument to `nbmerge` optional. It will now default to an empty notebook. - Update to version 1.0.3 * Web: Fix issues with hiding unchanged cells. Make hiding unchanged cells configurable and on by default. * Options of the console printing can now be configured. Mainly the `--no-color` flag disables ANSI color escapes. * Web: Fixed MathJax math rendering. * Various other fixes and adjustments. - Update to version 1.0.2 * Diff: Optimized diffing of large texts (e.g. big cells). * Config: Fixed several issues with the config system. * Lab extension: Updated to latest jupyterlab. All npm packages are now using ES6 features. * Web: Fixed keyboard tabbing / focusing issues. - Update to version 1.0.1 * Web: Fix output rendering of outputs with a period in MIME type name. * Config: Add configuration option for front-end extensions. * Merging: Fix handling of corner case for inline merge strategy. * Various other fixes and adjustments. - Use find "+" strategy. - Use noun phrase in summary. - Update to version 1.0.0 * Added ability for git diff driver to integrate with git filters. * Improved/fixed merge resolution for similar cell insertions. * Added config system to allow for configuring the various entrypoints. Especially useful for customizing which keys to ignore when diffing. * Added control to web view of outputs to select which MIME type to render, and to enable trusting of outputs for full rendering. * Added jupyterlab extension. Frontend/server extensions are now enabled by default on installation. * Various fixes and adjustments. - Switch to wheel-based install - Remove python3-jupyter_vega3 requires as we never had this pkg present in the d:l:py, it is not mentioned in the setup.py - Run the tests - Initial version OBS-URL: https://build.opensuse.org/request/show/698419 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbdime?expand=0&rev=1
2019-04-26 22:02:20 +02:00
%description -n jupyter-nbdime-hg
The nbdime package provides tools for diffing and merging of
Jupyter Notebooks.
This package provides mercurial integration.
Accepting request 698419 from home:TheBlackCat:branches:devel:languages:python:jupyter - Update to 1.0.5 * Fixed filename encoding issue with git diff on Python 2. * Fixes for deploying nbdime on a non-localhost server. * Web: Fixed issue where unchanged cells would not show correctly if unhidden. * Various other fixes and adjustments. - Rename to to match jupyter package naming guidelines. - Update to version 1.0.4 * Fix git diffing failure with older versions of git. Now, an older version of git will simply prevent integration with git filters. * Allow for two-way merge by making the base notebook argument to `nbmerge` optional. It will now default to an empty notebook. - Update to version 1.0.3 * Web: Fix issues with hiding unchanged cells. Make hiding unchanged cells configurable and on by default. * Options of the console printing can now be configured. Mainly the `--no-color` flag disables ANSI color escapes. * Web: Fixed MathJax math rendering. * Various other fixes and adjustments. - Update to version 1.0.2 * Diff: Optimized diffing of large texts (e.g. big cells). * Config: Fixed several issues with the config system. * Lab extension: Updated to latest jupyterlab. All npm packages are now using ES6 features. * Web: Fixed keyboard tabbing / focusing issues. - Update to version 1.0.1 * Web: Fix output rendering of outputs with a period in MIME type name. * Config: Add configuration option for front-end extensions. * Merging: Fix handling of corner case for inline merge strategy. * Various other fixes and adjustments. - Use find "+" strategy. - Use noun phrase in summary. - Update to version 1.0.0 * Added ability for git diff driver to integrate with git filters. * Improved/fixed merge resolution for similar cell insertions. * Added config system to allow for configuring the various entrypoints. Especially useful for customizing which keys to ignore when diffing. * Added control to web view of outputs to select which MIME type to render, and to enable trusting of outputs for full rendering. * Added jupyterlab extension. Frontend/server extensions are now enabled by default on installation. * Various fixes and adjustments. - Switch to wheel-based install - Remove python3-jupyter_vega3 requires as we never had this pkg present in the d:l:py, it is not mentioned in the setup.py - Run the tests - Initial version OBS-URL: https://build.opensuse.org/request/show/698419 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbdime?expand=0&rev=1
2019-04-26 22:02:20 +02:00
%prep
%setup -q -c -T
%build
# Not needed
%install
cp -a %{SOURCE0} .
%pyproject_install
Accepting request 698419 from home:TheBlackCat:branches:devel:languages:python:jupyter - Update to 1.0.5 * Fixed filename encoding issue with git diff on Python 2. * Fixes for deploying nbdime on a non-localhost server. * Web: Fixed issue where unchanged cells would not show correctly if unhidden. * Various other fixes and adjustments. - Rename to to match jupyter package naming guidelines. - Update to version 1.0.4 * Fix git diffing failure with older versions of git. Now, an older version of git will simply prevent integration with git filters. * Allow for two-way merge by making the base notebook argument to `nbmerge` optional. It will now default to an empty notebook. - Update to version 1.0.3 * Web: Fix issues with hiding unchanged cells. Make hiding unchanged cells configurable and on by default. * Options of the console printing can now be configured. Mainly the `--no-color` flag disables ANSI color escapes. * Web: Fixed MathJax math rendering. * Various other fixes and adjustments. - Update to version 1.0.2 * Diff: Optimized diffing of large texts (e.g. big cells). * Config: Fixed several issues with the config system. * Lab extension: Updated to latest jupyterlab. All npm packages are now using ES6 features. * Web: Fixed keyboard tabbing / focusing issues. - Update to version 1.0.1 * Web: Fix output rendering of outputs with a period in MIME type name. * Config: Add configuration option for front-end extensions. * Merging: Fix handling of corner case for inline merge strategy. * Various other fixes and adjustments. - Use find "+" strategy. - Use noun phrase in summary. - Update to version 1.0.0 * Added ability for git diff driver to integrate with git filters. * Improved/fixed merge resolution for similar cell insertions. * Added config system to allow for configuring the various entrypoints. Especially useful for customizing which keys to ignore when diffing. * Added control to web view of outputs to select which MIME type to render, and to enable trusting of outputs for full rendering. * Added jupyterlab extension. Frontend/server extensions are now enabled by default on installation. * Various fixes and adjustments. - Switch to wheel-based install - Remove python3-jupyter_vega3 requires as we never had this pkg present in the d:l:py, it is not mentioned in the setup.py - Run the tests - Initial version OBS-URL: https://build.opensuse.org/request/show/698419 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbdime?expand=0&rev=1
2019-04-26 22:02:20 +02:00
%{jupyter_move_config}
%python_expand find %{buildroot}%{$python_sitelib} -type f -name "*.py" -exec sed -i 's/\r$//' {} +
%python_expand find %{buildroot}%{$python_sitelib} -type f -name "*.ipynb" -exec sed -i 's/\r$//' {} +
%python_expand find %{buildroot}%{$python_sitelib}/nbdime/ -type f -name "*.py" -exec sed -i -e '/^#!\//, 1d' {} +
Accepting request 698419 from home:TheBlackCat:branches:devel:languages:python:jupyter - Update to 1.0.5 * Fixed filename encoding issue with git diff on Python 2. * Fixes for deploying nbdime on a non-localhost server. * Web: Fixed issue where unchanged cells would not show correctly if unhidden. * Various other fixes and adjustments. - Rename to to match jupyter package naming guidelines. - Update to version 1.0.4 * Fix git diffing failure with older versions of git. Now, an older version of git will simply prevent integration with git filters. * Allow for two-way merge by making the base notebook argument to `nbmerge` optional. It will now default to an empty notebook. - Update to version 1.0.3 * Web: Fix issues with hiding unchanged cells. Make hiding unchanged cells configurable and on by default. * Options of the console printing can now be configured. Mainly the `--no-color` flag disables ANSI color escapes. * Web: Fixed MathJax math rendering. * Various other fixes and adjustments. - Update to version 1.0.2 * Diff: Optimized diffing of large texts (e.g. big cells). * Config: Fixed several issues with the config system. * Lab extension: Updated to latest jupyterlab. All npm packages are now using ES6 features. * Web: Fixed keyboard tabbing / focusing issues. - Update to version 1.0.1 * Web: Fix output rendering of outputs with a period in MIME type name. * Config: Add configuration option for front-end extensions. * Merging: Fix handling of corner case for inline merge strategy. * Various other fixes and adjustments. - Use find "+" strategy. - Use noun phrase in summary. - Update to version 1.0.0 * Added ability for git diff driver to integrate with git filters. * Improved/fixed merge resolution for similar cell insertions. * Added config system to allow for configuring the various entrypoints. Especially useful for customizing which keys to ignore when diffing. * Added control to web view of outputs to select which MIME type to render, and to enable trusting of outputs for full rendering. * Added jupyterlab extension. Frontend/server extensions are now enabled by default on installation. * Various fixes and adjustments. - Switch to wheel-based install - Remove python3-jupyter_vega3 requires as we never had this pkg present in the d:l:py, it is not mentioned in the setup.py - Run the tests - Initial version OBS-URL: https://build.opensuse.org/request/show/698419 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbdime?expand=0&rev=1
2019-04-26 22:02:20 +02:00
cp %{buildroot}%{python3_sitelib}/nbdime-%{mainver}.dist-info/LICENSE.md .
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%{fdupes %{buildroot}%{_jupyter_prefix} %{buildroot}%{python3_sitelib}}
%check
export PATH=$PATH:%{buildroot}%{_bindir}
export PYTHONDONTWRITEBYTECODE=1
git config --global user.email "test@test.com"
git config --global user.name "tester"
%pytest %{buildroot}%{python3_sitelib}/nbdime/
Accepting request 698419 from home:TheBlackCat:branches:devel:languages:python:jupyter - Update to 1.0.5 * Fixed filename encoding issue with git diff on Python 2. * Fixes for deploying nbdime on a non-localhost server. * Web: Fixed issue where unchanged cells would not show correctly if unhidden. * Various other fixes and adjustments. - Rename to to match jupyter package naming guidelines. - Update to version 1.0.4 * Fix git diffing failure with older versions of git. Now, an older version of git will simply prevent integration with git filters. * Allow for two-way merge by making the base notebook argument to `nbmerge` optional. It will now default to an empty notebook. - Update to version 1.0.3 * Web: Fix issues with hiding unchanged cells. Make hiding unchanged cells configurable and on by default. * Options of the console printing can now be configured. Mainly the `--no-color` flag disables ANSI color escapes. * Web: Fixed MathJax math rendering. * Various other fixes and adjustments. - Update to version 1.0.2 * Diff: Optimized diffing of large texts (e.g. big cells). * Config: Fixed several issues with the config system. * Lab extension: Updated to latest jupyterlab. All npm packages are now using ES6 features. * Web: Fixed keyboard tabbing / focusing issues. - Update to version 1.0.1 * Web: Fix output rendering of outputs with a period in MIME type name. * Config: Add configuration option for front-end extensions. * Merging: Fix handling of corner case for inline merge strategy. * Various other fixes and adjustments. - Use find "+" strategy. - Use noun phrase in summary. - Update to version 1.0.0 * Added ability for git diff driver to integrate with git filters. * Improved/fixed merge resolution for similar cell insertions. * Added config system to allow for configuring the various entrypoints. Especially useful for customizing which keys to ignore when diffing. * Added control to web view of outputs to select which MIME type to render, and to enable trusting of outputs for full rendering. * Added jupyterlab extension. Frontend/server extensions are now enabled by default on installation. * Various fixes and adjustments. - Switch to wheel-based install - Remove python3-jupyter_vega3 requires as we never had this pkg present in the d:l:py, it is not mentioned in the setup.py - Run the tests - Initial version OBS-URL: https://build.opensuse.org/request/show/698419 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbdime?expand=0&rev=1
2019-04-26 22:02:20 +02:00
%files %{python_files}
%license %{python_sitelib}/nbdime-%{mainver}.dist-info/LICENSE.md
%{python_sitelib}/nbdime/
%{python_sitelib}/nbdime-%{mainver}.dist-info/
%files -n jupyter-nbdime
%license LICENSE.md
%{_bindir}/nbdime
%{_bindir}/nbshow
%{_bindir}/nbdiff
%{_bindir}/nbdiff-web
%{_bindir}/nbmerge
%{_bindir}/nbmerge-web
%{_jupyter_nbextension_dir}/nbdime/
%config %{_jupyter_servextension_confdir}/nbdime.json
%config %{_jupyter_nb_notebook_confdir}/nbdime.json
%files -n jupyter-nbdime-jupyterlab
%license LICENSE.md
%{_jupyter_labextensions_dir}/nbdime-jupyterlab-%{labver}.tgz
%files -n jupyter-nbdime-git
%license LICENSE.md
%{_bindir}/git-nbdiffdriver
%{_bindir}/git-nbdifftool
%{_bindir}/git-nbmergedriver
%{_bindir}/git-nbmergetool
%files -n jupyter-nbdime-hg
%license LICENSE.md
%{_bindir}/hg-nbdiff
%{_bindir}/hg-nbdiffweb
%{_bindir}/hg-nbmerge
%{_bindir}/hg-nbmergeweb
%changelog