debian/0000755000000000000000000000000012073523550007170 5ustar debian/changelog0000644000000000000000000001357212073523550011052 0ustar pyparted (3.6-6) unstable; urgency=low [ Tim Gardner ] * m4/python.m4 really wants the full path in the PYTHON environment variable in order to correctly determine all multiarch include paths (closes: #697779). Thanks to Colin Watson for the suggestion. [ Colin Watson ] * Improve debian/rules to stop immediately on errors. -- Colin Watson Thu, 10 Jan 2013 11:35:02 +0000 pyparted (3.6-5) unstable; urgency=low * debian/patches/no-last-flag-check.patch: - Remove explicit *_LAST_FLAG checks, which impose additional interface constraints not guaranteed by parted (closes: #697588). We'll still get parted exceptions for invalid flags, although they'll no longer be ValueError. * debian/control: - Add myself to Uploaders. -- Colin Watson Mon, 07 Jan 2013 11:53:42 +0000 pyparted (3.6-4) unstable; urgency=low * debian/patches/py26.patch: - Enable support for python2.6 (Closes: #642545). * debian/control: - Set X-Python-Version back to >= 2.6. * debian/copyright: - Adopt DEP5 syntax. -- Luca Falavigna Sat, 24 Sep 2011 10:40:36 +0200 pyparted (3.6-3) unstable; urgency=low * debian/control: - Build-depend on dh-autoreconf. - Drop autoconf, automake and libtool build-dependencies. - Drop Breaks field, no longer needed. * debian/rules: - Use autoreconf sequencer. - Do not install .la file (Closes: #633254). -- Luca Falavigna Thu, 14 Jul 2011 23:32:12 +0200 pyparted (3.6-2) unstable; urgency=low * Upload to unstable. * debian/control: - Bump Standards-Version to 3.9.2, no changes required. -- Luca Falavigna Sat, 16 Apr 2011 15:35:58 +0200 pyparted (3.6-1) experimental; urgency=low * New upstream release. * debian/control: - New release is not compatible with python versions prior to 2.7, so bump X-Python-Version field to >= 2.7. - Bump minimum version of python related packages to >= 2.6.6-13~ to make sure python 2.7 is a supported python version. -- Luca Falavigna Sun, 27 Mar 2011 12:07:47 +0200 pyparted (3.5-1) unstable; urgency=low * New upstream release. * Switch to dh_python2. * debian/control: - Drop python-decorator (build-)dependency, no longer needed. - Bump Standards-Version to 3.9.1, no changes required. * debian/copyright: - Update copyright years. -- Luca Falavigna Wed, 09 Feb 2011 00:00:17 +0100 pyparted (3.4-2) unstable; urgency=low * debian/patches/no_PED_PARTITION_DIAG.patch: - Removed, PED_PARTITION_DIAG is available in parted 2.3. * debian/control: - python2.6 is default, simplify dependencies accordingly. - Build-depend on libparted0-dev (>= 2.3). - Bump Standards-Version to 3.9.0, no changes required. -- Luca Falavigna Tue, 29 Jun 2010 19:51:30 +0200 pyparted (3.4-1) unstable; urgency=low * New upstream release. * Switch to format 3.0 (quilt). * debian/patches/no_PED_PARTITION_DIAG.patch: - Disable support for PARTITION_DIAG, not yet implemented upstream. * debian/control: - Add autoconf, automake and libtool to Build-Depends. - Add autoconf2.13 and automake1.4 to Build-Conflicts. * debian/rules: - Run "autoreconf -fi -I m4" for every Python build instance to get proper autoconf/libtool fixes. -- Luca Falavigna Sat, 01 May 2010 12:17:44 +0200 pyparted (3.1-2) unstable; urgency=low * debian/rules: - Fix location of detached symbols in the -dbg package. -- Luca Falavigna Mon, 22 Mar 2010 11:39:54 +0100 pyparted (3.1-1) experimental; urgency=low * New upstream release. * debian/control: - Maintain package under Parted Maintainer Team umbrella. - Build-depend on libparted0-dev (>= 2.2). - Remove some build-dependencies, pulled by lipparded0-dev already. -- Luca Falavigna Tue, 09 Mar 2010 23:35:30 +0100 pyparted (3.0-1) experimental; urgency=low * New upstream release. * debian/control: - Build-depend on libparted-2.1-dev. - Remove quilt from Build-Depends. - Bump Standards-Version to 3.8.4, no changes required. - Let python-parted-dbg depend on python-dbg (>= 2.6) | python2.6-dbg. * debian/copyright: - Adjust copyright years. * debian/README.source: - Remove it, no longer needed. * debian/pyversions: - Build extension for Python 2.6 only. * Drop lower_parted_version.patch and no_Fedora.patch, they are no longer useful because libparted 2.1 implemented those features. * Drop python2.5_fallback.patch and no_HashNotImplemented.patch, extension is built for Python 2.6 only, so there is no need to provide compatibility for older releases. -- Luca Falavigna Mon, 08 Feb 2010 17:14:53 +0100 pyparted (2.2-1) unstable; urgency=low * New upstream release. * debian/patches/lower_parted_version.patch: - Refresh for new upstream release. * Add python-decorator to Depends too. -- Luca Falavigna Tue, 13 Oct 2009 21:30:22 +0200 pyparted (2.1.1-1) unstable; urgency=low * New upstream release. * debian/control: - (Build-)Depend on python-decorator. - Bump minimum libparted1.8-dev version to 1.8.8.git.2009.06.03. - Update my e-mail address. - Bump Standards-Version to 3.8.3, no changes required. * debian/patches/lower_parted_version.patch: - Lower required parted version, current Debian version already fulfil pyparted requirements. * debian/patches/no_Fedora.patch: - Remove features available in Fedora's parted only. -- Luca Falavigna Fri, 02 Oct 2009 02:36:35 +0200 pyparted (2.0.12-1) unstable; urgency=low * Initial release (Closes: #512011). -- Luca Falavigna Mon, 18 May 2009 23:52:08 +0200 debian/rules0000755000000000000000000000245712073523211010252 0ustar #!/usr/bin/make -f PYTHONS := $(shell pyversions -vr debian/control) %: dh $@ --with python2,autoreconf clean: rm -fr build dh $@ override_dh_auto_configure: set -e; for pyvers in ${PYTHONS}; do \ mkdir -p build/py$$pyvers; cp -Rl `ls . | grep -v build | grep -v debian` build/py$$pyvers;\ (cd build/py$$pyvers && ./configure --prefix=/usr PYTHON=/usr/bin/python$$pyvers); \ mkdir -p build/py$$pyvers-dbg; cp -Rl `ls . | grep -v build | grep -v debian` build/py$$pyvers-dbg; \ (cd build/py$$pyvers-dbg && ./configure --prefix=/usr PYTHON=/usr/bin/python$$pyvers-dbg CFLAGS="-g -ggdb "); \ done override_dh_auto_build: set -e; for pyvers in ${PYTHONS}; do \ $(MAKE) -C build/py$$pyvers/; \ $(MAKE) -C build/py$$pyvers-dbg/; \ done override_dh_auto_install: set -e; for pyvers in ${PYTHONS}; do \ $(MAKE) -C build/py$$pyvers/ install DESTDIR=$(CURDIR)/debian/python-parted; \ $(MAKE) -C build/py$$pyvers-dbg/ install DESTDIR=$(CURDIR)/debian/python-parted-dbg; \ (cd $(CURDIR)/debian/python-parted-dbg/usr/lib/python$$pyvers/*-packages && mv _pedmodule.so _pedmodule_d.so); \ done find $(CURDIR)/debian/python-parted -name "*.la" -delete find $(CURDIR)/debian/python-parted-dbg -name "*parted" -exec rm -fr {} + override_dh_strip: dh_strip --dbg-package=python-parted-dbg -X_pedmodule_d.so debian/watch0000644000000000000000000000012512072530325010214 0ustar version=3 https://fedorahosted.org/releases/p/y/pyparted/pyparted-([0-9.]*)\.tar\.gz debian/compat0000644000000000000000000000000212072530325010363 0ustar 7 debian/source/0000755000000000000000000000000012072530325010465 5ustar debian/source/format0000644000000000000000000000001412072530325011673 0ustar 3.0 (quilt) debian/control0000644000000000000000000000301712072533447010601 0ustar Source: pyparted Section: python Priority: optional Maintainer: Parted Maintainer Team Uploaders: Luca Falavigna , Colin Watson Build-Depends: debhelper (>= 7.0.50~), python-all-dev (>= 2.6.6-13~), python-all-dbg (>= 2.6.6-13~), pkg-config, libparted0-dev (>= 2.3), dh-autoreconf Standards-Version: 3.9.2 X-Python-Version: >= 2.6 Homepage: http://fedorahosted.org/pyparted/ Vcs-Git: git://git.debian.org/git/parted/debian/pyparted.git Vcs-Browser: http://git.debian.org/?p=parted/debian/pyparted.git Package: python-parted Architecture: any Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${python:Provides} Description: Python interface for libparted pyparted is a set of Python modules that provide Python programmers an interface to libparted (http://www.gnu.org/software/parted), the GNU parted library for disk partitioning and file system manipulation. . This package contains Python extension itself. Package: python-parted-dbg Section: debug Priority: extra Architecture: any Depends: ${python:Depends}, python-dbg (>= 2.6.6-13~), ${shlibs:Depends}, ${misc:Depends}, python-parted (= ${binary:Version}) Description: Python interface for libparted - Debugging symbols pyparted is a set of Python modules that provide Python programmers an interface to libparted (http://www.gnu.org/software/parted), the GNU parted library for disk partitioning and file system manipulation. . This package contains debugging symbols. debian/patches/0000755000000000000000000000000012072532512010614 5ustar debian/patches/no-last-flag-check.patch0000644000000000000000000000172112072532507015201 0ustar Description: Remove *_LAST_FLAG checks The last flag in an enumeration is not really part of the ABI. Checking it here means that changes to parted may unexpectedly break pyparted. Author: Colin Watson Bug-Debian: http://bugs.debian.org/697588 Forwarded: no Last-Update: 2013-01-07 Index: b/src/pydisk.c =================================================================== --- a/src/pydisk.c +++ b/src/pydisk.c @@ -1033,7 +1033,7 @@ return NULL; } - if ((flag < PED_DISK_FIRST_FLAG) || (flag > PED_DISK_LAST_FLAG)) { + if (flag < PED_DISK_FIRST_FLAG) { PyErr_SetString(PyExc_ValueError, "Invalid flag provided."); return NULL; } @@ -1403,7 +1403,7 @@ return NULL; } - if ((flag < PED_PARTITION_FIRST_FLAG) || (flag > PED_PARTITION_LAST_FLAG)) { + if (flag < PED_PARTITION_FIRST_FLAG) { PyErr_SetString(PyExc_ValueError, "Invalid flag provided."); return NULL; } debian/patches/py26.patch0000644000000000000000000000122012072530325012430 0ustar Description: Enable support for python2.6 Author: Luca Falavigna Bug: http://bugs.debian.org/642545 Forwarded: not-needed Index: pyparted/configure.ac =================================================================== --- pyparted.orig/configure.ac 2011-09-24 01:05:14.616973338 +0200 +++ pyparted/configure.ac 2011-09-24 01:07:24.116977306 +0200 @@ -19,7 +19,7 @@ dnl Red Hat Author(s): David Cantrell m4_define(libparted_required_version, 2.3) -m4_define(python_required_version, 2.7) +m4_define(python_required_version, 2.6) AC_PREREQ(2.59) AC_INIT([pyparted], [3.6], [pyparted-devel@redhat.com]) debian/patches/series0000644000000000000000000000004412072531254012031 0ustar py26.patch no-last-flag-check.patch debian/copyright0000644000000000000000000000230212072530325011115 0ustar Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174 Upstream-Name: pyparted Upstream-Contact: David Cantrell Source: https://fedorahosted.org/releases/p/y/pyparted/ Files: * Copyright: 2007-2009, Red Hat, Inc. License: GPL-2+ Files: debian/* Copyright: 2009-2011, Luca Falavigna License: GPL-2+ License: GPL-2+ This program 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; either version 2 of the License, or (at your option) any later version. . This program 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 full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. debian/docs0000644000000000000000000000002412072530325010034 0ustar AUTHORS BUGS README