[Python-modules-commits] r27333 - in packages/pytaglib/trunk/debian (5 files)

cjsmo-guest at users.alioth.debian.org cjsmo-guest at users.alioth.debian.org
Mon Jan 20 20:05:44 UTC 2014


    Date: Monday, January 20, 2014 @ 20:05:43
  Author: cjsmo-guest
Revision: 27333

* FtpMasters have deemed that /src/tests/data/id3v22-tda.mp3 is non-free
  content.  Removed /src/tests/data/id3v22-tda.mp3 from the *orig.tar.gz,
  repacked the tarball to comply with the DFSG.  Bug report filed
  upstream.
* With the removal of /src/tests/data/id3v22-tda.mp3 the tests suite fails,
  disabled tests in debian/rules.
* Updated debian/copyright Source field with the correct URL, per
  FtpMasters recommenations.
* Updated Standards Version to 3.9.5 no changes needed.
* Updated debian/watch to dversionmangle "dfsg".
* Added get-orig-source targe to debian/rules to repack the tarball.

Modified:
  packages/pytaglib/trunk/debian/changelog
  packages/pytaglib/trunk/debian/control
  packages/pytaglib/trunk/debian/copyright
  packages/pytaglib/trunk/debian/rules
  packages/pytaglib/trunk/debian/watch

Modified: packages/pytaglib/trunk/debian/changelog
===================================================================
--- packages/pytaglib/trunk/debian/changelog	2014-01-20 17:31:30 UTC (rev 27332)
+++ packages/pytaglib/trunk/debian/changelog	2014-01-20 20:05:43 UTC (rev 27333)
@@ -1,3 +1,19 @@
+pytaglib (0.3.6+dfsg-1) unstable; urgency=low
+
+  * FtpMasters have deemed that /src/tests/data/id3v22-tda.mp3 is non-free
+    content.  Removed /src/tests/data/id3v22-tda.mp3 from the *orig.tar.gz,
+    repacked the tarball to comply with the DFSG.  Bug report filed
+    upstream.
+  * With the removal of /src/tests/data/id3v22-tda.mp3 the tests suite fails,
+    disabled tests in debian/rules.
+  * Updated debian/copyright Source field with the correct URL, per
+    FtpMasters recommenations.
+  * Updated Standards Version to 3.9.5 no changes needed.
+  * Updated debian/watch to dversionmangle "dfsg".
+  * Added get-orig-source targe to debian/rules to repack the tarball.
+
+ -- Charlie Smotherman <cjsmo at cableone.net>  Mon, 20 Jan 2014 08:12:13 -0500
+
 pytaglib (0.3.6-1) unstable; urgency=low
 
   * Initial release (Closes: #696455)

Modified: packages/pytaglib/trunk/debian/control
===================================================================
--- packages/pytaglib/trunk/debian/control	2014-01-20 17:31:30 UTC (rev 27332)
+++ packages/pytaglib/trunk/debian/control	2014-01-20 20:05:43 UTC (rev 27333)
@@ -11,9 +11,9 @@
  cython3 (>=0.16),
  libtag1-dev (>= 1.8),
  python3-pytest
-Standards-Version: 3.9.4
+Standards-Version: 3.9.5
 X-Python3-Version: >= 3.3
-Homepage: http://pypi.python.org/packages/source/p/pytaglib
+Homepage: https://pypi.python.org/pypi/pytaglib
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/pytaglib/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/pytaglib/trunk/
 

Modified: packages/pytaglib/trunk/debian/copyright
===================================================================
--- packages/pytaglib/trunk/debian/copyright	2014-01-20 17:31:30 UTC (rev 27332)
+++ packages/pytaglib/trunk/debian/copyright	2014-01-20 20:05:43 UTC (rev 27333)
@@ -1,6 +1,6 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: pytaglib
-Source: http://github.com/supermihi/pytaglib
+Source: https://pypi.python.org/pypi/pytaglib
 
 Files: *
 Copyright: 2011-2012 Michael Helmling <michaelhelmling at posteo.de>

Modified: packages/pytaglib/trunk/debian/rules
===================================================================
--- packages/pytaglib/trunk/debian/rules	2014-01-20 17:31:30 UTC (rev 27332)
+++ packages/pytaglib/trunk/debian/rules	2014-01-20 20:05:43 UTC (rev 27333)
@@ -1,7 +1,8 @@
 #!/usr/bin/make -f
 # -*- mode: makefile; coding: utf-8 -*-
 
-export PYBUILD_TEST=--test-pytest
+DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
+export PYBUILD_DISABLE=test
 export PYBUILD_AFTER_INSTALL=mv {destdir}/{install_dir}/pyprinttags.py {destdir}/usr/bin/pyprinttags
 
 %:
@@ -10,3 +11,14 @@
 
 override_dh_python3:
 	dh_python3 --shebang /usr/bin/python3
+
+get-orig-source:
+	uscan --noconf --force-download --download-current-version --no-symlink --destdir=.
+	tar -xvf *tar.gz
+	rm p*tar.gz
+	mv pytaglib* pytaglib-$(DEB_UPSTREAM_VERSION)
+	rm pytaglib-$(DEB_UPSTREAM_VERSION)/src/tests/data/id3v22-tda.mp3
+	GZIP=--best tar -cz --owner root --group root --mode a+rX -f \
+		pytaglib_$(DEB_UPSTREAM_VERSION).orig.tar.gz \
+		pytaglib-$(DEB_UPSTREAM_VERSION)
+

Modified: packages/pytaglib/trunk/debian/watch
===================================================================
--- packages/pytaglib/trunk/debian/watch	2014-01-20 17:31:30 UTC (rev 27332)
+++ packages/pytaglib/trunk/debian/watch	2014-01-20 20:05:43 UTC (rev 27333)
@@ -1,2 +1,3 @@
 version=3
-http://pypi.python.org/packages/source/p/pytaglib/pytaglib-(.*)\.tar\.gz
+opts="dversionmangle=s/\+dfsg//" \
+	http://pypi.python.org/packages/source/p/pytaglib/pytaglib-(.*)\.tar\.gz




More information about the Python-modules-commits mailing list