[Python-modules-commits] r25080 - in packages/python-libdiscid/trunk (20 files)
sramacher at users.alioth.debian.org
sramacher at users.alioth.debian.org
Thu Jul 4 20:06:03 UTC 2013
Date: Thursday, July 4, 2013 @ 20:06:02
Author: sramacher
Revision: 25080
[svn-inject] Applying Debian modifications (0.3-1) to trunk
Added:
packages/python-libdiscid/trunk/debian/
packages/python-libdiscid/trunk/debian/changelog
packages/python-libdiscid/trunk/debian/clean
packages/python-libdiscid/trunk/debian/compat
packages/python-libdiscid/trunk/debian/control
packages/python-libdiscid/trunk/debian/copyright
packages/python-libdiscid/trunk/debian/patches/
packages/python-libdiscid/trunk/debian/patches/series
packages/python-libdiscid/trunk/debian/patches/sphinx-documentation.patch
packages/python-libdiscid/trunk/debian/python-libdiscid-dbg.install
packages/python-libdiscid/trunk/debian/python-libdiscid-doc.doc-base
packages/python-libdiscid/trunk/debian/python-libdiscid-doc.docs
packages/python-libdiscid/trunk/debian/python-libdiscid-doc.lintian-overrides
packages/python-libdiscid/trunk/debian/python-libdiscid.install
packages/python-libdiscid/trunk/debian/python3-libdiscid-dbg.install
packages/python-libdiscid/trunk/debian/python3-libdiscid.install
packages/python-libdiscid/trunk/debian/rules
packages/python-libdiscid/trunk/debian/source/
packages/python-libdiscid/trunk/debian/source/format
packages/python-libdiscid/trunk/debian/watch
Property changes on: packages/python-libdiscid/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
+ 1
Added: packages/python-libdiscid/trunk/debian/changelog
===================================================================
--- packages/python-libdiscid/trunk/debian/changelog (rev 0)
+++ packages/python-libdiscid/trunk/debian/changelog 2013-07-04 20:06:02 UTC (rev 25080)
@@ -0,0 +1,5 @@
+python-libdiscid (0.3-1) UNRELEASED; urgency=low
+
+ * Initial release. (Closes: #714950)
+
+ -- Sebastian Ramacher <sramacher at debian.org> Thu, 04 Jul 2013 22:03:31 +0200
Added: packages/python-libdiscid/trunk/debian/clean
===================================================================
--- packages/python-libdiscid/trunk/debian/clean (rev 0)
+++ packages/python-libdiscid/trunk/debian/clean 2013-07-04 20:06:02 UTC (rev 25080)
@@ -0,0 +1,6 @@
+libdiscid/_discid.c
+libdiscid/*.so
+*.egg-info/*
+libdiscid/*.pyc
+libdiscid/*/*.pyc
+libdiscid/*/*/*.pyc
Added: packages/python-libdiscid/trunk/debian/compat
===================================================================
--- packages/python-libdiscid/trunk/debian/compat (rev 0)
+++ packages/python-libdiscid/trunk/debian/compat 2013-07-04 20:06:02 UTC (rev 25080)
@@ -0,0 +1 @@
+9
Added: packages/python-libdiscid/trunk/debian/control
===================================================================
--- packages/python-libdiscid/trunk/debian/control (rev 0)
+++ packages/python-libdiscid/trunk/debian/control 2013-07-04 20:06:02 UTC (rev 25080)
@@ -0,0 +1,106 @@
+Source: python-libdiscid
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Sebastian Ramacher <sramacher at debian.org>
+Build-Depends:
+ debhelper (>= 9),
+ libdiscid0-dev (>= 0.5),
+ 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.4
+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.
Added: packages/python-libdiscid/trunk/debian/copyright
===================================================================
--- packages/python-libdiscid/trunk/debian/copyright (rev 0)
+++ packages/python-libdiscid/trunk/debian/copyright 2013-07-04 20:06:02 UTC (rev 25080)
@@ -0,0 +1,32 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: python-libdiscid
+Upstream-Contact: Sebastian Ramacher <sebastian+dev at ramacher.at>
+Source: http://pypi.python.org/python-libdiscid
+
+Files: *
+Copyright: 2013 Sebastian Ramacher <sebastian+dev at ramacher.at>
+License: Expat
+
+Files: debian/*
+Copyright: 2013 Sebastian Ramacher <sramacher at debian.org>
+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.
Added: packages/python-libdiscid/trunk/debian/patches/series
===================================================================
--- packages/python-libdiscid/trunk/debian/patches/series (rev 0)
+++ packages/python-libdiscid/trunk/debian/patches/series 2013-07-04 20:06:02 UTC (rev 25080)
@@ -0,0 +1 @@
+sphinx-documentation.patch
Added: packages/python-libdiscid/trunk/debian/patches/sphinx-documentation.patch
===================================================================
--- packages/python-libdiscid/trunk/debian/patches/sphinx-documentation.patch (rev 0)
+++ packages/python-libdiscid/trunk/debian/patches/sphinx-documentation.patch 2013-07-04 20:06:02 UTC (rev 25080)
@@ -0,0 +1,41 @@
+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 <sramacher at debian.org>
+Forwarded: not-needed
+Last-Update: 2013-07-04
+
+--- a/docs/source/conf.py
++++ b/docs/source/conf.py
+@@ -255,7 +255,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/source/license.rst
++++ b/docs/source/license.rst
+@@ -3,5 +3,5 @@
+ License
+ -------
+
+-.. include:: ../../LICENSE
+- :literal:
++The license is available `here
++</usr/share/doc/python-libdiscid-doc/copyright>`_.
Added: packages/python-libdiscid/trunk/debian/python-libdiscid-dbg.install
===================================================================
--- packages/python-libdiscid/trunk/debian/python-libdiscid-dbg.install (rev 0)
+++ packages/python-libdiscid/trunk/debian/python-libdiscid-dbg.install 2013-07-04 20:06:02 UTC (rev 25080)
@@ -0,0 +1 @@
+usr/lib/python2.*/*-packages/libdiscid/_discid_d.so
Added: packages/python-libdiscid/trunk/debian/python-libdiscid-doc.doc-base
===================================================================
--- packages/python-libdiscid/trunk/debian/python-libdiscid-doc.doc-base (rev 0)
+++ packages/python-libdiscid/trunk/debian/python-libdiscid-doc.doc-base 2013-07-04 20:06:02 UTC (rev 25080)
@@ -0,0 +1,11 @@
+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
Added: packages/python-libdiscid/trunk/debian/python-libdiscid-doc.docs
===================================================================
--- packages/python-libdiscid/trunk/debian/python-libdiscid-doc.docs (rev 0)
+++ packages/python-libdiscid/trunk/debian/python-libdiscid-doc.docs 2013-07-04 20:06:02 UTC (rev 25080)
@@ -0,0 +1 @@
+docs/build/html
Added: packages/python-libdiscid/trunk/debian/python-libdiscid-doc.lintian-overrides
===================================================================
--- packages/python-libdiscid/trunk/debian/python-libdiscid-doc.lintian-overrides (rev 0)
+++ packages/python-libdiscid/trunk/debian/python-libdiscid-doc.lintian-overrides 2013-07-04 20:06:02 UTC (rev 25080)
@@ -0,0 +1,2 @@
+# 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
Added: packages/python-libdiscid/trunk/debian/python-libdiscid.install
===================================================================
--- packages/python-libdiscid/trunk/debian/python-libdiscid.install (rev 0)
+++ packages/python-libdiscid/trunk/debian/python-libdiscid.install 2013-07-04 20:06:02 UTC (rev 25080)
@@ -0,0 +1,4 @@
+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
Added: packages/python-libdiscid/trunk/debian/python3-libdiscid-dbg.install
===================================================================
--- packages/python-libdiscid/trunk/debian/python3-libdiscid-dbg.install (rev 0)
+++ packages/python-libdiscid/trunk/debian/python3-libdiscid-dbg.install 2013-07-04 20:06:02 UTC (rev 25080)
@@ -0,0 +1 @@
+usr/lib/python3/*-packages/libdiscid/*.cpython-*d*.so
Added: packages/python-libdiscid/trunk/debian/python3-libdiscid.install
===================================================================
--- packages/python-libdiscid/trunk/debian/python3-libdiscid.install (rev 0)
+++ packages/python-libdiscid/trunk/debian/python3-libdiscid.install 2013-07-04 20:06:02 UTC (rev 25080)
@@ -0,0 +1,4 @@
+usr/lib/python3/*-packages/*.egg-info
+usr/lib/python3/*-packages/libdiscid/*.py
+usr/lib/python3/*-packages/libdiscid/compat/*.py
+usr/lib/python3/*-packages/libdiscid/*[!d]m{,u}.so
Added: packages/python-libdiscid/trunk/debian/rules
===================================================================
--- packages/python-libdiscid/trunk/debian/rules (rev 0)
+++ packages/python-libdiscid/trunk/debian/rules 2013-07-04 20:06:02 UTC (rev 25080)
@@ -0,0 +1,56 @@
+#!/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
+ rm -rf docs/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
Property changes on: packages/python-libdiscid/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: packages/python-libdiscid/trunk/debian/source/format
===================================================================
--- packages/python-libdiscid/trunk/debian/source/format (rev 0)
+++ packages/python-libdiscid/trunk/debian/source/format 2013-07-04 20:06:02 UTC (rev 25080)
@@ -0,0 +1 @@
+3.0 (quilt)
Added: packages/python-libdiscid/trunk/debian/watch
===================================================================
--- packages/python-libdiscid/trunk/debian/watch (rev 0)
+++ packages/python-libdiscid/trunk/debian/watch 2013-07-04 20:06:02 UTC (rev 25080)
@@ -0,0 +1,3 @@
+version=3
+https://pypi.python.org/pypi/python-libdiscid \
+ .*/python-libdiscid-(.*)\.tar\.gz#md5=.*
More information about the Python-modules-commits
mailing list