forked from pool/python-notebook-shim
		
	Accepting request 980920 from home:bnavigator:branches:devel:languages:python:jupyter
required by nbclassic OBS-URL: https://build.opensuse.org/request/show/980920 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-notebook-shim?expand=0&rev=1
This commit is contained in:
		
							
								
								
									
										23
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
				
			|||||||
 | 
					## Default LFS
 | 
				
			||||||
 | 
					*.7z filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.bsp filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.bz2 filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.gem filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.gz filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.jar filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.lz filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.lzma filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.obscpio filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.oxt filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.pdf filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.png filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.rpm filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.tbz filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.tbz2 filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.tgz filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.ttf filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.txz filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.whl filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.xz filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.zip filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.zst filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					.osc
 | 
				
			||||||
							
								
								
									
										3
									
								
								_multibuild
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								_multibuild
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
				
			|||||||
 | 
					<multibuild>
 | 
				
			||||||
 | 
					  <package>test</package>
 | 
				
			||||||
 | 
					</multibuild>
 | 
				
			||||||
							
								
								
									
										3
									
								
								notebook_shim-0.1.0.tar.gz
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								notebook_shim-0.1.0.tar.gz
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
				
			|||||||
 | 
					version https://git-lfs.github.com/spec/v1
 | 
				
			||||||
 | 
					oid sha256:7897e47a36d92248925a2143e3596f19c60597708f7bef50d81fcd31d7263e85
 | 
				
			||||||
 | 
					size 12275
 | 
				
			||||||
							
								
								
									
										6
									
								
								python-notebook-shim.changes
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								python-notebook-shim.changes
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					-------------------------------------------------------------------
 | 
				
			||||||
 | 
					Sun Jun  5 17:26:42 UTC 2022 - Ben Greiner <code@bnavigator.de>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- Initial specfile for v0.1
 | 
				
			||||||
 | 
					- Required by nbclassic
 | 
				
			||||||
 | 
					- Disabled test suite --  gh#jupyter/notebook_shim#8
 | 
				
			||||||
							
								
								
									
										77
									
								
								python-notebook-shim.spec
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										77
									
								
								python-notebook-shim.spec
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,77 @@
 | 
				
			|||||||
 | 
					#
 | 
				
			||||||
 | 
					# spec file for package python-notebook-shim
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# Copyright (c) 2022 SUSE LLC
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# 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/
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Name:           python-notebook-shim
 | 
				
			||||||
 | 
					Version:        0.1.0
 | 
				
			||||||
 | 
					Release:        0
 | 
				
			||||||
 | 
					Summary:        A shim layer for notebook traits and config
 | 
				
			||||||
 | 
					License:        BSD-3-Clause
 | 
				
			||||||
 | 
					URL:            https://github.com/jupyterlab/notebook_shim
 | 
				
			||||||
 | 
					Source:         https://files.pythonhosted.org/packages/source/n/notebook_shim/notebook_shim-%{version}.tar.gz
 | 
				
			||||||
 | 
					BuildRequires:  %{python_module base >= 3.7}
 | 
				
			||||||
 | 
					BuildRequires:  %{python_module setuptools}
 | 
				
			||||||
 | 
					BuildRequires:  fdupes
 | 
				
			||||||
 | 
					BuildRequires:  jupyter-rpm-macros
 | 
				
			||||||
 | 
					BuildRequires:  python-rpm-macros
 | 
				
			||||||
 | 
					Requires:       (python-jupyter_server >= 1.8 with python-jupyter_server < 2)
 | 
				
			||||||
 | 
					Requires:       jupyter-notebook-shim = %{version}
 | 
				
			||||||
 | 
					Provides:       python-notebook_shim = %{version}-%{release}
 | 
				
			||||||
 | 
					BuildArch:      noarch
 | 
				
			||||||
 | 
					BuildRequires:  %{python_module jupyter_server >= 1.8 with %python-jupyter_server < 2}
 | 
				
			||||||
 | 
					BuildRequires:  %{python_module pytest-console-scripts}
 | 
				
			||||||
 | 
					BuildRequires:  %{python_module pytest-tornasync}
 | 
				
			||||||
 | 
					BuildRequires:  %{python_module pytest}
 | 
				
			||||||
 | 
					%python_subpackages
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					%description
 | 
				
			||||||
 | 
					This project provides a way for JupyterLab and other frontends to switch to
 | 
				
			||||||
 | 
					Jupyter Server for their Python Web application backend.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					%package -n jupyter-notebook-shim
 | 
				
			||||||
 | 
					Summary: The configuration file for python-notebook-shim
 | 
				
			||||||
 | 
					Provides: juypter-notebook_shim = %{version}-%{release}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					%description -n jupyter-notebook-shim
 | 
				
			||||||
 | 
					This project provides a way for JupyterLab and other frontends to switch to
 | 
				
			||||||
 | 
					Jupyter Server for their Python Web application backend. Common configuration
 | 
				
			||||||
 | 
					file
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					%prep
 | 
				
			||||||
 | 
					%setup -q -n notebook_shim-%{version}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					%build
 | 
				
			||||||
 | 
					%python_build
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					%install
 | 
				
			||||||
 | 
					%python_install
 | 
				
			||||||
 | 
					%python_expand %fdupes %{buildroot}%{$python_sitelib}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					%check
 | 
				
			||||||
 | 
					# gh#jupyter/notebook_shim#8
 | 
				
			||||||
 | 
					#pytest notebook_shim
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					%files %{python_files}
 | 
				
			||||||
 | 
					%license LICENSE
 | 
				
			||||||
 | 
					%doc README.md
 | 
				
			||||||
 | 
					%{python_sitelib}/notebook_shim
 | 
				
			||||||
 | 
					%{python_sitelib}/notebook_shim-%{version}*-info
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					%files -n jupyter-notebook-shim
 | 
				
			||||||
 | 
					%_jupyter_config %{_jupyter_server_confdir}/notebook_shim.json
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					%changelog
 | 
				
			||||||
		Reference in New Issue
	
	Block a user