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

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

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

%define _unpackaged_files_terminate_build 1
%define pypi_name Deprecated
%define mod_name deprecated

%def_with check

Name: python3-module-%mod_name
Version: 1.2.13
Release: alt1

Summary: Decorators to deprecate old python classes, functions or methods
License: MIT
Group: Development/Python3
# Source-git: https://github.com/tantale/deprecated.git
Url: https://pypi.org/project/Deprecated/

Source: %name-%version.tar
Patch0: %name-%version-alt.patch

BuildRequires(pre): rpm-build-python3

# build backend and its deps

BuildRequires: python3(setuptools)
BuildRequires: python3(wheel)

%if_with check
# install_requires
BuildRequires: python3(wrapt)

BuildRequires: python3(pytest)
%endif

BuildArch: noarch

# PyPI's name begins with capital letter

%py3_provides Deprecated

%description
Python  at deprecated decorator to deprecate old python classes, functions or
methods.

%prep
%setup
%autopatch -p1

%build
%pyproject_build

%install
%pyproject_install

%check
%tox_check_pyproject

%files
%doc README.md CHANGELOG.rst
%python3_sitelibdir/deprecated/
%python3_sitelibdir/%pypi_name-%version.dist-info/

%changelog

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

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