[Python-modules-commits] r27346 - in packages/pysrt/trunk/debian (control rules)

emillon-guest at users.alioth.debian.org emillon-guest at users.alioth.debian.org
Tue Jan 21 09:31:37 UTC 2014


    Date: Tuesday, January 21, 2014 @ 09:31:36
  Author: emillon-guest
Revision: 27346

pysrt: add python3 package

Modified:
  packages/pysrt/trunk/debian/control
  packages/pysrt/trunk/debian/rules

Modified: packages/pysrt/trunk/debian/control
===================================================================
--- packages/pysrt/trunk/debian/control	2014-01-21 09:19:18 UTC (rev 27345)
+++ packages/pysrt/trunk/debian/control	2014-01-21 09:31:36 UTC (rev 27346)
@@ -10,11 +10,14 @@
  dh-python,
  python-all (>= 2.6.6-6~),
  python-setuptools,
+ python3-all,
+ python3-setuptools,
 Standards-Version: 3.9.5
 Homepage: https://github.com/byroot/pysrt
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/pysrt/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/pysrt/trunk/
 X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.2
 
 Package: python-pysrt
 Architecture: all
@@ -26,3 +29,20 @@
  pysrt can be used to edit or create SubRip (.srt) subtitle files from Python.
  It supports parsing, shifting, removing, slicing, spliting and rescaling of
  these files.
+ .
+ This is the Python 2 version of the package.
+ .
+ It also contains the "srt" binary to interact with this library.
+
+Package: python3-pysrt
+Architecture: all
+Depends:
+ python3-pkg-resources,
+ ${misc:Depends},
+ ${python3:Depends},
+Description: library to edit or create SubRip files (Python 3)
+ pysrt can be used to edit or create SubRip (.srt) subtitle files from Python.
+ It supports parsing, shifting, removing, slicing, spliting and rescaling of
+ these files.
+ .
+ This is the Python 3 version of the package.

Modified: packages/pysrt/trunk/debian/rules
===================================================================
--- packages/pysrt/trunk/debian/rules	2014-01-21 09:19:18 UTC (rev 27345)
+++ packages/pysrt/trunk/debian/rules	2014-01-21 09:31:36 UTC (rev 27346)
@@ -4,4 +4,8 @@
 export PYBUILD_DISABLE=test
 
 %:
-	dh $@ --with python2 --buildsystem=pybuild
+	dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_install:
+	dh_install
+	rm -r debian/python3-pysrt/usr/bin/




More information about the Python-modules-commits mailing list