Group :: Development/Python3
RPM: python3-module-jupyter_core
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
%define oname jupyter_core
%def_with check
Name: python3-module-%oname
Version: 5.3.1
Release: alt1
Summary: Jupyter core package
License: BSD-3-Clause
Group: Development/Python3
Url: https://pypi.org/project/jupyter-core
Vcs: https://github.com/jupyter/jupyter_core.git
BuildArch: noarch
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-hatchling
%if_with check
BuildRequires: python3-module-pytest
BuildRequires: python3-module-platformdirs
BuildRequires: python3-module-traitlets
%endif
%description
Jupyter core package. A base package on which Jupyter projects rely.
%package tests
Summary: Tests for %oname
Group: Development/Python3
Requires: %name = %EVR
%description tests
Jupyter core package. A base package on which Jupyter projects rely.
This package contains tests for %oname.
%prep
%setup
%build
%pyproject_build
%install
%pyproject_install
%check
export LC_ALL=en_US.UTF-8
%pyproject_run_pytest -v
%files
%doc *.md
%_bindir/*
%python3_sitelibdir/jupyter.py
%python3_sitelibdir/__pycache__/jupyter.*
%python3_sitelibdir/%oname
%python3_sitelibdir/%oname-%version.dist-info
%exclude %python3_sitelibdir/%oname/tests
%files tests
%python3_sitelibdir/%oname/tests
%changelog
…
Todas as alterações você pod ver aqui
%define oname jupyter_core
%def_with check
Name: python3-module-%oname
Version: 5.3.1
Release: alt1
Summary: Jupyter core package
License: BSD-3-Clause
Group: Development/Python3
Url: https://pypi.org/project/jupyter-core
Vcs: https://github.com/jupyter/jupyter_core.git
BuildArch: noarch
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-hatchling
%if_with check
BuildRequires: python3-module-pytest
BuildRequires: python3-module-platformdirs
BuildRequires: python3-module-traitlets
%endif
%description
Jupyter core package. A base package on which Jupyter projects rely.
%package tests
Summary: Tests for %oname
Group: Development/Python3
Requires: %name = %EVR
%description tests
Jupyter core package. A base package on which Jupyter projects rely.
This package contains tests for %oname.
%prep
%setup
%build
%pyproject_build
%install
%pyproject_install
%check
export LC_ALL=en_US.UTF-8
%pyproject_run_pytest -v
%files
%doc *.md
%_bindir/*
%python3_sitelibdir/jupyter.py
%python3_sitelibdir/__pycache__/jupyter.*
%python3_sitelibdir/%oname
%python3_sitelibdir/%oname-%version.dist-info
%exclude %python3_sitelibdir/%oname/tests
%files tests
%python3_sitelibdir/%oname/tests
%changelog
…
Todas as alterações você pod ver aqui