debian/0000755000000000000000000000000012150474107007167 5ustar debian/python-musicbrainzngs-doc.links0000644000000000000000000000014412147722537015361 0ustar /usr/share/doc/python-musicbrainzngs-doc/html/_sources /usr/share/doc/python-musicbrainzngs-doc/rst debian/source/0000755000000000000000000000000012150474040010463 5ustar debian/source/format0000644000000000000000000000001411704600117011671 0ustar 3.0 (quilt) debian/python-musicbrainzngs.docs0000644000000000000000000000001212147722537014420 0ustar README.md debian/changelog0000644000000000000000000000301212150474031011031 0ustar musicbrainzngs (0.4-1) unstable; urgency=low [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. [ Simon Chopin ] * Upload to unstable * New upstream release (Closes: #706961) * Acknowledge Jonas' NMU, drop the patch as it is now unnecessary * Bump standards version to 3.9.4 + B-D on debhelper >= 8.1 to get the build-indep targets. * Update copyright years and authors. * Add a Python3 and a -doc packages. + Patch the sphinx config to use local documentation for reference + Remove the test data and docs from setup.py as they are not necessary in the binary package or shipped on their own. * Remove python-unittest2 from Build-Depends as python 2.6 isn't supported anymore. * Fix undefined name in the barcode handling. -- Simon Chopin Sun, 26 May 2013 23:01:13 +0200 musicbrainzngs (0.2-1.1) experimental; urgency=low * Non-maintainer upload. * Add patch to fix get_release_by_discid(). Needed by morituri. Closes: bug#698202. -- Jonas Smedegaard Wed, 23 Jan 2013 14:46:49 +0100 musicbrainzngs (0.2-1) unstable; urgency=low * New upstream release - patch unittest2.patch not needed any more. * Bump standards version to 3.9.3. -- Simon Chopin Sun, 08 Apr 2012 21:24:49 +0100 musicbrainzngs (0.1-1) unstable; urgency=low * Initial release (Closes: #655973) * Add patch unittest2.patch to fix the tests with Python 2.6 -- Simon Chopin Wed, 18 Jan 2012 15:57:14 +0200 debian/control0000644000000000000000000000357412147722537010614 0ustar Source: musicbrainzngs Section: python Priority: optional Maintainer: Debian Python Modules Team Uploaders: Simon Chopin Build-Depends: debhelper (>= 8.1), libc-bin (>= 2.13-1~), python-all (>= 2.6.6-3~), python-doc, python-sphinx (>= 1.0.7+dfsg), python2.7-doc, python3-all X-Python-Version: >=2.6 X-Python3-Version: >=3.2 Standards-Version: 3.9.4 Homepage: https://github.com/alastair/python-musicbrainz-ngs/ Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/musicbrainzngs/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/musicbrainzngs/trunk/ Package: python-musicbrainzngs Architecture: all Depends: ${misc:Depends}, ${python:Depends} Suggests: python-musicbrainzngs-doc Description: Python bindings for the Musicbrainz NGS webservice interface This package provides a Python interface to the Musicbrainz NGS API. . Musicbrainz is an open music encyclopedia that collects music metadata and makes it available to the public. Package: python3-musicbrainzngs Architecture: all Depends: ${misc:Depends}, ${python3:Depends} Suggests: python-musicbrainzngs-doc Description: Python 3 bindings for the Musicbrainz NGS webservice interface This package provides a Python 3 interface to the Musicbrainz NGS API. . Musicbrainz is an open music encyclopedia that collects music metadata and makes it available to the public. Package: python-musicbrainzngs-doc Section: doc Architecture: all Depends: ${misc:Depends}, ${sphinxdoc:Depends} Recommends: python-musicbrainzngs | python3-musicbrainzngs Description: Documentation for the Python Musicbrainz NGS interface modules This package provides documentation for the Python bindings for the Musicbrainz NGS webservice interface. . Musicbrainz is an open music encyclopedia that collects music metadata and makes it available to the public. debian/python-musicbrainzngs-doc.docs0000644000000000000000000000002112147722537015163 0ustar docs/_build/html debian/python3-musicbrainzngs.docs0000644000000000000000000000001212147722537014503 0ustar README.md debian/python-musicbrainzngs.install0000644000000000000000000000002212147722537015137 0ustar usr/lib/python2.* debian/copyright0000644000000000000000000000372612147722537011143 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: musicbrainzngs Source: https://github.com/alastair/python-musicbrainz-ngs Files: * Copyright: 2011-2013 Alastair Porter 2011-2013 Adrian Sampson 2012-2013 Michael Marineau 2012-2013 Thomas Vander Stichele 2012-2013 Ian McEwen 2012-2013 Wieland Hoffmann 2013 Galen Hazelwood 2013 Greg Ward 2013 Johannes Dewender 2013 Patrick Speiser 2013 Paul Bailey 2013 Sam Doshi License: BSD-2-clause Files: debian/* Copyright: 2012-2013 Simon Chopin License: BSD-2-clause License: BSD-2-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/rules0000755000000000000000000000113612147722537010261 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ --with python2,python3,sphinxdoc override_dh_auto_build: dh_auto_build make -C docs html python3 setup.py build override_dh_auto_install: dh_auto_install python3 setup.py install --skip-build --no-compile \ --root debian/tmp \ --install-layout=deb override_dh_auto_test: set -e -x; \ export LC_ALL=C.UTF-8; \ for python in $(shell pyversions -r) $(shell py3versions -r); do \ $$python setup.py test; \ done override_dh_auto_clean: dh_auto_clean rm -rf build/ rm -rf docs/_build debian/watch0000644000000000000000000000013712150456105010217 0ustar version=3 https://pypi.python.org/packages/source/m/musicbrainzngs/musicbrainzngs-(.+).tar.gz debian/docs0000644000000000000000000000001211704600117010027 0ustar README.md debian/python3-musicbrainzngs.install0000644000000000000000000000002112147722537015221 0ustar usr/lib/python3* debian/patches/0000755000000000000000000000000012150474040010612 5ustar debian/patches/series0000644000000000000000000000010212150473744012032 0ustar remove_unused_data use_local_intersphinx_links fix_undefined_name debian/patches/remove_unused_data0000644000000000000000000000200512147722537014420 0ustar Description: Remove the unused package data in setup.py Author: Simon Chopin Forwarded: not-needed Applied-Upstream: 2013-05-24 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/setup.py +++ b/setup.py @@ -52,15 +52,6 @@ author_email="alastair@porter.net.nz", url="https://github.com/alastair/python-musicbrainz-ngs", packages=['musicbrainzngs'], - package_data={'musicbrainzngs': ['CHANGES', - '../docs/*', - '../examples/*', - '../test/data/*.xml', - '../test/data/artist/*', - '../test/data/label/*', - '../test/data/release/*', - '../test/data/release-group/*', - '../test/data/work/*']}, cmdclass={'test': test }, license='BSD 2-clause', classifiers=[ debian/patches/use_local_intersphinx_links0000644000000000000000000000122412150456372016345 0ustar Description: Use local intersphinx inventories Instead of linking to the online Python documentation, the generated doc will link to the python-doc packages. Author: Simon Chopin Forwarded: not-needed --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/docs/conf.py +++ b/docs/conf.py @@ -94,8 +94,8 @@ } intersphinx_mapping = { - 'python': ('http://python.readthedocs.org/en/latest/', None), - 'python2': ('http://python.readthedocs.org/en/v2.7.2/', None), + 'python': ('file:///usr/share/doc/python-doc/html/', None), + 'python2': ('file:///usr/share/doc/python2.7-doc/html/', None), } debian/patches/fix_undefined_name0000644000000000000000000000154012150473744014356 0ustar From: Simon Chopin Date: Sun, 26 May 2013 22:49:37 +0200 Subject: [PATCH] musicbrainz.py: Fix undefined name in submit_barcodes Forwarded: https://github.com/alastair/python-musicbrainz-ngs/pull/109 --- musicbrainzngs/musicbrainz.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/musicbrainzngs/musicbrainz.py b/musicbrainzngs/musicbrainz.py index 89145f9..f013a7d 100644 --- a/musicbrainzngs/musicbrainz.py +++ b/musicbrainzngs/musicbrainz.py @@ -964,7 +964,7 @@ def get_releases_in_collection(collection): def submit_barcodes(release_barcode): """Submits a set of {release_id1: barcode, ...}""" - query = mbxml.make_barcode_request(release2barcode) + query = mbxml.make_barcode_request(release_barcode) return _do_mb_post("release", query) def submit_puids(recording_puids): -- 1.7.10.4 debian/compat0000644000000000000000000000000211704600117010361 0ustar 8 debian/python-musicbrainzngs-doc.doc-base0000644000000000000000000000057712147722537015730 0ustar Document: python-musicbrainzngs Title: Python Musicbrainz NGS Author: Adrian Sampson Abstract: Python bindings for the Musicbrainz NGS interface Section: Programming/Python Format: HTML Index: /usr/share/doc/python-musicbrainzngs-doc/html/index.html Files: /usr/share/doc/python-musicbrainzngs-doc/html/*.html Format: Text Files: /usr/share/doc/python-musicbrainzngs-doc/rst/*.txt