debian/0000775000000000000000000000000012316541120007163 5ustar debian/source/0000775000000000000000000000000012261651737010502 5ustar debian/source/format0000664000000000000000000000001412165352652011705 0ustar 3.0 (quilt) debian/source/include-binaries0000664000000000000000000000004012261623000013612 0ustar debian/upstream-signing-key.pgp debian/copyright0000664000000000000000000000270212261621502011121 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: python-libdiscid Upstream-Contact: Sebastian Ramacher Source: http://pypi.python.org/pypi/python-libdiscid Files: * Copyright: 2013 Sebastian Ramacher License: Expat Files: debian/* Copyright: 2013-2014 Sebastian Ramacher License: Expat License: Expat 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. debian/python3-libdiscid-dbg.install0000664000000000000000000000006612165352652014653 0ustar usr/lib/python3/*-packages/libdiscid/*.cpython-*d*.so debian/python-libdiscid-dbg.install0000664000000000000000000000006412165352652014566 0ustar usr/lib/python2.*/*-packages/libdiscid/_discid_d.so debian/python-libdiscid-doc.docs0000664000000000000000000000001312223341641014042 0ustar build/html debian/changelog0000664000000000000000000000306412316541117011046 0ustar python-libdiscid (0.4.1-1build1) trusty; urgency=medium * No change rebuild to drop python3.3 compiled extension. -- Dimitri John Ledkov Tue, 01 Apr 2014 14:42:39 +0100 python-libdiscid (0.4.1-1) unstable; urgency=low * New upstream version. * debian/{watch,upstream-signing-key.pgp}: Add pgpsigurlmangle and upstream's key. * debian/control: Bump Standards-Version to 3.9.5. * debian/copyright: Update copyright years. -- Sebastian Ramacher Sat, 04 Jan 2014 01:19:39 +0100 python-libdiscid (0.4-1) unstable; urgency=low * New upstream version. * debian/patches: - skip-read-tests-if-not-available.patch: Removed, no longer needed. - sphinx-documentation.patch: Refreshed. * debian/control: Bump libdiscid0-dev to >= 0.6 for new features. * debian/{rules,python-libdiscid-doc.docs}: Update for new path of the documentation. -- Sebastian Ramacher Thu, 03 Oct 2013 17:32:00 +0200 python-libdiscid (0.3.1-1) unstable; urgency=low * New upstream version. * debian/python3-libdiscid.install: Fix lintian warning brace-expansion-in-debhelper-config-file. * debian/patches/skip-read-tests-if-not-available.patch: Add upstream patch to skip read tests if reading is not supported. * debian/watch: Use HTTPS for PyPI. -- Sebastian Ramacher Mon, 09 Sep 2013 18:34:06 +0200 python-libdiscid (0.3-1) unstable; urgency=low * Initial release. (Closes: #714950) -- Sebastian Ramacher Fri, 05 Jul 2013 00:43:36 +0200 debian/python-libdiscid.install0000664000000000000000000000026512165352652014037 0ustar usr/lib/python2*/*-packages/*.egg-info usr/lib/python2*/*-packages/libdiscid/*.py usr/lib/python2*/*-packages/libdiscid/compat/*.py usr/lib/python2*/*-packages/libdiscid/_discid.so debian/control0000664000000000000000000000706512316541120010576 0ustar Source: python-libdiscid Section: python Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Python Modules Team Uploaders: Sebastian Ramacher Build-Depends: debhelper (>= 9), libdiscid0-dev (>= 0.6), python-all-dev (>= 2.6.3-3~), python-all-dev (>= 2.7.5) | python-unittest2, python-all-dbg, python3-all-dev, python3-all-dbg, python-setuptools, python3-setuptools, cython (>= 0.15), cython3, cython-dbg, cython3-dbg, Build-Depends-Indep: python-sphinx (>= 1.0.7+dfsg-1~), python-doc X-Python-Version: >= 2.6 X-Python3-Version: >= 3.2 Standards-Version: 3.9.5 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-libdiscid/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-libdiscid/trunk/ Homepage: https://pypi.python.org/pypi/python-libdiscid Package: python-libdiscid Architecture: any Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} Suggests: python-libdiscid-dbg, python-libdiscid-doc Description: libdiscid binding for Python 2 libdiscid allows one to create MusicBrainz DiscIDs from audio CDs. It reads a CD's table of contents and generates and identifier which can be used to lookup the CD at MusicBrainz. python-libdiscid provides a binding to work with libdiscid from Python. . This package provides the binding for Python 2. Package: python-libdiscid-dbg Section: debug Priority: extra Architecture: any Depends: python-libdiscid (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, ${python:Depends} Description: libdiscid binding for Python (debug extension) libdiscid allows one to create MusicBrainz DiscIDs from audio CDs. It reads a CD's table of contents and generates and identifier which can be used to lookup the CD at MusicBrainz. python-libdiscid provides a binding to work with libdiscid from Python. . This package provides the extensions built for the Python 2 debug interpreter. Package: python3-libdiscid Architecture: any Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends} Suggests: python3-libdiscid-dbg, python-libdiscid-doc Description: libdiscid binding for Python 3 libdiscid allows one to create MusicBrainz DiscIDs from audio CDs. It reads a CD's table of contents and generates and identifier which can be used to lookup the CD at MusicBrainz. python-libdiscid provides a binding to work with libdiscid from Python. . This package provides the binding for Python 3. Package: python3-libdiscid-dbg Section: debug Priority: extra Architecture: any Depends: python3-libdiscid (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends} Description: libdiscid binding for Python 3 (debug extension) libdiscid allows one to create MusicBrainz DiscIDs from audio CDs. It reads a CD's table of contents and generates and identifier which can be used to lookup the CD at MusicBrainz. python-libdiscid provides a binding to work with libdiscid from Python. . This package provides the extensions built for the Python 3 debug interpreter. Package: python-libdiscid-doc Section: doc Architecture: all Depends: ${misc:Depends}, ${sphinxdoc:Depends} Description: libdiscid binding for Python (documentation) libdiscid allows one to create MusicBrainz DiscIDs from audio CDs. It reads a CD's table of contents and generates and identifier which can be used to lookup the CD at MusicBrainz. python-libdiscid provides a binding to work with libdiscid from Python. . This package contains the documentation. debian/python-libdiscid-doc.lintian-overrides0000664000000000000000000000027412165352652016572 0ustar # the file contains link to the copyright file in /usr/share/doc/python-libdiscid-doc python-libdiscid-doc: extra-license-file usr/share/doc/python-libdiscid-doc/html/_sources/license.txt debian/python-libdiscid-doc.doc-base0000664000000000000000000000054712165352652014614 0ustar Document: python-libdiscid Title: python-libdiscid API Documentation Author: Sebastian Ramacher Abstract: python-libdiscid provides Python bindings for libdiscid. This is the API documentation for it. Section: Programming/Python Format: HTML Index: /usr/share/doc/python-libdiscid-doc/html/index.html Files: /usr/share/doc/python-libdiscid-doc/html/*.html debian/rules0000775000000000000000000000272512223341641010254 0ustar #!/usr/bin/make -f # Get the supported Python 2 versions PYVERS=$(shell pyversions -vr) # Get the default Python 2 version PYVERSD=$(shell pyversions -vd) # Get the supported Python 3 versions PY3VERS=$(shell py3versions -vr) %: dh $@ --with=python2,python3 override_dh_auto_clean: rm -rf build build-%-stamp: python$(*) setup.py build touch $@ override_dh_auto_build-arch: \ $(PYVERS:%=build-%-stamp) $(PYVERS:%=build-%-dbg-stamp) \ $(PY3VERS:%=build-%-stamp) $(PY3VERS:%=build-%-dbg-stamp) override_dh_auto_build-indep: build-$(PYVERSD)-stamp python$(PYVERSD) setup.py build_sphinx install-%-stamp: python$(*) setup.py install --install-layout=deb --root $(CURDIR)/debian/tmp touch $@ override_dh_auto_install-arch: \ $(PYVERS:%=install-%-stamp) $(PYVERS:%=install-%-dbg-stamp) \ $(PY3VERS:%=install-%-stamp) $(PY3VERS:%=install-%-dbg-stamp) rm debian/tmp/usr/lib/python*/*-packages/python_libdiscid*.egg-info/SOURCES.txt test-%-stamp: ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) python$(*) setup.py test endif touch $@ override_dh_auto_test-arch: \ $(PYVERS:%=test-%-stamp) $(PYVERS:%=test-%-dbg-stamp) \ $(PY3VERS:%=test-%-stamp) $(PY3VERS:%=test-%-dbg-stamp) # no install and test for indep override_dh_auto_install-indep override_dh_auto_test-indep: override_dh_installdocs-indep: dh_installdocs -i dh_sphinxdoc -i override_dh_strip: dh_strip -X"python3" --dbg-package=python-libdiscid-dbg dh_strip -X"python2" --dbg-package=python3-libdiscid-dbg debian/watch0000664000000000000000000000021212261622020010205 0ustar version=3 opts=pgpsigurlmangle=s/$/.asc/ \ https://pypi.python.org/packages/source/p/python-libdiscid/python-libdiscid-(\d+.*)\.tar\.gz debian/python3-libdiscid.install0000664000000000000000000000027112213365314014110 0ustar usr/lib/python3/*-packages/*.egg-info usr/lib/python3/*-packages/libdiscid/*.py usr/lib/python3/*-packages/libdiscid/compat/*.py usr/lib/python3/*-packages/libdiscid/_discid.*[!d]m*.so debian/clean0000664000000000000000000000014612165352652010205 0ustar libdiscid/_discid.c libdiscid/*.so *.egg-info/* libdiscid/*.pyc libdiscid/*/*.pyc libdiscid/*/*/*.pyc debian/patches/0000775000000000000000000000000012261651737010631 5ustar debian/patches/sphinx-documentation.patch0000664000000000000000000000221212223341641016013 0ustar Description: Sphinx documentation tweaks Instead of including the license verbatim in the documentation, link to /usr/share/doc/python-libdiscid-doc/copyright. Also use intersphinx-mappings installed locally. Author: Sebastian Ramacher Forwarded: not-needed Last-Update: 2013-07-04 --- a/docs/conf.py +++ b/docs/conf.py @@ -182,7 +182,16 @@ 'musicbrainz': ('http://musicbrainz.org/doc/%s', ''), } -intersphinx_mapping = { - 'python': ('http://docs.python.org/', None), - 'pydiscid': ('https://python-discid.readthedocs.org/en/latest/', None), -} + +def check_object_path(key, url, path): + if os.path.isfile(path): + return {key: (url, path)} + return {} + +intersphinx_mapping = {} +intersphinx_mapping.update( + check_object_path('python', + 'http://docs.python.org/', + '/usr/share/doc/python%d.%d/html/objects.inv' % \ + sys.version_info[:2])) + --- a/docs/license.rst +++ b/docs/license.rst @@ -3,5 +3,5 @@ License ------- -.. include:: ../LICENSE - :literal: +The license is available `here +`_. debian/patches/series0000664000000000000000000000003312223341641012026 0ustar sphinx-documentation.patch debian/upstream-signing-key.pgp0000664000000000000000000001233312261651522013766 0ustar  J åNC.k;%kUhDKd%Ŝ2=v2ِ| HcX0X1 }O7n*i4NX-/fU5jܟўɮ$6݌탓60ile.#W%HgjS'Nmn]cWd̒0尭5+ٶڢ*'˨#5,8$o4A 9cšA_a"8h5ȉ9$0a0Q4#P%F zCC"5&l`kPb@Ia2ؾyX9 K"¾Hiq`b-"f[Xjm9aOL4jŀ~$O:皕qd58o:+qz m$R͆ /4qUr1i3K|aY*Sebastian Ramacher @*    蹧P` iQn d#dT9#b_-bSgAp5sVqW8x+z.r O3IdgLwQigp,AǙu*p %^yA`T,,;Ե@% /n`q|QU,N}-!b=w5:k?W&:1n 5?718k:MYF8tFN[~rì :,Xaߛ׹"l:9H{.gfz:/ l+,X28RjfoDЪ/x1m6?dc^:ŵpLDŽV-c[ / O)w<^ZƯT.53ow 0h2PmxarSfˠ$NVxP!}q_ȋ k YVА[W7-ahxeػ4"5S)Sebastian Ramacher ='    蹧P` iQnKI+,M@5S04[ng.` o:}FD3j_{β}>CYm`9[jK9ݧ+ q@ WS.deT zqOׄIn@Ÿ4%᠌( je=mkO։/L? Yw2@|J* w=L| Bʆ`nE&?dZ8`P;cvm uy98ių5RDgc$bDiIj>Gr Q+}3jĢmt% YaGQZc16yPV[yZiPQ /+6Ӵ>oFci`D܇\XL,;sb[md˶FRKwj;*E|7@TԦ3SZ`ؑ_&NRae/z3/{2.jbtkYNi~>cx/1n0-MLI{AQ39̰ؿ-al&Sebastian Ramacher ='   P` 蹧 iQnNޜ0ZYw_Nɟ٨xvP^a) BV>r5U4 d;t9FgQ$n^B%{q(D)o6E*z~zhg& J}߄S)@ [e='   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