[Python-modules-commits] r26505 - in packages/pysrt/trunk (12 files)

emillon-guest at users.alioth.debian.org emillon-guest at users.alioth.debian.org
Sun Nov 24 12:34:35 UTC 2013


    Date: Sunday, November 24, 2013 @ 12:34:34
  Author: emillon-guest
Revision: 26505

[svn-inject] Application des modifications Debian (0.5.1-1) pour le tronc

Added:
  packages/pysrt/trunk/debian/
  packages/pysrt/trunk/debian/changelog
  packages/pysrt/trunk/debian/compat
  packages/pysrt/trunk/debian/control
  packages/pysrt/trunk/debian/copyright
  packages/pysrt/trunk/debian/patches/
  packages/pysrt/trunk/debian/patches/chardet.patch
  packages/pysrt/trunk/debian/patches/series
  packages/pysrt/trunk/debian/rules
  packages/pysrt/trunk/debian/source/
  packages/pysrt/trunk/debian/source/format
  packages/pysrt/trunk/debian/watch


Property changes on: packages/pysrt/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/pysrt/trunk/debian/changelog
===================================================================
--- packages/pysrt/trunk/debian/changelog	                        (rev 0)
+++ packages/pysrt/trunk/debian/changelog	2013-11-24 12:34:34 UTC (rev 26505)
@@ -0,0 +1,5 @@
+pysrt (0.5.1-1) UNRELEASED; urgency=low
+
+  * Initial release. (Closes: #729872)
+
+ -- Etienne Millon <me at emillon.org>  Mon, 18 Nov 2013 17:02:24 +0100

Added: packages/pysrt/trunk/debian/compat
===================================================================
--- packages/pysrt/trunk/debian/compat	                        (rev 0)
+++ packages/pysrt/trunk/debian/compat	2013-11-24 12:34:34 UTC (rev 26505)
@@ -0,0 +1 @@
+9

Added: packages/pysrt/trunk/debian/control
===================================================================
--- packages/pysrt/trunk/debian/control	                        (rev 0)
+++ packages/pysrt/trunk/debian/control	2013-11-24 12:34:34 UTC (rev 26505)
@@ -0,0 +1,28 @@
+Source: pysrt
+Section: python
+Priority: extra
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders:
+ Etienne Millon <me at emillon.org>,
+ Oxan van Leeuwen <oxan at oxanvanleeuwen.nl>,
+Build-Depends:
+ debhelper (>= 9),
+ dh-python,
+ python-all (>= 2.6.6-6~),
+ python-setuptools,
+Standards-Version: 3.9.4
+Homepage: https://github.com/byroot/pysrt
+Vcs-Git: https://github.com/emillon/pysrt-debian.git
+Vcs-Browser: https://github.com/emillon/pysrt-debian
+X-Python-Version: >= 2.7
+
+Package: python-pysrt
+Architecture: all
+Depends:
+ python-pkg-resources,
+ ${misc:Depends},
+ ${python:Depends},
+Description: library to edit or create SubRip files (Python 2)
+ 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.

Added: packages/pysrt/trunk/debian/copyright
===================================================================
--- packages/pysrt/trunk/debian/copyright	                        (rev 0)
+++ packages/pysrt/trunk/debian/copyright	2013-11-24 12:34:34 UTC (rev 26505)
@@ -0,0 +1,45 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pysrt
+Upstream-Contact: https://github.com/byroot/pysrt
+Source: http://pypi.python.org/pypi/pysrt
+
+Files: *
+Copyright: 2009 - 2013 Jean Boussier
+License: GPL-3
+
+Files: debian/*
+Copyright: 2013 Oxan van Leeuwen <oxan at oxanvanleeuwen.nl>
+License: GPL-3+
+
+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 as published by
+ the Free Software Foundation, version 3 of the License.
+ .
+ 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 full text of the GNU General Public License
+ version 3 can be found in the file /usr/share/common-licenses/GPL-3.
+
+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 as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ 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 full text of the GNU General Public License
+ version 3 can be found in the file /usr/share/common-licenses/GPL-3.

Added: packages/pysrt/trunk/debian/patches/chardet.patch
===================================================================
--- packages/pysrt/trunk/debian/patches/chardet.patch	                        (rev 0)
+++ packages/pysrt/trunk/debian/patches/chardet.patch	2013-11-24 12:34:34 UTC (rev 26505)
@@ -0,0 +1,34 @@
+Description: Use chardet instead of charade
+ Charade is not yet package for Debian (ITP #698258), so in the meantime we can
+ use chardet instead.
+Author: Etienne Millon <me at emillon.org>
+Forwarded: not-needed
+---
+--- a/pysrt/srtfile.py
++++ b/pysrt/srtfile.py
+@@ -6,10 +6,7 @@
+ from itertools import chain
+ from copy import copy
+ 
+-try:
+-    import charade
+-except ImportError:  # For python < 2.6
+-    import chardet as charade
++import chardet as charade
+ 
+ from pysrt.srtexc import Error
+ from pysrt.srtitem import SubRipItem
+--- a/setup.py
++++ b/setup.py
+@@ -13,10 +13,7 @@
+     pass
+ 
+ REQUIRES = []
+-if sys.version_info < (2, 6):
+-    REQUIRES.append('chardet')
+-else:
+-    REQUIRES.append('charade')
++REQUIRES.append('chardet')
+ 
+ if sys.version_info < (2, 7):
+     REQUIRES.append('argparse')

Added: packages/pysrt/trunk/debian/patches/series
===================================================================
--- packages/pysrt/trunk/debian/patches/series	                        (rev 0)
+++ packages/pysrt/trunk/debian/patches/series	2013-11-24 12:34:34 UTC (rev 26505)
@@ -0,0 +1 @@
+chardet.patch

Added: packages/pysrt/trunk/debian/rules
===================================================================
--- packages/pysrt/trunk/debian/rules	                        (rev 0)
+++ packages/pysrt/trunk/debian/rules	2013-11-24 12:34:34 UTC (rev 26505)
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+export PYBUILD_NAME=pysrt
+# Temporarily disable tests, as the needed resources aren't shipped upstream.
+export PYBUILD_DISABLE=test
+# Temporarily disable python3 package, as we need to integrate a separate upstream
+# release for Python 3; it seems.
+export PYBUILD_DISABLE_python3=1
+
+%:
+	dh $@ --with python2 --buildsystem=pybuild


Property changes on: packages/pysrt/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/pysrt/trunk/debian/source/format
===================================================================
--- packages/pysrt/trunk/debian/source/format	                        (rev 0)
+++ packages/pysrt/trunk/debian/source/format	2013-11-24 12:34:34 UTC (rev 26505)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: packages/pysrt/trunk/debian/watch
===================================================================
--- packages/pysrt/trunk/debian/watch	                        (rev 0)
+++ packages/pysrt/trunk/debian/watch	2013-11-24 12:34:34 UTC (rev 26505)
@@ -0,0 +1,2 @@
+version=3
+https://pypi.python.org/packages/source/p/pysrt/pysrt-(.*).tar.gz
\ No newline at end of file




More information about the Python-modules-commits mailing list