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

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

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

# Unpackaged files in buildroot should terminate build
%define _unpackaged_files_terminate_build 1

#%%def_disable check


%define modulename Charon
%define srcname lib%modulename

Name:    python3-module-%modulename
Version: 4.10.2
Release: alt2

Summary: File metadata and streaming library
License: LGPL-3.0
Group:   Development/Python3
URL:     https://github.com/Ultimaker/%srcname

BuildArch: noarch

# Source-url: %url/archive/%version/%srcname-%version.tar.gz

Source: %srcname-%version.tar

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-dev
BuildRequires: python3-module-wheel
BuildRequires: python3-module-setuptools

%if_disabled check
%else
BuildRequires: pytest3
BuildRequires: python3-module-pytest-timeout
%endif

%add_python3_req_skip FileService RequestQueue

%description
%summary

%prep
%setup -n %srcname-%version

%build
%pyproject_build

%install
%pyproject_install

%check
export PYTHONPATH=%buildroot/%python3_sitelibdir/
pytest3 -v

%files
%python3_sitelibdir/%modulename/
%python3_sitelibdir/%modulename-1.0.dist-info
%doc *.md

%changelog

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

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