14
0

Accepting request 186400 from home:frispete:python

don't package PKG-INFO

OBS-URL: https://build.opensuse.org/request/show/186400
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zc.lockfile?expand=0&rev=1
This commit is contained in:
Sascha Peilicke
2013-08-09 08:28:13 +00:00
committed by Git OBS Bridge
commit 8021fa32ea
5 changed files with 129 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,30 @@
-------------------------------------------------------------------
Sat Aug 3 17:36:14 UTC 2013 - hpj@urpla.net
- Update to 1.1.0 version:
* Added Trove classifiers and made setup.py zest.releaser friendly.
* Added Python 3.2, 3.3 and PyPy 1.9 support.
* Removed Python 2.4 and Python 2.5 support.
- renamed to python-zc.lockfile
- enable testing
- improve doc and packaging
-------------------------------------------------------------------
Mon Jan 14 14:45:30 UTC 2013 - p.drouand@gmail.com
- Update to 1.0.2 version:
* Fixed: the fix included in 1.0.1 caused multiple pids to be written
to the lock file
- Clean the specfile by removing redundant and useless tags
-------------------------------------------------------------------
Wed Nov 10 12:49:38 UTC 2010 - coolo@novell.com
- fix file list
-------------------------------------------------------------------
Wed Jun 2 14:14:44 UTC 2010 - hvogel@novell.com
- Initial Package, Version 1.0.0

72
python-zc.lockfile.spec Normal file
View File

@@ -0,0 +1,72 @@
#
# spec file for package python-zc.lockfile
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-zc.lockfile
Version: 1.1.0
Release: 0
License: ZPL-2.1
Summary: Basic inter-process locks
Url: http://pypi.python.org/pypi/zc.lockfile
Group: Development/Libraries/Python
Source: https://pypi.python.org/packages/source/z/zc.lockfile/zc.lockfile-%{version}.zip
BuildRequires: python-setuptools
BuildRequires: unzip
# Testing requirements:
BuildRequires: python-zope.testing
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: python-zc-lockfile = %{version}
Obsoletes: python-zc-lockfile < %{version}
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
BuildRequires: python
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
%description
The zc.lockfile package provides a basic portable implementation of
interprocess locks using lock files. The purpose if not specifically to lock
files, but to simply provide locks with an implementation based on file-locking
primitives. Of course, these locks could be used to mediate access to other
files. For example, the ZODB file storage implementation uses file locks to
mediate access to file-storage database files. The database files and lock file
files are separate files.
%prep
%setup -q -n zc.lockfile-%{version}
%build
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
# concatenate both README.txt
cat %{buildroot}%{python_sitelib}/zc/lockfile/README.txt >> README.txt
rm %{buildroot}%{python_sitelib}/zc/lockfile/README.txt
%check
python setup.py test
%files
%defattr(-,root,root)
%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt
%{python_sitelib}/*
%changelog

3
zc.lockfile-1.1.0.zip Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1489ff1c4f655420793c46af5b427537e62435b02e83e92d7f74a73ed8a56198
size 16645