rpms/python-lockfile/devel import.log, NONE, 1.1 python-lockfile.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Silas Sewell silas at fedoraproject.org
Fri Jul 24 23:08:11 UTC 2009


Author: silas

Update of /cvs/pkgs/rpms/python-lockfile/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31082/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log python-lockfile.spec 
Log Message:
* Thu Jul 23 2009 Silas Sewell <silas at sewell.ch> - 0.8-1
- Initial build.



--- NEW FILE import.log ---
python-lockfile-0_8-1_fc12:HEAD:python-lockfile-0.8-1.fc12.src.rpm:1248476895


--- NEW FILE python-lockfile.spec ---
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

%define upstream_name lockfile

Name:           python-%{upstream_name}
Version:        0.8
Release:        1%{?dist}
Summary:        A platform-independent file locking module

Group:          Development/Languages
License:        MIT
URL:            http://pypi.python.org/pypi/%{upstream_name}
Source0:        http://smontanaro.dyndns.org/python/%{upstream_name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  python-devel
BuildRequires:  python-setuptools

%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 -q -n %{upstream_name}-%{version}

%build
%{__python} setup.py build

%install
rm -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc ACKS LICENSE MANIFEST PKG-INFO README RELEASE-NOTES doc/
%{python_sitelib}/%{upstream_name}.py*
%{python_sitelib}/%{upstream_name}-%{version}-*.egg-info

%changelog
* Thu Jul 23 2009 Silas Sewell <silas at sewell.ch> - 0.8-1
- Initial build.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-lockfile/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	24 Jul 2009 19:23:41 -0000	1.1
+++ .cvsignore	24 Jul 2009 23:08:11 -0000	1.2
@@ -0,0 +1 @@
+lockfile-0.8.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-lockfile/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	24 Jul 2009 19:23:41 -0000	1.1
+++ sources	24 Jul 2009 23:08:11 -0000	1.2
@@ -0,0 +1 @@
+2d515e19eb6f69d6ed711cbbafdec7ef  lockfile-0.8.tar.gz




More information about the fedora-extras-commits mailing list