Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37699998
en ru br
ALT Linux repos
S:0.3-alt1

Group :: Development/Python3
RPM: python3-module-lazy_loader

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define modname lazy_loader
%def_enable check

Name: python3-module-%modname
Version: 0.3
Release: alt1

Summary: lazy_loader makes it easy to load subpackages and functions on demand
Group: Development/Python3
License: BSD-3-Clause
Url: https://pypi.org/project/lazy_loader

Vcs: https://github.com/scientific-python/lazy_loader.git
Source: https://pypi.io/packages/source/l/%modname/%modname-%version.tar.gz

BuildArch: noarch

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-wheel python3-module-flit-core
%{?_enable_check:BuildRequires: python3(pytest-cov) python3(pre_commit)}

%description
%summary
See also https://scientific-python.org/specs/spec-0001/

%prep
%setup -n %modname-%version

%build
%pyproject_build

%install
%pyproject_install

%check
export PYTHONPATH=%buildroot%python3_sitelibdir_noarch
/usr/bin/py.test3

%files
%python3_sitelibdir_noarch/*
%doc README* CHANGELOG*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin