Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37845120
en ru br
Репозитории ALT

Группа :: Development/Python3
Пакет: python3-module-hatch-jupyter-builder

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define pypi_name hatch-jupyter-builder

%def_with check

Name:    python3-module-%pypi_name
Version: 0.8.3
Release: alt1

Summary: A hatch plugin to help build Jupyter packages
License: BSD-3-Clause
Group:   Development/Python3
URL: https://pypi.org/project/hatch-jupyter-builder/
VCS: https://github.com/jupyterlab/hatch-jupyter-builder

BuildArch: noarch

Source: %pypi_name-%version.tar
Patch: hatch-test-nonisolated.patch

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-hatchling
%if_with check
BuildRequires: python3-module-pytest
BuildRequires: python3-module-pytest-mock
BuildRequires: python3-module-build
BuildRequires: python3-module-pip
%endif

%description
This provides a build hook plugin for Hatch that adds a build step for use
with Jupyter packages.

%prep
%setup -n %pypi_name-%version
%patch -p0
sed -i 's/--color=yes//' pyproject.toml

%build
%pyproject_build

%install
%pyproject_install

%check
export PYTHONPATH=%buildroot%python3_sitelibdir
%pyproject_run_pytest

%files
%doc *.md
%_bindir/%pypi_name
%python3_sitelibdir/hatch_jupyter_builder/
%python3_sitelibdir/%{pyproject_distinfo hatch_jupyter_builder}

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin