Accepting request 902820 from devel:languages:python:jupyter
OBS-URL: https://build.opensuse.org/request/show/902820 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jupyter-packaging?expand=0&rev=4
This commit is contained in:
commit
5fbb5ef3d2
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b140325771881a7df7b7f2d14997b619063fe75ae756b9025852e4346000bbb8
|
||||
size 15492
|
3
jupyter_packaging-0.10.3.tar.gz
Normal file
3
jupyter_packaging-0.10.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:80799306fa42752a3592e9fda3bac7ecc8c56a2a13f26932c922b8c064378437
|
||||
size 21530
|
@ -1,3 +1,39 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 25 18:53:47 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 0.10.3
|
||||
* Some fixes for issues discovered during packaging #96
|
||||
(@frenzymadness)
|
||||
* Disallow deprecated function return incorrect results for
|
||||
Python 3.10 #97 (@frenzymadness)
|
||||
* Fix handling of module metadata in tests #92 (@blink1073)
|
||||
- Release 0.10.2
|
||||
* Fix Handling of npm Parameter #90 (@jtpio)
|
||||
- Release 0.10.1
|
||||
* Fix Handling of Skip If Exists #86 (@jtpio)
|
||||
- Release 0.10.0
|
||||
* Add more options to Build #84 (@jtpio)
|
||||
- Release 0.9.2
|
||||
* Clean up handling of version info #82 (@jtpio)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 16 09:44:44 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 0.9.1
|
||||
* Do not run ensure_targets in develop mode #79 (@jtpio)
|
||||
- Release 0.9.0
|
||||
* Add ability to ensure targets #77 (@jtpio)
|
||||
* Add version info helper function #76 (@afshin)
|
||||
- Release 0.8.3
|
||||
* Fixes handling of backend #75 (@jtpio)
|
||||
- Release 0.8.2
|
||||
* Fix invalid command build #72 (@xmnlab)
|
||||
- Release 0.8.1
|
||||
* Fix Usage of install_npm #71 (@afshin)
|
||||
- Release 0.8.0
|
||||
* Proposal: Improved integration with setuptools #69 (@afshin)
|
||||
* Update changelog #68 (@blink1073)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 1 10:12:52 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -16,22 +16,35 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-jupyter-packaging
|
||||
Version: 0.7.12
|
||||
Version: 0.10.3
|
||||
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
|
||||
Source: https://files.pythonhosted.org/packages/source/j/jupyter-packaging/jupyter_packaging-%{version}.tar.gz
|
||||
BuildRequires: %{python_module deprecation}
|
||||
BuildRequires: %{python_module packaging}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module setuptools >= 46.4.0}
|
||||
BuildRequires: %{python_module tomlkit}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
Requires: python-deprecation
|
||||
Requires: python-packaging
|
||||
Requires: python-setuptools >= 46.4.0
|
||||
Requires: python-tomlkit
|
||||
Requires: python-wheel
|
||||
Provides: python-jupyter_packaging = %{version}-%{release}
|
||||
# SECTON test requirements
|
||||
BuildRequires: %{python_module build}
|
||||
BuildRequires: %{python_module pytest-mock}
|
||||
BuildRequires: %{python_module pytest}
|
||||
#/SECTION
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -39,7 +52,7 @@ This package contains utilities for making Python packages
|
||||
with and without accompanying JavaScript packages
|
||||
|
||||
%prep
|
||||
%setup -q -n jupyter-packaging-%{version}
|
||||
%setup -q -n jupyter_packaging-%{version}
|
||||
sed -i 's/\r$//' README.md
|
||||
sed -i -e '/^#!\//, 1d' jupyter_packaging/*.py
|
||||
|
||||
@ -51,12 +64,19 @@ sed -i -e '/^#!\//, 1d' jupyter_packaging/*.py
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# test_install and test_datafiles_install call pip which wants to check the online cache
|
||||
%pytest -k "not (test_install or test_datafiles_install)"
|
||||
# tests call pip which wants to check the online cache
|
||||
donttest="test_install or test_datafiles_install"
|
||||
donttest+=" or test_build_api and (test_build_package or test_deprecated_metadata)"
|
||||
# want to write into system sitelib
|
||||
donttest+=" or test_create_cmdclass"
|
||||
# calls python (=python2)
|
||||
donttest+=" or test_run"
|
||||
%pytest -k "not ($donttest)"
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/jupyter_packaging
|
||||
%{python_sitelib}/jupyter_packaging-%{version}*-info
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user