17
0

Accepting request 856084 from home:bnavigator:branches:devel:languages:python:jupyter

- Provide the old jupyter package name only for the primary
  Python3 interpreter -- gh#openSUSE/python-rpm-macros#66

OBS-URL: https://build.opensuse.org/request/show/856084
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-threevis?expand=0&rev=11
This commit is contained in:
2020-12-16 10:16:29 +00:00
committed by Git OBS Bridge
parent 9aaa31a026
commit 8b8962e6b7
2 changed files with 14 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-threevis
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,8 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
@@ -20,14 +21,14 @@
Name: python-threevis
Version: 0.1.0.post25
Release: 0
License: BSD-3-Clause
Summary: Plugin for visualizing meshes, point clouds, and other geometry in a Jupyter Notebook
Url: https://graphics.rwth-aachen.de:9000/threevis/threevis
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://graphics.rwth-aachen.de:9000/threevis/threevis
Source: https://files.pythonhosted.org/packages/source/t/threevis/threevis-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module openmesh}
@@ -37,7 +38,7 @@ BuildRequires: fdupes
Requires: python-numpy
Requires: python-openmesh
Requires: python-pythreejs >= 1.0.0
%ifpython3
%if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3"
Provides: jupyter-threevis = %{version}
%endif
BuildArch: noarch