debian/0000775000000000000000000000000011757267672007214 5ustar debian/source/0000775000000000000000000000000011757267671010513 5ustar debian/source/format0000664000000000000000000000001411624470333011701 0ustar 3.0 (quilt) debian/rules0000775000000000000000000000161611757233537010271 0ustar #!/usr/bin/make -f PYTHON2=$(shell pyversions -vr) PYTHON3=$(shell py3versions -vr) # multiprocessing.synchronize.Lock() does not work inside pbuilder DEB_BUILD_OPTIONS=nocheck %: dh $@ --with python2,python3,sphinxdoc ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) test-python%: python$* setup.py test -vv override_dh_auto_test: $(PYTHON2:%=test-python%) $(PYTHON3:%=test-python%) endif build-python%: python$* setup.py build override_dh_auto_build: $(PYTHON3:%=build-python%) dh_auto_build install-python%: python$* setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb override_dh_auto_install: $(PYTHON3:%=install-python%) dh_auto_install override_dh_installchangelogs: dh_installchangelogs -k flufl/lock/NEWS.rst override_dh_installdocs: python setup.py build_sphinx dh_installdocs build/sphinx/html override_dh_auto_clean: dh_auto_clean rm -rf build rm -rf *.egg-info debian/python-flufl.lock.install0000664000000000000000000000002111706073242014131 0ustar usr/lib/python2* debian/python-flufl.lock.pyremove0000664000000000000000000000013611706274646014353 0ustar flufl/lock/conf.py flufl/lock/README.rst flufl/lock/NEWS.rst flufl.lock*.egg-info/SOURCES.txt debian/changelog0000664000000000000000000000320311757267611011055 0ustar flufl.lock (2.2.1-2) unstable; urgency=low * debian/control: Fix Depends line so that python3-flufl.lock depends on ${python3:Depends}. (Closes: #674222) -- Barry Warsaw Wed, 23 May 2012 19:14:41 -0400 flufl.lock (2.2.1-1) unstable; urgency=low * New upstream release. -- Barry Warsaw Wed, 23 May 2012 15:18:24 -0400 flufl.lock (2.2-2) unstable; urgency=low * Team upload [ Barry Warsaw ] * debian/rules: - Build and install Python 3 versions via % expansion targets instead of for loops in override targets. - Remove test target debugging output when DEB_BUILD_OPTIONS=nocheck. - Remove questionable workaround for bug 618367. - Better override_dh_auto_clean rule so that the package can be built twice in a row. * debian/control: - Rename flufl.lock-docs to the more usual flufl.lock-doc without adding transitional packages since it has never been in a stable release. - Bump standards-version to 3.9.3 without further changes. [ Scott Kitterman ] * Add DM-Upload-Allowed -- Scott Kitterman Tue, 27 Mar 2012 14:13:35 -0400 flufl.lock (2.2-1) unstable; urgency=low * New upstream release. * Build for Python 3, and split out common documentation package. * compat level 8 * Disable test suite for now, as a workaround for multiprocessing not working fully in a pbuilder environment. -- Barry Warsaw Fri, 20 Jan 2012 09:20:10 -0500 flufl.lock (2.1.1-1) unstable; urgency=low * Initial release (closes: #638859) -- Barry Warsaw Mon, 22 Aug 2011 15:10:33 -0400 debian/python-flufl.lock.links0000664000000000000000000000012211624524525013611 0ustar usr/share/doc/python-flufl.lock/html/_sources usr/share/doc/python-flufl.lock/rst debian/copyright0000664000000000000000000000230611636637351011137 0ustar This work was packaged for Debian by: Barry A. Warsaw on 2011-08-22 It was downloaded from: Upstream Author: Barry Warsaw Copyright: License: This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this package. If not, see . On Debian systems, the complete text of the GNU Lesser General Public License can be found in "/usr/share/common-licenses/LGPL-3". The Debian packaging is: Copyright (C) 2011 Barry A. Warsaw and is licensed under the LGPL version 3, see "/usr/share/common-licenses/LGPL-3". debian/control0000664000000000000000000000364611757266442010622 0ustar Source: flufl.lock Maintainer: Barry Warsaw Uploaders: Debian Python Modules Team Homepage: http://launchpad.net/flufl.lock Section: python X-Python-Version: >= 2.6 X-Python3-Version: >= 3.2 Priority: optional Build-Depends: python-all (>= 2.6.6-3~), python-setuptools, python-pkg-resources, python-sphinx (>= 1.0.7+dfsg-1~), debhelper (>= 8), python3-all, python3-setuptools, python3-pkg-resources Standards-Version: 3.9.3 Vcs-Svn: svn://svn.debian.org/python-modules/packages/flufl.lock/trunk/ Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/flufl.lock/trunk/ DM-Upload-Allowed: yes Package: python-flufl.lock-doc Architecture: all Section: doc Breaks: python-flufl.lock-docs Replaces: python-flufl.lock-docs Depends: ${sphinxdoc:Depends}, ${misc:Depends} Description: NFS-safe file-based lock with timeouts (common documentation) This package provides an NFS-safe file-based locking algorithm influenced by the GNU/Linux open(2) manpage, under the description of the O_EXCL option. . This is the common documentation package. Package: python-flufl.lock Architecture: all Depends: ${python:Depends}, ${misc:Depends} Suggests: python-flufl.lock-doc Description: NFS-safe file-based lock with timeouts (Python 2) This package provides an NFS-safe file-based locking algorithm influenced by the GNU/Linux open(2) manpage, under the description of the O_EXCL option. Package: python3-flufl.lock Architecture: all Depends: ${python3:Depends}, ${misc:Depends} Suggests: python-flufl.lock-doc Description: NFS-safe file-based lock with timeouts (Python 3) This package provides an NFS-safe file-based locking algorithm influenced by the GNU/Linux open(2) manpage, under the description of the O_EXCL option. . This is the Python 3 version of the package. debian/python3-flufl.lock.install0000664000000000000000000000002011706073240014211 0ustar usr/lib/python3 debian/patches/0000775000000000000000000000000011757267671010642 5ustar debian/patches/series0000664000000000000000000000001411710372163012030 0ustar setup.patch debian/patches/setup.patch0000664000000000000000000000124111710372216012776 0ustar Description: Comment out distribute_setup since this could lead to the downloading of distribute from PyPI. Author: Barry Warsaw Forwarded: not-needed === modified file 'setup.py' --- a/setup.py 2012-01-20 02:11:22 +0000 +++ b/setup.py 2012-01-27 00:47:41 +0000 @@ -15,8 +15,8 @@ # You should have received a copy of the GNU Lesser General Public License # along with flufl.lock. If not, see . -import distribute_setup -distribute_setup.use_setuptools() +## import distribute_setup +## distribute_setup.use_setuptools() from setup_helpers import ( description, get_version, long_description, require_python) debian/watch0000664000000000000000000000012511624470333010222 0ustar version=3 http://pypi.python.org/packages/source/f/flufl.lock/flufl.lock-(.*).tar.gz debian/compat0000664000000000000000000000000211706274110010365 0ustar 8 debian/README.source0000664000000000000000000000116011636637351011360 0ustar Building flufl.lock requires /dev/shm to be bind-mounted in the chroot, otherwise the tests will fail. This is because Python's multiprocessing module is used in the test suite (automatically run during the build), which requires /dev/shm. If you use pbuilder, add this argument to your command line: --bindmounts "/dev/shm /dev/shm" If you use sbuild, add these lines to your /etc/schroot/default/fstab file: /dev/shm /dev/shm none rw,bind 0 0 /run/shm /run/shm none rw,bind 0 0 multiprocessing is only used in the test suite; it is not required for normal flufl.lock usage.