From 01f89a07127aadd22875173a9048ce811c8aff9c Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Tue, 26 Feb 2008 22:26:49 +0100 Subject: [PATCH] Imported Debian patch 0.2.2-1 --- debian/changelog | 39 +++++++++++++++++++++++++ debian/compat | 1 + debian/control | 19 ++++++++++++ debian/copyright | 26 +++++++++++++++++ debian/pycompat | 1 + debian/rules | 75 ++++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 161 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/pycompat create mode 100755 debian/rules diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..c1a747a --- /dev/null +++ b/debian/changelog @@ -0,0 +1,39 @@ +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 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..b5159a5 --- /dev/null +++ b/debian/control @@ -0,0 +1,19 @@ +Source: python-pyxattr +Section: python +Priority: optional +Maintainer: Iustin Pop +Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11), + python-support (>= 0.3), libattr1-dev +Standards-Version: 3.7.2 + +Package: python-pyxattr +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends} +Provides: ${python:Provides} +Replaces: python2.3-pyxattr (<< 0.2.1-1.1), python2.4-pyxattr (<< 0.2.1-1.1) +Conflicts: python2.3-pyxattr (<< 0.2.1-1.1), python2.4-pyxattr (<< 0.2.1-1.1) +XB-Python-Version: ${python:Versions} +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). diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..777d00f --- /dev/null +++ b/debian/copyright @@ -0,0 +1,26 @@ +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: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June, 1991. + + 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 General Public License for more details. + + You should have received a copy of the GNU 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 General +Public License can be found in `/usr/share/common-licenses/GPL'. + diff --git a/debian/pycompat b/debian/pycompat new file mode 100644 index 0000000..0cfbf08 --- /dev/null +++ b/debian/pycompat @@ -0,0 +1 @@ +2 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..864fb09 --- /dev/null +++ b/debian/rules @@ -0,0 +1,75 @@ +#!/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 -r) + +configure: configure-stamp +configure-stamp: + dh_testdir + touch configure-stamp + + +#Architecture +build: build-arch build-indep + +build-arch: build-arch-stamp +build-arch-stamp: configure-stamp + set -e; for py in $(PYVERS); do \ + $$py setup.py build; done + + touch build-arch-stamp + +build-indep: build-indep-stamp +build-indep-stamp: configure-stamp + touch build-indep-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-arch-stamp build-indep-stamp #CONFIGURE-STAMP# + rm -rf build + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k -s + dh_installdirs -s + + set -e; for py in $(PYVERS); do \ + $$py setup.py install --root=$(CURDIR)/debian/python-pyxattr; \ + done + rm -rf $(CURDIR)/debian/python-pyxattr/usr/share/doc/pyxattr-0.2.1 + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs -A README NEWS xattr.txt + dh_strip + dh_compress + dh_fixperms + dh_pysupport + 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 -- 2.39.2