[Python-modules-commits] r29317 - in packages/subliminal/trunk (15 files)
emillon-guest at users.alioth.debian.org
emillon-guest at users.alioth.debian.org
Thu Jun 12 17:12:40 UTC 2014
Date: Thursday, June 12, 2014 @ 17:12:39
Author: emillon-guest
Revision: 29317
[svn-inject] Applying Debian modifications (0.7.4-1) to trunk
Added:
packages/subliminal/trunk/debian/
packages/subliminal/trunk/debian/changelog
packages/subliminal/trunk/debian/compat
packages/subliminal/trunk/debian/control
packages/subliminal/trunk/debian/copyright
packages/subliminal/trunk/debian/patches/
packages/subliminal/trunk/debian/patches/bounds.patch
packages/subliminal/trunk/debian/patches/charade.patch
packages/subliminal/trunk/debian/patches/series
packages/subliminal/trunk/debian/python3-subliminal.manpages
packages/subliminal/trunk/debian/rules
packages/subliminal/trunk/debian/source/
packages/subliminal/trunk/debian/source/format
packages/subliminal/trunk/debian/subliminal.1
packages/subliminal/trunk/debian/watch
Property changes on: packages/subliminal/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
+ 1
Added: packages/subliminal/trunk/debian/changelog
===================================================================
--- packages/subliminal/trunk/debian/changelog (rev 0)
+++ packages/subliminal/trunk/debian/changelog 2014-06-12 17:12:39 UTC (rev 29317)
@@ -0,0 +1,5 @@
+subliminal (0.7.4-1) UNRELEASED; urgency=low
+
+ * Initial release. (Closes: #729781)
+
+ -- Etienne Millon <me at emillon.org> Sat, 16 Nov 2013 14:25:31 +0100
Added: packages/subliminal/trunk/debian/compat
===================================================================
--- packages/subliminal/trunk/debian/compat (rev 0)
+++ packages/subliminal/trunk/debian/compat 2014-06-12 17:12:39 UTC (rev 29317)
@@ -0,0 +1 @@
+9
Added: packages/subliminal/trunk/debian/control
===================================================================
--- packages/subliminal/trunk/debian/control (rev 0)
+++ packages/subliminal/trunk/debian/control 2014-06-12 17:12:39 UTC (rev 29317)
@@ -0,0 +1,56 @@
+Source: subliminal
+Section: python
+Priority: optional
+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>,
+Standards-Version: 3.9.5
+Homepage: https://github.com/Diaoul/subliminal
+Build-Depends:
+ debhelper (>= 9),
+ dh-python,
+ python,
+ python-babelfish,
+ python-dogpile.cache,
+ python-enzyme,
+ python-html5lib,
+ python-guessit,
+ python-pysrt,
+ python-requests,
+ python-setuptools,
+ python3,
+ python3-setuptools,
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.3
+
+Package: python-subliminal
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python:Depends},
+Description: Python library to search and download subtitles (python2 version)
+ It comes with an easy to use CLI (command-line interface) suitable for direct
+ use or cron jobs.
+ .
+ Subliminal uses multiple providers to give users a vast choice and have a
+ better chance to find the best matching subtitles. Providers are extensible
+ through a dedicated entry point.
+ .
+ This package contains only the python2 version.
+
+Package: python3-subliminal
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python3:Depends},
+Description: Python library to search and download subtitles (python3 version)
+ It comes with an easy to use CLI (command-line interface) suitable for direct
+ use or cron jobs.
+ .
+ Subliminal uses multiple providers to give users a vast choice and have a
+ better chance to find the best matching subtitles. Providers are extensible
+ through a dedicated entry point.
+ .
+ This package contains the python3 version and the "subliminal" command-line
+ tool.
Added: packages/subliminal/trunk/debian/copyright
===================================================================
--- packages/subliminal/trunk/debian/copyright (rev 0)
+++ packages/subliminal/trunk/debian/copyright 2014-06-12 17:12:39 UTC (rev 29317)
@@ -0,0 +1,29 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: subliminal
+Source: https://github.com/Diaoul/subliminal
+
+Files: *
+Copyright: 2011-2013 Antoine Bertin <diaoulael at gmail.com>
+License: MIT
+
+Files: debian/*
+Copyright: 2013 Etienne Millon <me at emillon.org>
+License: MIT
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
+ this software and associated documentation files (the "Software"), to deal in
+ the Software without restriction, including without limitation the rights to
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+ the Software, and to permit persons to whom the Software is furnished to do so,
+ subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Added: packages/subliminal/trunk/debian/patches/bounds.patch
===================================================================
--- packages/subliminal/trunk/debian/patches/bounds.patch (rev 0)
+++ packages/subliminal/trunk/debian/patches/bounds.patch 2014-06-12 17:12:39 UTC (rev 29317)
@@ -0,0 +1,19 @@
+From: Etienne Millon <me at emillon.org>
+Subject: Relax bounds in requirements.txt
+
+Explicit upper bounds will break later potentially for no reason.
+
+--- a/requirements.txt
++++ b/requirements.txt
+@@ -1,9 +1,9 @@
+ beautifulsoup4>=4.3.2
+-guessit>=0.6.2,<0.7
++guessit>=0.6.2
+ requests>=2.0.1
+ enzyme>=0.4.0
+ html5lib>=0.99
+ dogpile.cache>=0.5.2
+-babelfish>=0.4.0,<0.5
++babelfish>=0.4.0
+ chardet>=1.0.3
+ pysrt>=0.5.0
Added: packages/subliminal/trunk/debian/patches/charade.patch
===================================================================
--- packages/subliminal/trunk/debian/patches/charade.patch (rev 0)
+++ packages/subliminal/trunk/debian/patches/charade.patch 2014-06-12 17:12:39 UTC (rev 29317)
@@ -0,0 +1,81 @@
+From: Etienne Millon <me at emillon.org>
+Subject: Use chardet instead of charade
+
+The "charade" fork of chardet has been merged back, so it is unnecessary to
+package and use it.
+
+--- a/subliminal/providers/addic7ed.py
++++ b/subliminal/providers/addic7ed.py
+@@ -3,7 +3,7 @@
+ import logging
+ import babelfish
+ import bs4
+-import charade
++import chardet as charade
+ import requests
+ from . import Provider
+ from .. import __version__
+--- a/subliminal/providers/bierdopje.py
++++ b/subliminal/providers/bierdopje.py
+@@ -3,7 +3,7 @@
+ import logging
+ import urllib
+ import babelfish
+-import charade
++import chardet as charade
+ import guessit
+ import requests
+ import xml.etree.ElementTree
+--- a/subliminal/providers/opensubtitles.py
++++ b/subliminal/providers/opensubtitles.py
+@@ -7,7 +7,7 @@
+ import xmlrpclib
+ import zlib
+ import babelfish
+-import charade
++import chardet as charade
+ import guessit
+ from . import Provider
+ from .. import __version__
+--- a/subliminal/providers/podnapisi.py
++++ b/subliminal/providers/podnapisi.py
+@@ -7,7 +7,7 @@
+ import zipfile
+ import babelfish
+ import bs4
+-import charade
++import chardet as charade
+ import guessit
+ import requests
+ from . import Provider
+--- a/subliminal/providers/thesubdb.py
++++ b/subliminal/providers/thesubdb.py
+@@ -2,7 +2,7 @@
+ from __future__ import unicode_literals
+ import logging
+ import babelfish
+-import charade
++import chardet as charade
+ import requests
+ from . import Provider
+ from .. import __version__
+--- a/subliminal/providers/tvsubtitles.py
++++ b/subliminal/providers/tvsubtitles.py
+@@ -6,7 +6,7 @@
+ import zipfile
+ import babelfish
+ import bs4
+-import charade
++import chardet as charade
+ import requests
+ from . import Provider
+ from .. import __version__
+--- a/requirements.txt
++++ b/requirements.txt
+@@ -5,5 +5,5 @@
+ html5lib>=0.99
+ dogpile.cache>=0.5.2
+ babelfish>=0.4.0,<0.5
+-charade>=1.0.3
++chardet>=1.0.3
+ pysrt>=0.5.0
Added: packages/subliminal/trunk/debian/patches/series
===================================================================
--- packages/subliminal/trunk/debian/patches/series (rev 0)
+++ packages/subliminal/trunk/debian/patches/series 2014-06-12 17:12:39 UTC (rev 29317)
@@ -0,0 +1,2 @@
+charade.patch
+bounds.patch
Added: packages/subliminal/trunk/debian/python3-subliminal.manpages
===================================================================
--- packages/subliminal/trunk/debian/python3-subliminal.manpages (rev 0)
+++ packages/subliminal/trunk/debian/python3-subliminal.manpages 2014-06-12 17:12:39 UTC (rev 29317)
@@ -0,0 +1 @@
+debian/subliminal.1
Added: packages/subliminal/trunk/debian/rules
===================================================================
--- packages/subliminal/trunk/debian/rules (rev 0)
+++ packages/subliminal/trunk/debian/rules 2014-06-12 17:12:39 UTC (rev 29317)
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+export PYBUILD_NAME=subliminal
+
+%:
+ dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_installchangelogs:
+ dh_installchangelogs HISTORY.rst
+
+override_dh_auto_test:
+ # Disable test suite as it requires a network connection
+
+override_dh_install:
+ dh_install
+ rm -r debian/python-subliminal/usr/bin/
Property changes on: packages/subliminal/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: packages/subliminal/trunk/debian/source/format
===================================================================
--- packages/subliminal/trunk/debian/source/format (rev 0)
+++ packages/subliminal/trunk/debian/source/format 2014-06-12 17:12:39 UTC (rev 29317)
@@ -0,0 +1 @@
+3.0 (quilt)
Added: packages/subliminal/trunk/debian/subliminal.1
===================================================================
--- packages/subliminal/trunk/debian/subliminal.1 (rev 0)
+++ packages/subliminal/trunk/debian/subliminal.1 2014-06-12 17:12:39 UTC (rev 29317)
@@ -0,0 +1,79 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.45.1.
+.TH SUBLIMINAL "1" "May 2014" "subliminal 0.7.4" "User Commands"
+.SH NAME
+subliminal \- tool to search and download subtitles
+.SH DESCRIPTION
+usage: subliminal \fB\-l\fR LANGUAGE [LANGUAGE ...] [\-s] [\-c CACHE_FILE]
+.IP
+[\-p PROVIDER [PROVIDER ...]] [\-m MIN_SCORE] [\-a AGE] [\-h]
+[\-f] [\-\-addic7ed\-username USERNAME]
+[\-\-addic7ed\-password PASSWORD] [\-q | \fB\-v]\fR [\-\-color] [\-\-debug]
+[\-\-version] [\-\-help]
+PATH [PATH ...]
+.PP
+Subtitles, faster than your thoughts
+.SS "required arguments:"
+.TP
+PATH
+path to video file or folder
+.TP
+\fB\-l\fR LANGUAGE [LANGUAGE ...], \fB\-\-languages\fR LANGUAGE [LANGUAGE ...]
+wanted languages as IETF codes e.g. fr, pt\-BR, sr\-Cyrl
+.SS "configuration:"
+.TP
+\fB\-s\fR, \fB\-\-single\fR
+download without language code in subtitle's filename
+i.e. .srt only
+.TP
+\fB\-c\fR CACHE_FILE, \fB\-\-cache\-file\fR CACHE_FILE
+cache file (default: ~/.config/subliminal.cache.dbm)
+.SS "filtering:"
+.TP
+\fB\-p\fR PROVIDER [PROVIDER ...], \fB\-\-providers\fR PROVIDER [PROVIDER ...]
+providers to use (opensubtitles, tvsubtitles,
+podnapisi, addic7ed, bierdopje, thesubdb)
+.TP
+\fB\-m\fR MIN_SCORE, \fB\-\-min\-score\fR MIN_SCORE
+minimum score for subtitles (0\-46 for episodes, 0\-31
+for movies)
+.TP
+\fB\-a\fR AGE, \fB\-\-age\fR AGE
+download subtitles for videos newer than AGE e.g. 12h,
+1w2d
+.TP
+\fB\-h\fR, \fB\-\-hearing\-impaired\fR
+download hearing impaired subtitles
+.TP
+\fB\-f\fR, \fB\-\-force\fR
+force subtitle download for videos with existing
+subtitles
+.SS "addic7ed:"
+.TP
+\fB\-\-addic7ed\-username\fR USERNAME
+username for addic7ed provider
+.TP
+\fB\-\-addic7ed\-password\fR PASSWORD
+password for addic7ed provider
+.SS "output:"
+.TP
+\fB\-q\fR, \fB\-\-quiet\fR
+disable output
+.TP
+\fB\-v\fR, \fB\-\-verbose\fR
+verbose output
+.TP
+\fB\-\-color\fR
+add color to console output (requires colorlog)
+.SS "troubleshooting:"
+.TP
+\fB\-\-debug\fR
+debug output
+.TP
+\fB\-\-version\fR
+show program's version number and exit
+.TP
+\fB\-\-help\fR
+show this help message and exit
+.PP
+Suggestions and bug reports are greatly appreciated:
+https://github.com/Diaoul/subliminal/issues
Added: packages/subliminal/trunk/debian/watch
===================================================================
--- packages/subliminal/trunk/debian/watch (rev 0)
+++ packages/subliminal/trunk/debian/watch 2014-06-12 17:12:39 UTC (rev 29317)
@@ -0,0 +1,2 @@
+version=3
+https://pypi.python.org/packages/source/s/subliminal/subliminal-(.*).tar.gz
More information about the Python-modules-commits
mailing list