Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37047750
en ru br
Репозитории ALT
S:2021.1-alt2
5.1: 2009j-alt4
4.1: 2006p-alt1.1
4.0: 2006p-alt1
www.altlinux.org/Changes

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

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

%define version 2006p
%define release alt1
%setup_python_module pytz

Summary: World timezone definitions, modern and historical
Name: %packagename
Version: %version
Release: %release
Source0: %modulename-%version.tar.bz2
License: MIT
Group: Development/Python
Prefix: %prefix
BuildArch: noarch
Vendor: Stuart Bishop <stuart at stuartbishop.net>
Url: http://pytz.sourceforge.net
Packager: Python Development Team <python at packages.altlinux.org>

%description
World modern and historical timezone definitions, implemented as
Python tzinfo subclasses suitable for use my Python's datetime module.
Timezone information was provided by the Olson Timezone database.
Using these timezone definitions resolves all ambiguous daylight savings
time transitions. All DST trantions have been tested against the reference
implementation of zdump found in the Olson database to confirm even
the obscure historical cases work. This test suite is available seperatly
as it is rather large (75558 comparisisons), as is the program used
to generate this package.

The Olson Timezone database is updated roughly four times per year,
usually with obscure and generally unnoticable changes. These files
will be regenerated and rereleased soon after updated editions of the
Olson database are made available.

%prep
%setup  -q -n %modulename-%version

%build
%__python setup.py build

%install
%__python setup.py install --root=%buildroot --optimize=2 --record=INSTALLED_FILES

%files -f INSTALLED_FILES

%changelog

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

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