[Python-modules-commits] r32307 - in packages/tvdb-api/trunk/debian (changelog control rules)
morph at users.alioth.debian.org
morph at users.alioth.debian.org
Sat Apr 11 17:24:40 UTC 2015
Date: Saturday, April 11, 2015 @ 17:24:39
Author: morph
Revision: 32307
* debian/{control, rules}
- build py3k package
Modified:
packages/tvdb-api/trunk/debian/changelog
packages/tvdb-api/trunk/debian/control
packages/tvdb-api/trunk/debian/rules
Modified: packages/tvdb-api/trunk/debian/changelog
===================================================================
--- packages/tvdb-api/trunk/debian/changelog 2015-04-11 17:18:30 UTC (rev 32306)
+++ packages/tvdb-api/trunk/debian/changelog 2015-04-11 17:24:39 UTC (rev 32307)
@@ -10,8 +10,10 @@
- set me as Maintainer, team as Uploaders
* switch from pysupport to dh_python2
* bump dh compat to 9
+ * debian/{control, rules}
+ - build py3k package
- -- Sandro Tosi <morph at debian.org> Sat, 11 Apr 2015 18:18:19 +0100
+ -- Sandro Tosi <morph at debian.org> Sat, 11 Apr 2015 18:24:15 +0100
tvdb-api (1.9-1) unstable; urgency=low
Modified: packages/tvdb-api/trunk/debian/control
===================================================================
--- packages/tvdb-api/trunk/debian/control 2015-04-11 17:18:30 UTC (rev 32306)
+++ packages/tvdb-api/trunk/debian/control 2015-04-11 17:24:39 UTC (rev 32307)
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Sandro Tosi <morph at debian.org>
Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 9), python-all, dh-python, python-setuptools
+Build-Depends: debhelper (>= 9), python-all, dh-python, python-setuptools, python3, python3-setuptools
XS-Python-Version: all
Standards-Version: 3.9.6
Homepage: https://github.com/dbr/tvdb_api
@@ -15,3 +15,11 @@
Depends: ${python:Depends}, ${misc:Depends}
Description: API interface to TheTVDB.com
An easy to use API interface to TheTVDB.com .
+
+Package: python3-tvdb-api
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Description: API interface to TheTVDB.com (Python 3)
+ An easy to use API interface to TheTVDB.com .
+ .
+ This is the Python 3 package for tvdb_api.
Modified: packages/tvdb-api/trunk/debian/rules
===================================================================
--- packages/tvdb-api/trunk/debian/rules 2015-04-11 17:18:30 UTC (rev 32306)
+++ packages/tvdb-api/trunk/debian/rules 2015-04-11 17:24:39 UTC (rev 32307)
@@ -1,14 +1,19 @@
#!/usr/bin/make -f
%:
- dh $@ --with python2
+ dh $@ --with python2,python3
+
override_dh_clean:
dh_clean
rm -rf tvdb_api.egg-info
override_dh_auto_install:
dh_auto_install
+
+ python setup.py install --root=debian/python-tvdb-api --install-layout=deb
+ python3 setup.py install --root=debian/python3-tvdb-api --install-layout=deb
+
rm -rf debian/*/usr/lib/python*/*-packages/tvdb_api*.egg-info
override_dh_installdocs:
More information about the Python-modules-commits
mailing list