Accepting request 726526 from devel:languages:python:jupyter
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/726526 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-nbdime?expand=0&rev=2
This commit is contained in:
commit
60ffcba3c7
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0f0e42d75e0c39f898e0a628241f2cd670546cf45f45a79d038f3a0e165301fa
|
||||
size 3384101
|
3
nbdime-1.1.0-py2.py3-none-any.whl
Normal file
3
nbdime-1.1.0-py2.py3-none-any.whl
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5be5159e4f58d1324279fa330baca72d22d618fc0383fdb7dd549857e0858341
|
||||
size 4316133
|
@ -1,3 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 20 14:38:49 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
||||
|
||||
- Tests require jsonschema 3.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 11 03:39:51 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
||||
|
||||
- Update to 1.1.0
|
||||
* Add rest API for server extension for handling pure git diffs
|
||||
of notebooks. This allows for a cleaner call without prefixing
|
||||
the filename etc. This is currently only available on the
|
||||
server extension, but can be moved to the main server if there
|
||||
is demand.
|
||||
- Update to 1.0.7
|
||||
* Fixes an issue using config files (PR #476).
|
||||
* Upgrades to using lab 1.0 components, which also allows lab
|
||||
extension to support lab 1.0.
|
||||
- Update to 1.0.6
|
||||
* Fixed a styling regression from 1.0.5, where the web text panes
|
||||
had incorrect styling (most notably incorrect widths).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 16 19:08:20 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
||||
|
||||
|
@ -17,8 +17,8 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define mainver 1.0.5
|
||||
%define labver 0.6.1
|
||||
%define mainver 1.1.0
|
||||
%define labver 1.0.0
|
||||
Name: python-nbdime
|
||||
Version: %{mainver}
|
||||
Release: 0
|
||||
@ -37,12 +37,17 @@ BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: %{python_module tornado}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: jupyter-jupyterlab
|
||||
BuildRequires: jupyter-jupyterlab-filesystem
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: unzip
|
||||
BuildRequires: zip
|
||||
BuildRequires: python-backports.functools_lru_cache
|
||||
BuildRequires: python-backports.shutil_which
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module jsonschema > 3}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module pytest}
|
||||
# /SECTION
|
||||
Requires: jupyter-nbdime = %{mainver}
|
||||
Requires: python-GitPython >= 2.1.6
|
||||
Requires: python-Jinja2 >= 2.9
|
||||
@ -133,7 +138,8 @@ This package provides mercurial integration.
|
||||
%prep
|
||||
%setup -q -c -T
|
||||
unzip %{SOURCE0} 'nbdime/*'
|
||||
find nbdime/ -type f -name "*.py" -exec sed -i 's/\r$//' {} +
|
||||
find . -type f -name "*.py" -exec sed -i 's/\r$//' {} +
|
||||
find . -type f -name "*.ipynb" -exec sed -i 's/\r$//' {} +
|
||||
find nbdime/ -type f -name "*.py" -exec sed -i -e '/^#!\//, 1d' {} +
|
||||
zip -r %{SOURCE0} nbdime
|
||||
rm -rf nbdime
|
||||
@ -150,6 +156,12 @@ 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}
|
||||
git config --global user.email "test@test.com"
|
||||
git config --global user.name "tester"
|
||||
%pytest %{buildroot}%{python3_sitelib}/nbdime/
|
||||
|
||||
%files %{python_files}
|
||||
%license %{python_sitelib}/nbdime-%{mainver}.dist-info/LICENSE.md
|
||||
%{python_sitelib}/nbdime/
|
||||
|
Loading…
Reference in New Issue
Block a user