Accepting request 875987 from devel:languages:python:jupyter
OBS-URL: https://build.opensuse.org/request/show/875987 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jupyter-packaging?expand=0&rev=3
This commit is contained in:
commit
d404492af5
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d89134d2df88c30098bce0f8d8fb07b988ef0f616775dbd4b82dac9562b5cae6
|
||||
size 11721
|
3
jupyter-packaging-0.7.12.tar.gz
Normal file
3
jupyter-packaging-0.7.12.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b140325771881a7df7b7f2d14997b619063fe75ae756b9025852e4346000bbb8
|
||||
size 15492
|
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 1 10:12:52 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 0.7.12
|
||||
* no newer release notes
|
||||
- Release 0.6
|
||||
* Move data files to the correct place on develop install #41
|
||||
- Release 0.5
|
||||
* Update readme to mention pep 518 #36
|
||||
* Add handling of data_files in develop mode and add test. #35
|
||||
- Drop which-finds-python-executable.patch merged upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 5 15:04:08 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-jupyter-packaging
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -18,20 +18,20 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-jupyter-packaging
|
||||
Version: 0.4.0
|
||||
Version: 0.7.12
|
||||
Release: 0
|
||||
Summary: Jupyter Packaging Utilities
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/jupyter/jupyter-packaging
|
||||
Source: https://files.pythonhosted.org/packages/source/j/jupyter-packaging/jupyter-packaging-%{version}.tar.gz
|
||||
# fix tests https://github.com/jupyter/jupyter-packaging/pull/32
|
||||
Patch0: which-finds-python-executable.patch
|
||||
BuildRequires: %{python_module packaging}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
Requires: python-packaging
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -42,7 +42,6 @@ with and without accompanying JavaScript packages
|
||||
%setup -q -n jupyter-packaging-%{version}
|
||||
sed -i 's/\r$//' README.md
|
||||
sed -i -e '/^#!\//, 1d' jupyter_packaging/*.py
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@ -52,7 +51,8 @@ sed -i -e '/^#!\//, 1d' jupyter_packaging/*.py
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
# test_install and test_datafiles_install call pip which wants to check the online cache
|
||||
%pytest -k "not (test_install or test_datafiles_install)"
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
|
@ -1,14 +0,0 @@
|
||||
Index: jupyter-packaging-0.4.0/tests/test_which.py
|
||||
===================================================================
|
||||
--- jupyter-packaging-0.4.0.orig/tests/test_which.py
|
||||
+++ jupyter-packaging-0.4.0/tests/test_which.py
|
||||
@@ -1,6 +1,7 @@
|
||||
|
||||
+import sys
|
||||
from jupyter_packaging.setupbase import which
|
||||
|
||||
|
||||
-def test_which_finds_python():
|
||||
- assert which('python')
|
||||
+def test_which_finds_python_executable():
|
||||
+ assert which(sys.executable)
|
Loading…
Reference in New Issue
Block a user