Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37840281
en ru br
Репозитории ALT
S:0.1.0.post0-alt3
www.altlinux.org/Changes

Группа :: Разработка/Python
Пакет: python3-module-pytz-deprecation-shim

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

%define _unpackaged_files_terminate_build 1
%define pypi_name pytz-deprecation-shim
%define mod_name pytz_deprecation_shim

%def_with check

Name: python3-module-%pypi_name
Version: 0.1.0.post0
Release: alt2

Summary: Shims to help you safely remove pytz
License: Apache-2.0
Group: Development/Python
Url: https://pypi.org/project/pytz-deprecation-shim/
VCS: https://github.com/pganssle/pytz-deprecation-shim
BuildArch: noarch
Source: %name-%version.tar
Patch0: %name-%version-alt.patch
Requires: tzdata

BuildRequires: rpm-build-python3
# build backend and its deps
BuildRequires: python3(setuptools)
BuildRequires: python3(wheel)

%if_with check
BuildRequires: python3-module-pytest
BuildRequires: python3-module-hypothesis
BuildRequires: tzdata
%endif

%description
%summary

%prep
%setup
%patch0 -p1

%build
%pyproject_build

%install
%pyproject_install

%check
%pyproject_run_pytest tests

%files
%doc README.rst CHANGELOG.rst
%python3_sitelibdir/%mod_name/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}/

%changelog

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

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