debian/0000775000000000000000000000000012271072567007201 5ustar debian/rules0000775000000000000000000000165112167231455010261 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ --with python2 PYVERSIONS=$(shell pyversions -v -r) override_dh_compress: dh_compress -X examples override_dh_auto_configure-%: SITECONF_NAME=siteconf$*.py python$* ./configure.py \ --taglib-inc-dir=`pkg-config --cflags-only-I taglib | sed 's/-I//'` \ --boost-python-libname=boost_python-py`echo $* | tr -d .` override_dh_auto_configure: $(PYVERSIONS:%=override_dh_auto_configure-%) override_dh_auto_build-%: SITECONF_NAME=siteconf$*.py python$* setup.py build -b build$* override_dh_auto_build: $(PYVERSIONS:%=override_dh_auto_build-%) override_dh_auto_install-%: SITECONF_NAME=siteconf$*.py python$* setup.py build -b build$* install --no-compile --root=debian/python-tagpy --install-layout=deb override_dh_auto_install: $(PYVERSIONS:%=override_dh_auto_install-%) override_dh_auto_clean: rm -rf build* siteconf*.py *.pyc debian/watch0000664000000000000000000000011511121462260010211 0ustar version=3 http://pypi.python.org/packages/source/t/tagpy/tagpy-(.*)\.tar\.gz debian/changelog0000664000000000000000000001354712271071765011064 0ustar tagpy (2013.1-3ubuntu1) trusty; urgency=medium * Use system setuptools to fix FTBFS without Internet connection. -- Logan Rosen Sat, 25 Jan 2014 21:33:12 -0500 tagpy (2013.1-3build1) trusty; urgency=low * No change rebuild for Boost 1.54 transition. -- Dmitrijs Ledkovs Tue, 22 Oct 2013 18:08:41 +0100 tagpy (2013.1-3) unstable; urgency=low * Build depend on taglib 1.8. -- Michal Čihař Wed, 24 Jul 2013 15:57:30 +0200 tagpy (2013.1-2) unstable; urgency=low * Fixed parameters passed to dh. -- Michal Čihař Wed, 10 Jul 2013 12:11:59 +0200 tagpy (2013.1-1) unstable; urgency=low [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. [ Michal Čihař ] * New upstream release. * Updated patches. * Bump standards to 3.9.4. * Use debhelper 9. * Fixed compilation with taglib 1.8 (Closes: #713707). -- Michal Čihař Wed, 10 Jul 2013 10:59:10 +0200 tagpy (0.94.8-4) unstable; urgency=low * Properly clean build files (Closes: #671332). * Use hardened build flags. * Bump standards to 3.9.3.. -- Michal Čihař Mon, 25 Jun 2012 15:28:48 +0200 tagpy (0.94.8-3) unstable; urgency=low * Remove silly check for distribute (Closes: #634343). * Bump standards to 3.9.2. * Add build-arch and build-indep targets. * Migrate to dh_python2. * Install package with --install-layout=deb. -- Michal Čihař Tue, 19 Jul 2011 13:19:37 +0200 tagpy (0.94.8-2) unstable; urgency=low * Upload to unstable. -- Michal Čihař Sun, 06 Feb 2011 12:59:50 +0100 tagpy (0.94.8-1) experimental; urgency=low * New upstream release. * Upload to experimental because of freeze. * Bump standards to 3.9.1. -- Michal Čihař Fri, 03 Sep 2010 15:23:23 +0200 tagpy (0.94.7-2) unstable; urgency=low * Bump standards to 3.9.0. * Convert to 3.0 (quilt) source format. * Update debian/copyright not to point to common license BSD, but rather include license text. -- Michal Čihař Tue, 29 Jun 2010 11:05:23 +0200 tagpy (0.94.7-1) unstable; urgency=low * New upstream version. * Bump standards to 3.8.3 (no changes needed). * Boost 1.39 changed library name, adjust debian/rules and build depend on this version. * Add debian/README.source. -- Michal Čihař Fri, 28 Aug 2009 14:32:54 +0200 tagpy (0.94.6-1) unstable; urgency=low * New upstream version. * Refresh optional-siteconf.patch. * Fix build when upstream has forgotten configure script. * Bump standards to 3.8.2 (no changes needed). -- Michal Čihař Tue, 14 Jul 2009 16:28:44 +0200 tagpy (0.94.5-5) unstable; urgency=low * Update build deps to debhelper >= 7.0.50 for overrides. * Build depend on non versioned boost (Closes: #531121). -- Michal Čihař Mon, 01 Jun 2009 11:48:31 +0200 tagpy (0.94.5-4) unstable; urgency=low * Switch to boost 1.37. * Bump standards to 3.8.1 (no changes needed). * Switch from pycentral to pysupport. * Convert debian/rules to dh. * Add patch to simplify handling of build for more python versions. -- Michal Čihař Wed, 18 Mar 2009 15:05:07 +0100 tagpy (0.94.5-3) unstable; urgency=low [ Michal Čihař ] * Update to standards 3.8.0 (no changes needed). * Update debian/copyright (year, link to GPL). [ Sandro Tosi ] * debian/control - switch Vcs-Browser field to viewsvn -- Michal Čihař Sun, 15 Feb 2009 14:13:14 +0100 tagpy (0.94.5-2) unstable; urgency=low * Include examples in binary package. -- Michal Čihař Thu, 31 Jul 2008 11:42:36 +0200 tagpy (0.94.5-1) unstable; urgency=low * New upstream version. - Build depend on python-setuptools. - Fix configure params for new version. - This version builds fine with GCC 4.3 (Closes: #483343). * Use new homepage. * Adjust watch file to use PyPi which is now official download site. -- Michal Čihař Wed, 28 May 2008 14:26:08 +0200 tagpy (0.93-5) unstable; urgency=low * Reupload as it seems to be easiest way to trigger rebuild on hppa and mipsel. * Move packaging to Python Modules Packaging Team: - Change Vcs fields in debian/control. - Add team to Uploaders. -- Michal Čihař Tue, 20 May 2008 12:18:56 +0200 tagpy (0.93-4) unstable; urgency=low * Link module with correct boost library for each Python version. -- Michal Čihař Mon, 21 Apr 2008 09:18:24 +0200 tagpy (0.93-3) unstable; urgency=low * Fix watch file to match upstream website changes. -- Michal Čihař Wed, 27 Feb 2008 17:18:05 +0100 tagpy (0.93-2) unstable; urgency=low * Update policy to 3.7.3 (no changes needed). * Drop dpatch build dependency, we don't use it anyway. * Adjusted Vcs-* headers to point to trunk. -- Michal Čihař Tue, 26 Feb 2008 11:01:28 +0100 tagpy (0.93-1) unstable; urgency=low * New upstream release (Closes: #448309). -- Michal Čihař Sun, 28 Oct 2007 13:11:17 +0900 tagpy (0.92-1) unstable; urgency=low * New upstream release, merges our patch. - Drop not needed patches. * Use new Homepage field. * Build for all supported python versions. -- Michal Čihař Wed, 03 Oct 2007 01:46:20 +0900 tagpy (0.91-2) unstable; urgency=low * Add XS-Vcs headers. * Fix build with current boost libraries (Closes: #426865). * Rebuilt package is installable (Closes: #435785). * Fix crash caused by double free in addFrame (Closes: #438556). -- Michal Čihař Sun, 19 Aug 2007 18:43:25 +0200 tagpy (0.91-1) unstable; urgency=low * Initial release (Closes: #417372). -- Michal Čihař Tue, 3 Apr 2007 17:17:27 +0200 debian/compat0000664000000000000000000000000212167217716010400 0ustar 9 debian/README.source0000664000000000000000000000042611245747174011365 0ustar TagPy for Debian ---------------- This package uses quilt to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. See /usr/share/doc/quilt/README.source for a detailed explanation. debian/copyright0000664000000000000000000000301011412333566011121 0ustar This package was debianized by Michal Čihař on Tue, 3 Apr 2007 17:17:27 +0200. It was downloaded from Upstream Author: Andreas Kloeckner Copyright: Copyright (c) 2006-2008 Andreas Kloeckner License: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. The Debian packaging is Copyright (C) 2007 - 2010, Michal Čihař and is licensed under the GPL, see `/usr/share/common-licenses/GPL-2'. debian/source/0000775000000000000000000000000012173756554010507 5ustar debian/source/format0000664000000000000000000000001411412111472011670 0ustar 3.0 (quilt) debian/python-tagpy.examples0000664000000000000000000000000711160177642013375 0ustar test/* debian/preinst0000775000000000000000000000027511160174203010601 0ustar #!/bin/sh set -e # Switch from pycentral to pysupport if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 0.94.5-4 ; then pycentral pkgremove python-tagpy fi #DEBHELPER# exit 0 debian/control0000664000000000000000000000207012231530432010565 0ustar Source: tagpy Section: python Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Michal Čihař Uploaders: Python Modules Packaging Team Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1~), python-all-dev (>= 2.6.6-3~), libtag1-dev (>= 1.8), libboost-python-dev (>= 1.39.2), pkg-config, python-setuptools Standards-Version: 3.9.4 X-Python-Version: >= 2.5 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/tagpy/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/tagpy/trunk/ Homepage: http://mathema.tician.de/software/tagpy Package: python-tagpy Architecture: any Provides: ${python:Provides} Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends} Description: Python module for manipulating tags in music files Binds Python to Scott Wheeler's TagLib. Makes it easy to read ID3 tags from MP3 files, Xiph Comments from Ogg Vorbis and FLAC files, and APE tags from MusePack files. debian/patches/0000775000000000000000000000000012271072555010625 5ustar debian/patches/taglib-1.8.patch0000664000000000000000000000074312167220446013416 0ustar From: Michal Čihař Subject: Hardcode taglib version Bug: https://github.com/inducer/tagpy/issues/1 --- a/src/wrapper/common.hpp +++ b/src/wrapper/common.hpp @@ -50,10 +50,7 @@ -#define TAGPY_TAGLIB_HEX_VERSION \ - (TAGLIB_MAJOR_VERSION << 16) + \ - (TAGLIB_MINOR_VERSION << 8) + \ - (TAGLIB_PATCH_VERSION << 0) +#define TAGPY_TAGLIB_HEX_VERSION 0x10800 #if (TAGPY_TAGLIB_HEX_VERSION < 0x10400) #warning !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! debian/patches/series0000664000000000000000000000010512271071723012032 0ustar taglib-1.8.patch optional-siteconf.patch use-system-setuptools.patch debian/patches/use-system-setuptools.patch0000664000000000000000000000262712271072520016202 0ustar --- a/aksetup_helper.py +++ b/aksetup_helper.py @@ -1,7 +1,4 @@ # dealings with ez_setup ------------------------------------------------------ -import distribute_setup -distribute_setup.use_setuptools() - import setuptools from setuptools import Extension @@ -18,25 +15,6 @@ -if not hasattr(setuptools, "_distribute"): - print("-------------------------------------------------------------------------") - print("Setuptools conflict detected.") - print("-------------------------------------------------------------------------") - print("When I imported setuptools, I did not get the distribute version of") - print("setuptools, which is troubling--this package really wants to be used") - print("with distribute rather than the old setuptools package. More than likely,") - print("you have both distribute and setuptools installed, which is bad.") - print("") - print("See this page for more information:") - print("http://wiki.tiker.net/DistributeVsSetuptools") - print("-------------------------------------------------------------------------") - print("I will continue after a short while, fingers crossed.") - print("Hit Ctrl-C now if you'd like to think about the situation.") - print("-------------------------------------------------------------------------") - - count_down_delay(delay=10) - - import os try: DEFAULT_SITECONF = os.environ['SITECONF_NAME'] debian/patches/optional-siteconf.patch0000664000000000000000000000136512154061244015301 0ustar Add option to use different config file than siteconf.py. This is needed to properly build for more python versions. --- a/aksetup_helper.py +++ b/aksetup_helper.py @@ -37,6 +37,12 @@ count_down_delay(delay=10) +import os +try: + DEFAULT_SITECONF = os.environ['SITECONF_NAME'] +except KeyError: + DEFAULT_SITECONF = 'siteconf.py' + def setup(*args, **kwargs): from setuptools import setup import traceback @@ -265,7 +271,7 @@ class ConfigSchema: - def __init__(self, options, conf_file="siteconf.py", conf_dir="."): + def __init__(self, options, conf_file=DEFAULT_SITECONF, conf_dir="."): self.optdict = dict((opt.name, opt) for opt in options) self.options = options self.conf_dir = conf_dir