summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-nbdime.spec382
-rw-r--r--sources1
3 files changed, 384 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..dd1325b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/nbdime-3.1.1.tar.gz
diff --git a/python-nbdime.spec b/python-nbdime.spec
new file mode 100644
index 0000000..fd76f02
--- /dev/null
+++ b/python-nbdime.spec
@@ -0,0 +1,382 @@
+%global _empty_manifest_terminate_build 0
+Name: python-nbdime
+Version: 3.1.1
+Release: 1
+Summary: Diff and merge of Jupyter Notebooks
+License: BSD
+URL: https://nbdime.readthedocs.io
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/e1/36/28232d030c1b4a25116799f1aa3cd26208964f302daa324c314fd576820a/nbdime-3.1.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-nbformat
+Requires: python3-colorama
+Requires: python3-pygments
+Requires: python3-tornado
+Requires: python3-requests
+Requires: python3-GitPython
+Requires: python3-jupyter-server
+Requires: python3-jupyter-server-mathjax
+Requires: python3-jinja2
+Requires: python3-sphinx
+Requires: python3-recommonmark
+Requires: python3-sphinx-rtd-theme
+Requires: python3-pytest
+Requires: python3-pytest-cov
+Requires: python3-pytest-timeout
+Requires: python3-pytest-tornado
+Requires: python3-jupyter-server[test]
+Requires: python3-jsonschema
+Requires: python3-mock
+Requires: python3-notebook
+Requires: python3-requests
+Requires: python3-tabulate
+
+%description
+**[Installation](#installation)** |
+**[Documentation](#documentation)** |
+**[Contributing](#contributing)** |
+**[Development Install](#development-install)** |
+**[Testing](#testing)** |
+**[License](#license)** |
+**[Getting help](#getting-help)**
+
+# [nbdime](https://github.com/jupyter/nbdime) Jupyter Notebook Diff and Merge tools
+
+[![Build Status](https://travis-ci.org/jupyter/nbdime.svg?branch=master)](https://travis-ci.org/jupyter/nbdime)
+[![codecov.io](https://codecov.io/github/jupyter/nbdime/coverage.svg?branch=master)](https://codecov.io/github/jupyter/nbdime?branch=master)
+[![Documentation Status](https://readthedocs.org/projects/nbdime/badge/?version=latest)](http://nbdime.readthedocs.io/en/latest/?badge=latest)
+[![Google Group](https://img.shields.io/badge/-Google%20Group-lightgrey.svg)](https://groups.google.com/forum/#!forum/jupyter)
+
+`nbdime` provides tools for diffing and merging of [Jupyter Notebooks](https://jupyter-notebook.readthedocs.io).
+
+- `nbdiff` compare notebooks in a terminal-friendly way
+- `nbmerge` three-way merge of notebooks with automatic conflict resolution
+- `nbdiff-web` shows you a rich rendered diff of notebooks
+- `nbmerge-web` gives you a web-based three-way merge tool for notebooks
+- `nbshow` present a single notebook in a terminal-friendly way
+
+Diffing notebooks in the terminal:
+
+![terminal-diff](https://github.com/jupyter/nbdime/raw/3.1.1/docs/source/images/nbdiff-terminal.png)
+
+Merging notebooks in a browser:
+
+![web-merge](https://github.com/jupyter/nbdime/raw/3.1.1/docs/source/images/nbmerge-web.png)
+
+## Installation
+
+Install nbdime with pip:
+
+ pip install nbdime
+
+See [the installation docs](https://nbdime.readthedocs.io/en/latest/installing.html) for more installation details and development installation instructions.
+
+## Documentation
+
+See the latest documentation at https://nbdime.readthedocs.io.
+
+See also description and discussion in the [Jupyter Enhancement Proposal](https://github.com/jupyter/enhancement-proposals/pull/8).
+
+## Contributing
+
+If you would like to contribute to the project, please read our [contributor documentation](http://jupyter.readthedocs.io/en/latest/contributor/content-contributor.html) and the [`CONTRIBUTING.md`](CONTRIBUTING.md).
+
+## Development Install
+
+To install a development version of nbdime, you will need [npm installed](https://nodejs.org/en/download/) and available on your PATH while installing.
+
+For a **development install**, enter on the command line:
+
+```bash
+pip install -e git+https://github.com/jupyter/nbdime#egg=nbdime
+```
+
+See [installation](https://nbdime.readthedocs.io/en/latest/installing.html#installing-latest-development-version) documentation for additional detail, particularly related to performing
+a dev install for working on the browser script code.
+
+## Testing
+
+Install the test requirements:
+
+ pip install nbdime[test]
+
+To run Python tests locally, enter on the command line: `pytest`
+
+To run Javascript tests locally, enter: `npm test`
+
+Install the [codecov browser extension](https://github.com/codecov/browser-extension#codecov-extension) to view test coverage in the source browser on github.
+
+See [testing](https://nbdime.readthedocs.io/en/latest/testing.html) documentation for additional detail.
+
+## License
+
+We use a shared copyright model that enables all contributors to maintain the
+copyright on their contributions.
+
+All code is licensed under the terms of the revised BSD license.
+
+## Getting help
+
+We encourage you to ask questions on the [mailing list](https://groups.google.com/forum/#!forum/jupyter).
+
+## Resources
+
+- [Reporting Issues](https://github.com/jupyter/nbdime/issues)
+- [Documentation for nbdime](https://nbdime.readthedocs.io/en/latest/) | [PDF (latest)](https://media.readthedocs.org/pdf/nbdime/latest/nbdime.pdf)
+
+- [Documentation for Project Jupyter](https://jupyter.readthedocs.io/en/latest/index.html) | [PDF](https://media.readthedocs.org/pdf/jupyter/latest/jupyter.pdf)
+- [Project Jupyter website](https://jupyter.org)
+
+
+
+
+%package -n python3-nbdime
+Summary: Diff and merge of Jupyter Notebooks
+Provides: python-nbdime
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-nbdime
+**[Installation](#installation)** |
+**[Documentation](#documentation)** |
+**[Contributing](#contributing)** |
+**[Development Install](#development-install)** |
+**[Testing](#testing)** |
+**[License](#license)** |
+**[Getting help](#getting-help)**
+
+# [nbdime](https://github.com/jupyter/nbdime) Jupyter Notebook Diff and Merge tools
+
+[![Build Status](https://travis-ci.org/jupyter/nbdime.svg?branch=master)](https://travis-ci.org/jupyter/nbdime)
+[![codecov.io](https://codecov.io/github/jupyter/nbdime/coverage.svg?branch=master)](https://codecov.io/github/jupyter/nbdime?branch=master)
+[![Documentation Status](https://readthedocs.org/projects/nbdime/badge/?version=latest)](http://nbdime.readthedocs.io/en/latest/?badge=latest)
+[![Google Group](https://img.shields.io/badge/-Google%20Group-lightgrey.svg)](https://groups.google.com/forum/#!forum/jupyter)
+
+`nbdime` provides tools for diffing and merging of [Jupyter Notebooks](https://jupyter-notebook.readthedocs.io).
+
+- `nbdiff` compare notebooks in a terminal-friendly way
+- `nbmerge` three-way merge of notebooks with automatic conflict resolution
+- `nbdiff-web` shows you a rich rendered diff of notebooks
+- `nbmerge-web` gives you a web-based three-way merge tool for notebooks
+- `nbshow` present a single notebook in a terminal-friendly way
+
+Diffing notebooks in the terminal:
+
+![terminal-diff](https://github.com/jupyter/nbdime/raw/3.1.1/docs/source/images/nbdiff-terminal.png)
+
+Merging notebooks in a browser:
+
+![web-merge](https://github.com/jupyter/nbdime/raw/3.1.1/docs/source/images/nbmerge-web.png)
+
+## Installation
+
+Install nbdime with pip:
+
+ pip install nbdime
+
+See [the installation docs](https://nbdime.readthedocs.io/en/latest/installing.html) for more installation details and development installation instructions.
+
+## Documentation
+
+See the latest documentation at https://nbdime.readthedocs.io.
+
+See also description and discussion in the [Jupyter Enhancement Proposal](https://github.com/jupyter/enhancement-proposals/pull/8).
+
+## Contributing
+
+If you would like to contribute to the project, please read our [contributor documentation](http://jupyter.readthedocs.io/en/latest/contributor/content-contributor.html) and the [`CONTRIBUTING.md`](CONTRIBUTING.md).
+
+## Development Install
+
+To install a development version of nbdime, you will need [npm installed](https://nodejs.org/en/download/) and available on your PATH while installing.
+
+For a **development install**, enter on the command line:
+
+```bash
+pip install -e git+https://github.com/jupyter/nbdime#egg=nbdime
+```
+
+See [installation](https://nbdime.readthedocs.io/en/latest/installing.html#installing-latest-development-version) documentation for additional detail, particularly related to performing
+a dev install for working on the browser script code.
+
+## Testing
+
+Install the test requirements:
+
+ pip install nbdime[test]
+
+To run Python tests locally, enter on the command line: `pytest`
+
+To run Javascript tests locally, enter: `npm test`
+
+Install the [codecov browser extension](https://github.com/codecov/browser-extension#codecov-extension) to view test coverage in the source browser on github.
+
+See [testing](https://nbdime.readthedocs.io/en/latest/testing.html) documentation for additional detail.
+
+## License
+
+We use a shared copyright model that enables all contributors to maintain the
+copyright on their contributions.
+
+All code is licensed under the terms of the revised BSD license.
+
+## Getting help
+
+We encourage you to ask questions on the [mailing list](https://groups.google.com/forum/#!forum/jupyter).
+
+## Resources
+
+- [Reporting Issues](https://github.com/jupyter/nbdime/issues)
+- [Documentation for nbdime](https://nbdime.readthedocs.io/en/latest/) | [PDF (latest)](https://media.readthedocs.org/pdf/nbdime/latest/nbdime.pdf)
+
+- [Documentation for Project Jupyter](https://jupyter.readthedocs.io/en/latest/index.html) | [PDF](https://media.readthedocs.org/pdf/jupyter/latest/jupyter.pdf)
+- [Project Jupyter website](https://jupyter.org)
+
+
+
+
+%package help
+Summary: Development documents and examples for nbdime
+Provides: python3-nbdime-doc
+%description help
+**[Installation](#installation)** |
+**[Documentation](#documentation)** |
+**[Contributing](#contributing)** |
+**[Development Install](#development-install)** |
+**[Testing](#testing)** |
+**[License](#license)** |
+**[Getting help](#getting-help)**
+
+# [nbdime](https://github.com/jupyter/nbdime) Jupyter Notebook Diff and Merge tools
+
+[![Build Status](https://travis-ci.org/jupyter/nbdime.svg?branch=master)](https://travis-ci.org/jupyter/nbdime)
+[![codecov.io](https://codecov.io/github/jupyter/nbdime/coverage.svg?branch=master)](https://codecov.io/github/jupyter/nbdime?branch=master)
+[![Documentation Status](https://readthedocs.org/projects/nbdime/badge/?version=latest)](http://nbdime.readthedocs.io/en/latest/?badge=latest)
+[![Google Group](https://img.shields.io/badge/-Google%20Group-lightgrey.svg)](https://groups.google.com/forum/#!forum/jupyter)
+
+`nbdime` provides tools for diffing and merging of [Jupyter Notebooks](https://jupyter-notebook.readthedocs.io).
+
+- `nbdiff` compare notebooks in a terminal-friendly way
+- `nbmerge` three-way merge of notebooks with automatic conflict resolution
+- `nbdiff-web` shows you a rich rendered diff of notebooks
+- `nbmerge-web` gives you a web-based three-way merge tool for notebooks
+- `nbshow` present a single notebook in a terminal-friendly way
+
+Diffing notebooks in the terminal:
+
+![terminal-diff](https://github.com/jupyter/nbdime/raw/3.1.1/docs/source/images/nbdiff-terminal.png)
+
+Merging notebooks in a browser:
+
+![web-merge](https://github.com/jupyter/nbdime/raw/3.1.1/docs/source/images/nbmerge-web.png)
+
+## Installation
+
+Install nbdime with pip:
+
+ pip install nbdime
+
+See [the installation docs](https://nbdime.readthedocs.io/en/latest/installing.html) for more installation details and development installation instructions.
+
+## Documentation
+
+See the latest documentation at https://nbdime.readthedocs.io.
+
+See also description and discussion in the [Jupyter Enhancement Proposal](https://github.com/jupyter/enhancement-proposals/pull/8).
+
+## Contributing
+
+If you would like to contribute to the project, please read our [contributor documentation](http://jupyter.readthedocs.io/en/latest/contributor/content-contributor.html) and the [`CONTRIBUTING.md`](CONTRIBUTING.md).
+
+## Development Install
+
+To install a development version of nbdime, you will need [npm installed](https://nodejs.org/en/download/) and available on your PATH while installing.
+
+For a **development install**, enter on the command line:
+
+```bash
+pip install -e git+https://github.com/jupyter/nbdime#egg=nbdime
+```
+
+See [installation](https://nbdime.readthedocs.io/en/latest/installing.html#installing-latest-development-version) documentation for additional detail, particularly related to performing
+a dev install for working on the browser script code.
+
+## Testing
+
+Install the test requirements:
+
+ pip install nbdime[test]
+
+To run Python tests locally, enter on the command line: `pytest`
+
+To run Javascript tests locally, enter: `npm test`
+
+Install the [codecov browser extension](https://github.com/codecov/browser-extension#codecov-extension) to view test coverage in the source browser on github.
+
+See [testing](https://nbdime.readthedocs.io/en/latest/testing.html) documentation for additional detail.
+
+## License
+
+We use a shared copyright model that enables all contributors to maintain the
+copyright on their contributions.
+
+All code is licensed under the terms of the revised BSD license.
+
+## Getting help
+
+We encourage you to ask questions on the [mailing list](https://groups.google.com/forum/#!forum/jupyter).
+
+## Resources
+
+- [Reporting Issues](https://github.com/jupyter/nbdime/issues)
+- [Documentation for nbdime](https://nbdime.readthedocs.io/en/latest/) | [PDF (latest)](https://media.readthedocs.org/pdf/nbdime/latest/nbdime.pdf)
+
+- [Documentation for Project Jupyter](https://jupyter.readthedocs.io/en/latest/index.html) | [PDF](https://media.readthedocs.org/pdf/jupyter/latest/jupyter.pdf)
+- [Project Jupyter website](https://jupyter.org)
+
+
+
+
+%prep
+%autosetup -n nbdime-3.1.1
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-nbdime -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 3.1.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..03d9a85
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+f9cf9e37fb75d3c403ed699f854f38f0 nbdime-3.1.1.tar.gz