debian/0000755000000000000000000000000012313576643007200 5ustar debian/docs0000644000000000000000000000002511754774504010054 0ustar NEWS README doc/html debian/copyright0000644000000000000000000000244311754774504011142 0ustar This package was debianized by: Iustin Pop on Tue, 16 Sep 2003 21:08:30 +0300 It was downloaded from: http://pyxattr.sourceforge.net/ Upstream Author: Iustin Pop Copyright: Copyright (C) 2003-2008 Iustin Pop 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 2 of the License, or (at your option) any later version. 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, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL'. The Debian packaging is: Copyright (C) 2003-2009 Iustin Pop and is licensed under the GPL version 3, see `/usr/share/common-licenses/GPL-3'. debian/changelog0000644000000000000000000001017412313576643011055 0ustar python-pyxattr (0.5.1-1.1build4) trusty; urgency=medium * No-change rebuild to drop Python 3.3 support. -- Matthias Klose Sun, 23 Mar 2014 15:28:35 +0000 python-pyxattr (0.5.1-1.1build3) trusty; urgency=medium * Rebuild for python3.4 as a supported python version. -- Matthias Klose Sat, 04 Jan 2014 18:32:49 +0000 python-pyxattr (0.5.1-1.1build2) raring; urgency=low * Rebuild to drop python3.2 provides. -- Matthias Klose Wed, 07 Nov 2012 23:00:29 +0000 python-pyxattr (0.5.1-1.1build1) raring; urgency=low * No-change upload to build for python3.3. -- Matthias Klose Mon, 22 Oct 2012 17:27:45 +0200 python-pyxattr (0.5.1-1.1) unstable; urgency=low * Non-maintainer upload. * Drop python3-sphinx as an alternate build-depend to python-sphinx to fix FTBFS (Closes: #680859) - The package only builds and installs html documentation for the python version anyway, so python3-sphinx as a build-dep is clearly wrong -- Scott Kitterman Mon, 16 Jul 2012 13:29:41 -0400 python-pyxattr (0.5.1-1) unstable; urgency=low * New upstream bug-fix release, fixing reference leaks and potential NULL pointer dereferences in low memory cases * Add python 3 packages, based on patch from Didier 'OdyX' Raboud (Closes: #606898) -- Iustin Pop Wed, 16 May 2012 21:00:12 +0200 python-pyxattr (0.5.0-3) unstable; urgency=low * Remove old Replaces/Breaks -- Iustin Pop Tue, 17 Aug 2010 23:06:32 +0200 python-pyxattr (0.5.0-2) unstable; urgency=low * Apply a modified version of the Ubuntu patch for enabling debug packages, thanks Angel Abad (Closes: #591634). * Standards version 3.9.1 (use Breaks instead of Conflicts). -- Iustin Pop Thu, 05 Aug 2010 13:50:26 -0400 python-pyxattr (0.5.0-1) unstable; urgency=low * New upstream version * Standards version 3.8.4 (no changes needed) * Switch to dpkg-source 3.0 (quilt) format * Added doc-base control file for the shipped documentation -- Iustin Pop Mon, 01 Mar 2010 21:29:00 +0100 python-pyxattr (0.4.0-2) unstable; urgency=low * Fix "FTBFS on GNU/kFreeBSD" (added a modified form of the submitted patch, thanks Cyril Brulebois) (Closes: #540979) * Update standards version (no changes needed) -- Iustin Pop Wed, 12 Aug 2009 22:13:13 +0200 python-pyxattr (0.4.0-1) unstable; urgency=low * New Upstream Version, with license changed to LGPL * Update to Policy 3.8.0 * Update the rules file for newer pysupport version * Update debhelper compat level to 7 * Added watch file -- Iustin Pop Mon, 30 Jun 2008 23:26:01 +0200 python-pyxattr (0.2.2-2) unstable; urgency=low * Upgrade standards version to 3.7.3 (no changes required) * Fix other lintian warnings -- Iustin Pop Tue, 26 Feb 2008 22:38:38 +0100 python-pyxattr (0.2.2-1) unstable; urgency=low * New upstream release (Closes: #431112) * Acknowledge NMUs (thanks Pierre!) (Closes: #373348, #368616) -- Iustin Pop Mon, 16 Jul 2007 20:58:34 +0200 python-pyxattr (0.2.1-1.1) unstable; urgency=low * Non-maintainer upload. * Update package to the last python policy (Closes: #373348). * Package is now arch:any (Closes: #368616). -- Pierre Habouzit Sun, 2 Jul 2006 15:44:23 +0200 python-pyxattr (0.2.1-1) unstable; urgency=low * New upstream release (fixes a symlink handling bug and a possible memory leak) * Stop building python 2.2 packages (closes: #351150) * Start building python 2.4 packages * Updated standards version to 3.6.2 (no changes) * Update FSF address in copyright file -- Iustin Pop Sat, 11 Feb 2006 23:28:43 +0200 python-pyxattr (0.2-2) unstable; urgency=low * Fixed missing dependency on python (closes: #258484) * Updates to standards version 3.6.1 -- Iustin Pop Sun, 11 Jul 2004 02:16:09 +0300 python-pyxattr (0.2-1) unstable; urgency=low * Initial Release. -- Iustin Pop Tue, 16 Sep 2003 01:27:31 +0300 debian/doc-base0000644000000000000000000000040011754774504010576 0ustar Document: python-pyxattr-manual Title: pyxattr Manual Abstract: Documents the API of the Python pyxattr library Section: Programming/Python Format: HTML Index: /usr/share/doc/python-pyxattr/html/index.html Files: /usr/share/doc/python-pyxattr/html/*.html debian/compat0000644000000000000000000000000211754774504010402 0ustar 7 debian/patches/0000755000000000000000000000000011754774504010633 5ustar debian/patches/fix-enodata.patch0000644000000000000000000000137111754774504014055 0ustar Fix building on systems which don't have ENODATA This patch (a modified form of the original patch from Cyril Brulebois ) fixed building on systems which don't have ENODATA (e.g. GNU/kFreeBSD). Upstream is aware of it. Iustin Pop, Wed, 12 Aug 2009 21:58:36 +0200 --- a/xattr.c +++ b/xattr.c @@ -444,7 +444,11 @@ } nalloc = nval; continue; - } else if(errno == ENODATA || errno == ENOATTR) { + } else if( +#ifdef ENODATA + errno == ENODATA || +#endif + errno == ENOATTR) { /* this attribute has gone away since we queried the attribute list */ missing = 1; debian/patches/series0000644000000000000000000000002211754774504012042 0ustar fix-enodata.patch debian/control0000644000000000000000000000511112001047576010571 0ustar Source: python-pyxattr Section: python Priority: optional Maintainer: Iustin Pop Build-Depends: debhelper (>= 7), python (>= 2.6.6-3~), python-all-dev (>= 2.6.6-3~), python-all-dbg, python3-all, python3-all-dev, python3-all-dbg, libattr1-dev, python-setuptools, python3-setuptools, python-sphinx (>= 1.0.7+dfsg) Standards-Version: 3.9.3 Homepage: http://pyxattr.k1024.org/ Vcs-Browser: http://git.k1024.org/debian-pyxattr.git Vcs-Git: git://git.k1024.org/debian-pyxattr.git X-Python-Version: >= 2.4 X-Python3-Version: >= 3.0 Package: python-pyxattr Architecture: any Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${sphinxdoc:Depends} Provides: ${python:Provides} Suggests: python-pyxattr-dbg Description: module for manipulating filesystem extended attributes pyxattr is a Python interface to the libattr library. It allows manipulation of the filesystem extended attributes present in some operating systems (GNU/Linux included). Package: python-pyxattr-dbg Section: debug Priority: extra Architecture: any Depends: python-pyxattr (= ${binary:Version}), python-dbg, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends} Provides: ${python:Provides} Description: module for manipulating filesystem extended attributes (debug extension) pyxattr is a Python interface to the libattr library. It allows manipulation of the filesystem extended attributes present in some operating systems (GNU/Linux included). . This package contains the extension built for the Python debug interpreter. Package: python3-pyxattr Architecture: any Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${sphinxdoc:Depends} Provides: ${python3:Provides} Suggests: python3-pyxattr-dbg Description: module for manipulating filesystem extended attributes (Python3) pyxattr is a Python interface to the libattr library. It allows manipulation of the filesystem extended attributes present in some operating systems (GNU/Linux included). . This package contains the extension built for the Python3 interpreter. Package: python3-pyxattr-dbg Section: debug Priority: extra Architecture: any Depends: python3-pyxattr (= ${binary:Version}), python3-dbg, ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends} Provides: ${python3:Provides} Description: module for manipulating filesystem extended attributes (Python3 debug version) pyxattr is a Python interface to the libattr library. It allows manipulation of the filesystem extended attributes present in some operating systems (GNU/Linux included). . This package contains the extension built for the Python3 debug interpreter. debian/rules0000755000000000000000000000454611754774504010275 0ustar #!/usr/bin/make -f # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. # # Modified to make a template file for a multi-binary package with separated # build-arch and build-indep targets by Bill Allombert 2001 # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # This has to be exported to make some magic below work. export DH_OPTIONS PYVERS := $(shell pyversions -vr) PY3VERS := $(shell py3versions -vr) PKGROOT=$(CURDIR)/debian/python-pyxattr DBGROOT=$(CURDIR)/debian/python-pyxattr-dbg PKG3ROOT=$(CURDIR)/debian/python3-pyxattr DBG3ROOT=$(CURDIR)/debian/python3-pyxattr-dbg build: build-arch build-indep touch $@ build-arch: $(PYVERS:%=build-python%) $(PY3VERS:%=build-python%) $(MAKE) doc touch $@ build-python%: python$* setup.py build python$*-dbg setup.py build touch $@ build-indep: touch $@ clean: dh_testdir dh_testroot rm -f build-indep build-arch $(MAKE) clean rm -f $(PYVERS:%=build-python%) rm -f $(PY3VERS:%=build-python%) rm -rf pxattr.egg-info dh_clean install: build $(PYVERS:%=install-python%) $(PY3VERS:%=install-python%) find $(DBGROOT) ! -type d ! -name '*_d.so' | xargs rm -f find $(DBGROOT) -depth -empty -print0 | xargs -r0 rmdir install-python2%: python2$* setup.py install --root $(PKGROOT) --install-layout=deb python2$*-dbg setup.py install --root $(DBGROOT) --install-layout=deb install-python3%: python3$* setup.py install --root $(PKG3ROOT) --install-layout=deb python3$*-dbg setup.py install --root $(DBG3ROOT) --install-layout=deb # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installchangelogs dh_installdocs dh_sphinxdoc dh_strip -ppython-pyxattr --dbg-package=python-pyxattr-dbg dh_strip -ppython3-pyxattr --dbg-package=python3-pyxattr-dbg rm -rf $(DBGROOT)/usr/share/doc/python-pyxattr-dbg ln -s python-pyxattr $(DBGROOT)/usr/share/doc/python-pyxattr-dbg rm -rf $(DBG3ROOT)/usr/share/doc/python3-pyxattr-dbg ln -s python3-pyxattr $(DBG3ROOT)/usr/share/doc/python3-pyxattr-dbg dh_compress -X.js dh_fixperms dh_python2 dh_python3 dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb # Build architecture independant packages here. binary-indep: build install # Nothing to do binary: binary-arch binary-indep .PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure debian/source/0000755000000000000000000000000011754774504010504 5ustar debian/source/format0000644000000000000000000000001411754774504011712 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000031311754774504010232 0ustar # format version number, currently 3; this line is compulsory! version=3 # the package is located on github https://github.com/iustin/pyxattr/downloads \ /downloads/iustin/pyxattr/pyxattr-(.+).tar.gz