From 7a214b132f1f42b9b31d0d597350fac02b3abe13 Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Mon, 30 Jun 2008 23:27:16 +0200 Subject: [PATCH] Update debian diff for new upstream --- debian/changelog | 10 ++++++++++ debian/compat | 2 +- debian/control | 7 +++---- debian/copyright | 32 ++++++++++++++++++-------------- debian/docs | 3 +++ debian/pycompat | 1 - debian/pyversions | 1 + debian/rules | 47 ++++++++++++++++------------------------------- debian/watch | 5 +++++ 9 files changed, 57 insertions(+), 51 deletions(-) create mode 100644 debian/docs delete mode 100644 debian/pycompat create mode 100644 debian/pyversions create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog index 304252d..a714d1c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,13 @@ +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) diff --git a/debian/compat b/debian/compat index 7ed6ff8..7f8f011 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -5 +7 diff --git a/debian/control b/debian/control index 49ed274..07b194d 100644 --- a/debian/control +++ b/debian/control @@ -2,9 +2,9 @@ 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.3 +Build-Depends: debhelper (>= 7), python (>= 2.3.5-11), python-all-dev (>= 2.3.5-11), + python-support (>= 0.6), libattr1-dev, python-setuptools, python-epydoc +Standards-Version: 3.8.0 Package: python-pyxattr Architecture: any @@ -12,7 +12,6 @@ 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 diff --git a/debian/copyright b/debian/copyright index ee1819e..35aef32 100644 --- a/debian/copyright +++ b/debian/copyright @@ -5,22 +5,26 @@ It was downloaded from http://pyxattr.sourceforge.net/ Upstream Author: Iustin Pop -Copyright 2003-2008 Iustin Pop: +Copyright (C) 2003-2008 Iustin Pop - 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. +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 General Public License for more details. + 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. - 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. + 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. -On Debian systems, the complete text of the GNU General -Public License can be found in `/usr/share/common-licenses/GPL'. + 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 (C) 2003-2008, Iustin Pop and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..c9f13b8 --- /dev/null +++ b/debian/docs @@ -0,0 +1,3 @@ +NEWS +README +html diff --git a/debian/pycompat b/debian/pycompat deleted file mode 100644 index 0cfbf08..0000000 --- a/debian/pycompat +++ /dev/null @@ -1 +0,0 @@ -2 diff --git a/debian/pyversions b/debian/pyversions new file mode 100644 index 0000000..8b253bc --- /dev/null +++ b/debian/pyversions @@ -0,0 +1 @@ +2.4- diff --git a/debian/rules b/debian/rules index 864fb09..dfa54ea 100755 --- a/debian/rules +++ b/debian/rules @@ -11,54 +11,39 @@ # This has to be exported to make some magic below work. export DH_OPTIONS -PYVERS := $(shell pyversions -r) +PYVERS := $(shell pyversions -vr) -configure: configure-stamp -configure-stamp: - dh_testdir - touch configure-stamp - - -#Architecture -build: build-arch build-indep +build: $(PYVERS:%=build-python%) build-indep + touch $@ -build-arch: build-arch-stamp -build-arch-stamp: configure-stamp - set -e; for py in $(PYVERS); do \ - $$py setup.py build; done +build-python%: + python$* setup.py build + touch $@ - touch build-arch-stamp - -build-indep: build-indep-stamp -build-indep-stamp: configure-stamp - touch build-indep-stamp +build-indep: + ./setup.py build_ext -i && epydoc --config epydoc.conf + touch $@ clean: dh_testdir dh_testroot - rm -f build-arch-stamp build-indep-stamp #CONFIGURE-STAMP# + rm -f build-arch-stamp build-indep #CONFIGURE-STAMP# rm -rf build dh_clean -install: build - dh_testdir - dh_testroot - dh_clean -k -s - dh_installdirs -s +install: build $(PYVERS:%=install-python%) - 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 +install-python%: + python$* setup.py install --root $(CURDIR)/debian/python-pyxattr # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot - dh_installchangelogs ChangeLog - dh_installdocs -A README NEWS xattr.txt + dh_installchangelogs + dh_installdocs dh_strip - dh_compress + dh_compress -X.js dh_fixperms dh_pysupport dh_installdeb diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..9048c99 --- /dev/null +++ b/debian/watch @@ -0,0 +1,5 @@ +# format version number, currently 3; this line is compulsory! +version=3 + +# the package is located on sourceforge +http://sf.net/pyxattr/pyxattr-(.+)\.tar\.gz -- 2.39.5