[Python-modules-commits] r26197 - in packages/pytaglib/trunk/debian (14 files)

cjsmo-guest at users.alioth.debian.org cjsmo-guest at users.alioth.debian.org
Fri Oct 18 15:42:03 UTC 2013


    Date: Friday, October 18, 2013 @ 15:42:01
  Author: cjsmo-guest
Revision: 26197

update to use pybuild, only build py3 package

Modified:
  packages/pytaglib/trunk/debian/changelog
  packages/pytaglib/trunk/debian/compat
  packages/pytaglib/trunk/debian/control
  packages/pytaglib/trunk/debian/copyright
  packages/pytaglib/trunk/debian/python3-taglib.manpages
  packages/pytaglib/trunk/debian/rules
Deleted:
  packages/pytaglib/trunk/debian/patches/
  packages/pytaglib/trunk/debian/python-taglib.install
  packages/pytaglib/trunk/debian/python-taglib.manpages
  packages/pytaglib/trunk/debian/python-taglib.postinst
  packages/pytaglib/trunk/debian/python-taglib.prerm
  packages/pytaglib/trunk/debian/python3-taglib.install
  packages/pytaglib/trunk/debian/python3-taglib.postinst
  packages/pytaglib/trunk/debian/python3-taglib.prerm

Modified: packages/pytaglib/trunk/debian/changelog
===================================================================
--- packages/pytaglib/trunk/debian/changelog	2013-10-18 15:41:32 UTC (rev 26196)
+++ packages/pytaglib/trunk/debian/changelog	2013-10-18 15:42:01 UTC (rev 26197)
@@ -1,11 +1,6 @@
-pytaglib (0.3.4-2) UNRELEASED; urgency=low
+pytaglib (0.3.6-1) UNRELEASED; urgency=low
 
-  * Add Vcs-* fields.
-
- -- Jakub Wilk <jwilk at debian.org>  Sun, 05 May 2013 15:05:56 +0200
-
-pytaglib (0.3.4-1) experimental; urgency=low
-
   * Initial release (Closes: #696455)
+  * Thx Jakub Wilk <jwilk at debian.org> for adding the Vcs-* fields.
 
- -- Michael Helmling <michaelhelmling at posteo.de>  Thu, 17 Jan 2013 20:14:07 +0100
+ -- Charlie Smotherman <cjsmo at cableone.net>  Mon, 14 Oct 2013 21:19:47 -0500

Modified: packages/pytaglib/trunk/debian/compat
===================================================================
--- packages/pytaglib/trunk/debian/compat	2013-10-18 15:41:32 UTC (rev 26196)
+++ packages/pytaglib/trunk/debian/compat	2013-10-18 15:42:01 UTC (rev 26197)
@@ -1 +1 @@
-8
+9

Modified: packages/pytaglib/trunk/debian/control
===================================================================
--- packages/pytaglib/trunk/debian/control	2013-10-18 15:41:32 UTC (rev 26196)
+++ packages/pytaglib/trunk/debian/control	2013-10-18 15:42:01 UTC (rev 26197)
@@ -1,38 +1,33 @@
 Source: pytaglib
 Section: python
 Priority: extra
-Maintainer: Michael Helmling <michaelhelmling at posteo.de>
-Build-Depends: debhelper (>= 8), python-all-dev (>= 2.7), python3-all-dev (>= 3.2), cython (>= 0.16), cython3 (>=0.16), libtag1-dev (>= 1.8), python-setuptools, python3-setuptools
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Michael Helmling <michaelhelmling at posteo.de>,
+ Charlie Smotherman <cjsmo at cableone.net>
+Build-Depends: debhelper (>= 9),
+ python3-all-dev (>= 3.3),
+ python3-setuptools,
+ cython3 (>=0.16),
+ libtag1-dev (>= 1.8),
+ python3-pytest
 Standards-Version: 3.9.4
-X-Python-Version: >= 2.7
-X-Python3-Version: >= 3.2
-Homepage: http://github.com/supermihi/pytaglib
+X-Python3-Version: >= 3.3
+Homepage: http://pypi.python.org/packages/source/p/pytaglib
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/pytaglib/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/pytaglib/trunk/
 
-Package: python-taglib
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libtag1c2a (>= 1.8), python-pkg-resources
-Description: Python bindings for the TagLib audio metadata library
- Pytaglib provides an easy interface to read and write metadata of audio files
- in Python (this package contains the build for Python2). It relies on the
- TagLib library and thus supports all formats that are supported by TagLib,
- which include all relevant formats in use today.
- .
- Pytaglib allows you to use arbitrary tag names (not only the most common ones
- like TITLE, ARTIST, ALBUM, ...) and even define multiple values for the same
- tag, as long as the metadata system of the underlying audio file supports that.
-
 Package: python3-taglib
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}, libtag1c2a (>= 1.8), python3-pkg-resources
+Depends: ${shlibs:Depends},
+ ${misc:Depends},
+ ${python3:Depends},
+ libtag1c2a (>= 1.8),
+ python3-pkg-resources
 Architecture: any
 Description: Python3 bindings for the TagLib audio metadata library
  Pytaglib provides an easy interface to read and write metadata of audio files
- in Python (this package contains the build for Python3). It relies on the
- TagLib library and thus supports all formats that are supported by TagLib,
- which include all relevant formats in use today.
+ in Python. It relies on the TagLib library and thus supports all formats that
+ are supported by TagLib, which include all relevant formats in use today.
  .
  Pytaglib allows you to use arbitrary tag names (not only the most common ones
  like TITLE, ARTIST, ALBUM, ...) and even define multiple values for the same
  tag, as long as the metadata system of the underlying audio file supports that.
-

Modified: packages/pytaglib/trunk/debian/copyright
===================================================================
--- packages/pytaglib/trunk/debian/copyright	2013-10-18 15:41:32 UTC (rev 26196)
+++ packages/pytaglib/trunk/debian/copyright	2013-10-18 15:42:01 UTC (rev 26197)
@@ -8,16 +8,27 @@
  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License version 3 as
  published by the Free Software Foundation
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
 
 Files: debian/*
 Copyright: 2013 Michael Helmling <michaelhelmling at posteo.de>
-License: GPL-2+
- This package is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
+           2013 Charlie Smotherman <cjsmo at cableone.net>
+License: GPL-3
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License version 3 as
+ published by the Free Software Foundation
  .
- This package is distributed in the hope that it will be useful,
+ This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.
@@ -26,4 +37,4 @@
  along with this program. If not, see <http://www.gnu.org/licenses/>
  .
  On Debian systems, the complete text of the GNU General
- Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".

Deleted: packages/pytaglib/trunk/debian/python-taglib.install
===================================================================
--- packages/pytaglib/trunk/debian/python-taglib.install	2013-10-18 15:41:32 UTC (rev 26196)
+++ packages/pytaglib/trunk/debian/python-taglib.install	2013-10-18 15:42:01 UTC (rev 26197)
@@ -1,2 +0,0 @@
-usr/lib/python2.*/
-usr/bin/pyprinttags-python2

Deleted: packages/pytaglib/trunk/debian/python-taglib.manpages
===================================================================
--- packages/pytaglib/trunk/debian/python-taglib.manpages	2013-10-18 15:41:32 UTC (rev 26196)
+++ packages/pytaglib/trunk/debian/python-taglib.manpages	2013-10-18 15:42:01 UTC (rev 26197)
@@ -1 +0,0 @@
-doc/pyprinttags-python2.1

Deleted: packages/pytaglib/trunk/debian/python-taglib.postinst
===================================================================
--- packages/pytaglib/trunk/debian/python-taglib.postinst	2013-10-18 15:41:32 UTC (rev 26196)
+++ packages/pytaglib/trunk/debian/python-taglib.postinst	2013-10-18 15:42:01 UTC (rev 26197)
@@ -1,12 +0,0 @@
-#!/bin/sh
-set -e
-
-if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] ; then
-  update-alternatives --install /usr/bin/pyprinttags \
-    pyprinttags /usr/bin/pyprinttags-python2 2 \
-    --slave /usr/share/man/man1/pyprinttags.1.gz \
-    pyprinttags.1.gz /usr/share/man/man1/pyprinttags-python2.1.gz
-fi              
-
-#DEBHELPER#
-

Deleted: packages/pytaglib/trunk/debian/python-taglib.prerm
===================================================================
--- packages/pytaglib/trunk/debian/python-taglib.prerm	2013-10-18 15:41:32 UTC (rev 26196)
+++ packages/pytaglib/trunk/debian/python-taglib.prerm	2013-10-18 15:42:01 UTC (rev 26197)
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ "$1" != "upgrade" ]; then
-    update-alternatives --remove pyprinttags /usr/bin/pyprinttags-python2
-fi
-
-#DEBHELPER#

Deleted: packages/pytaglib/trunk/debian/python3-taglib.install
===================================================================
--- packages/pytaglib/trunk/debian/python3-taglib.install	2013-10-18 15:41:32 UTC (rev 26196)
+++ packages/pytaglib/trunk/debian/python3-taglib.install	2013-10-18 15:42:01 UTC (rev 26197)
@@ -1,2 +0,0 @@
-usr/lib/python3/
-usr/bin/pyprinttags-python3

Modified: packages/pytaglib/trunk/debian/python3-taglib.manpages
===================================================================
--- packages/pytaglib/trunk/debian/python3-taglib.manpages	2013-10-18 15:41:32 UTC (rev 26196)
+++ packages/pytaglib/trunk/debian/python3-taglib.manpages	2013-10-18 15:42:01 UTC (rev 26197)
@@ -1 +1 @@
-doc/pyprinttags-python3.1
+doc/pyprinttags3.1

Deleted: packages/pytaglib/trunk/debian/python3-taglib.postinst
===================================================================
--- packages/pytaglib/trunk/debian/python3-taglib.postinst	2013-10-18 15:41:32 UTC (rev 26196)
+++ packages/pytaglib/trunk/debian/python3-taglib.postinst	2013-10-18 15:42:01 UTC (rev 26197)
@@ -1,12 +0,0 @@
-#!/bin/sh
-set -e
-
-if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] ; then
-  update-alternatives --install /usr/bin/pyprinttags \
-    pyprinttags /usr/bin/pyprinttags-python3 3 \
-    --slave /usr/share/man/man1/pyprinttags.1.gz \
-    pyprinttags.1.gz /usr/share/man/man1/pyprinttags-python3.1.gz
-fi              
-
-#DEBHELPER#
-

Deleted: packages/pytaglib/trunk/debian/python3-taglib.prerm
===================================================================
--- packages/pytaglib/trunk/debian/python3-taglib.prerm	2013-10-18 15:41:32 UTC (rev 26196)
+++ packages/pytaglib/trunk/debian/python3-taglib.prerm	2013-10-18 15:42:01 UTC (rev 26197)
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ "$1" != "upgrade" ]; then
-    update-alternatives --remove pyprinttags /usr/bin/pyprinttags-python3
-fi
-
-#DEBHELPER#

Modified: packages/pytaglib/trunk/debian/rules
===================================================================
--- packages/pytaglib/trunk/debian/rules	2013-10-18 15:41:32 UTC (rev 26196)
+++ packages/pytaglib/trunk/debian/rules	2013-10-18 15:42:01 UTC (rev 26197)
@@ -1,27 +1,11 @@
 #!/usr/bin/make -f
 # -*- mode: makefile; coding: utf-8 -*-
 
-PYTHON2=$(shell pyversions -r)
-PYTHON3=$(shell py3versions -r)
+export PYBUILD_DISABLE_python3=test
+export PYBUILD_INSTAL_ARGS_python3=--install-layout=deb
 
 %:
-	dh $@ --with=python2,python3
+	dh $@ --with=python3 --buildsystem=pybuild
 
-override_dh_auto_clean:
-	dh_auto_clean
-	rm  -f doc/pyprinttags-python?.1
-	rm -rf build/
-
-override_dh_auto_install:
-	set -ex; for python in $(PYTHON3); do \
-		$$python setup.py install --install-layout=deb --root=debian/tmp; \
-	done
-	# remove hard coded python3 version from script
-	sed -i '1c#!/usr/bin/python3' debian/tmp/usr/bin/pyprinttags-python3
-	dh_auto_install
-
 override_dh_auto_build:
-	rm src/taglib.cpp
-	cp doc/pyprinttags.1 doc/pyprinttags-python3.1
-	cp doc/pyprinttags.1 doc/pyprinttags-python2.1
-	dh_auto_build
+	mv doc/pyprinttags.1 doc/pyprinttags3.1




More information about the Python-modules-commits mailing list