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

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

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

# This spec is backported to ALTLinux 5.1 automatically by rpmbph script. Do not edit it.
#
%define oname lockfile

Name: python-module-%oname
Version: 0.8
Release: alt0.M51.1

Summary: A platform-independent file locking module

Group: Development/Python
License: MIT
Url: http://pypi.python.org/pypi/%oname

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: http://smontanaro.dyndns.org/python/%oname-%version.tar

BuildArch: noarch

BuildRequires: python-devel

%description
The lockfile module exports a FileLock class which provides a simple API for
locking files. Unlike the Windows msvcrt.locking function, the Unix
fcntl.flock, fcntl.lockf and the deprecated posixfile module, the API is
identical across both Unix (including Linux and Mac) and Windows platforms. The
lock mechanism relies on the atomic nature of the link (on Unix) and mkdir (on
Windows) system calls.

%prep
%setup -n %oname-%version

%build
%python_build

%install
%python_install

%files
%doc ACKS LICENSE README RELEASE-NOTES doc/
%python_sitelibdir/%oname.py*
%python_sitelibdir/%oname-%version-*.egg-info

%changelog

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

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