[Python-modules-commits] [tagpy] 01/01: Add python3-tagpy binary package (closes: 739216)

Piotr Ożarowski piotr at moszumanska.debian.org
Fri Jul 21 10:51:22 UTC 2017


This is an automated email from the git hooks/post-receive script.

piotr pushed a commit to branch master
in repository tagpy.

commit 96fc623ffa27d7c271bf2553c27b928fd63d0401
Author: Piotr Ożarowski <piotr at debian.org>
Date:   Fri Jul 21 12:43:32 2017 +0200

    Add python3-tagpy binary package (closes: 739216)
---
 debian/changelog |  4 ++++
 debian/control   | 14 +++++++++++++-
 debian/rules     |  7 ++++---
 3 files changed, 21 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b39ffde..7943967 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,11 @@
 tagpy (2013.1-6) UNRELEASED; urgency=medium
 
+  [ Ondřej Nový ]
   * Fixed VCS URL (https)
 
+  [ Piotr Ożarowski ]
+  * Add python3-tagpy binary package (Closes: #739216)
+
  -- Ondřej Nový <novy at ondrej.org>  Tue, 29 Mar 2016 22:35:04 +0200
 
 tagpy (2013.1-5) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index 3e6be9c..d84063a 100644
--- a/debian/control
+++ b/debian/control
@@ -4,13 +4,17 @@ Priority: extra
 Maintainer: Michal Čihař <nijel at debian.org>
 Uploaders: Python Modules Packaging Team <python-modules-team at lists.alioth.debian.org>
 Build-Depends: debhelper (>= 9),
+    dh-python,
     dpkg-dev (>= 1.16.1~),
     python-all-dev (>= 2.6.6-3~),
+    python3-all-dev,
     libtag1-dev (>= 1.8), 
     libboost-python-dev (>= 1.39.2),
     pkg-config,
     python-pkg-resources,
-    python-setuptools
+    python3-pkg-resources,
+    python-setuptools,
+    python3-setuptools,
 Standards-Version: 3.9.6
 X-Python-Version: >= 2.5
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/tagpy.git
@@ -25,3 +29,11 @@ Description: Python module for manipulating tags in music files
  Binds Python to Scott Wheeler's TagLib. Makes it easy to read ID3 tags
  from MP3 files, Xiph Comments from Ogg Vorbis and FLAC files, and APE
  tags from MusePack files.
+
+Package: python3-tagpy
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}
+Description: Python 3 module for manipulating tags in music files
+ Binds Python to Scott Wheeler's TagLib. Makes it easy to read ID3 tags
+ from MP3 files, Xiph Comments from Ogg Vorbis and FLAC files, and APE
+ tags from MusePack files.
diff --git a/debian/rules b/debian/rules
index 5045594..e5b5495 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,9 +4,10 @@
 #export DH_VERBOSE=1
 
 %:
-	dh $@ --with python2
+	dh $@ --with python2,python3
 
-PYVERSIONS=$(shell pyversions -v -r)
+PYVERSIONS=$(shell pyversions -v -r) $(shell py3versions -v -r) 
+include /usr/share/python3/python.mk
 
 override_dh_compress:
 	dh_compress -X examples
@@ -24,7 +25,7 @@ override_dh_auto_build-%:
 override_dh_auto_build: $(PYVERSIONS:%=override_dh_auto_build-%)
 
 override_dh_auto_install-%:
-	SITECONF_NAME=siteconf$*.py python$* setup.py build -b build$* install --no-compile --root=debian/python-tagpy --install-layout=deb
+	SITECONF_NAME=siteconf$*.py python$* setup.py build -b build$* install --no-compile --root=debian/$(call py_pkgname,python-tagpy,$*) --install-layout=deb
 
 override_dh_auto_install: $(PYVERSIONS:%=override_dh_auto_install-%)
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/tagpy.git



More information about the Python-modules-commits mailing list