commit 8021fa32ea65deba144bbdf430cc6615d79c90319a7d77fc0bdd3dff3218ae4a Author: Sascha Peilicke Date: Fri Aug 9 08:28:13 2013 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-zc.lockfile.changes b/python-zc.lockfile.changes new file mode 100644 index 0000000..856bc6b --- /dev/null +++ b/python-zc.lockfile.changes @@ -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 + diff --git a/python-zc.lockfile.spec b/python-zc.lockfile.spec new file mode 100644 index 0000000..a5277ad --- /dev/null +++ b/python-zc.lockfile.spec @@ -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 diff --git a/zc.lockfile-1.1.0.zip b/zc.lockfile-1.1.0.zip new file mode 100644 index 0000000..5e5947b --- /dev/null +++ b/zc.lockfile-1.1.0.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1489ff1c4f655420793c46af5b427537e62435b02e83e92d7f74a73ed8a56198 +size 16645