[Python-modules-commits] r29996 - in packages/subliminal/trunk/debian (3 files)

emillon-guest at users.alioth.debian.org emillon-guest at users.alioth.debian.org
Tue Jul 29 10:36:19 UTC 2014


    Date: Tuesday, July 29, 2014 @ 10:36:11
  Author: emillon-guest
Revision: 29996

subliminal: generate manpage at build time

Modified:
  packages/subliminal/trunk/debian/control
  packages/subliminal/trunk/debian/rules
Deleted:
  packages/subliminal/trunk/debian/subliminal.1

Modified: packages/subliminal/trunk/debian/control
===================================================================
--- packages/subliminal/trunk/debian/control	2014-07-29 06:34:33 UTC (rev 29995)
+++ packages/subliminal/trunk/debian/control	2014-07-29 10:36:11 UTC (rev 29996)
@@ -12,6 +12,7 @@
 Build-Depends:
  debhelper (>= 9),
  dh-python,
+ help2man,
  python,
  python-babelfish,
  python-dogpile.cache,
@@ -22,6 +23,14 @@
  python-requests,
  python-setuptools,
  python3,
+ python3-babelfish,
+ python3-bs4,
+ python3-dogpile.cache,
+ python3-enzyme,
+ python3-guessit,
+ python3-html5lib,
+ python3-pysrt,
+ python3-requests,
  python3-setuptools,
 X-Python-Version: >= 2.6
 X-Python3-Version: >= 3.3

Modified: packages/subliminal/trunk/debian/rules
===================================================================
--- packages/subliminal/trunk/debian/rules	2014-07-29 06:34:33 UTC (rev 29995)
+++ packages/subliminal/trunk/debian/rules	2014-07-29 10:36:11 UTC (rev 29996)
@@ -15,3 +15,7 @@
 	rm -r debian/python-subliminal/usr/bin/
 	mkdir -p debian/subliminal/usr
 	mv debian/python3-subliminal/usr/bin debian/subliminal/usr
+
+override_dh_installman:
+	PYTHONPATH=. help2man -N -n 'tool to search and download subtitles' debian/subliminal/usr/bin/subliminal > debian/subliminal.1
+	dh_installman

Deleted: packages/subliminal/trunk/debian/subliminal.1
===================================================================
--- packages/subliminal/trunk/debian/subliminal.1	2014-07-29 06:34:33 UTC (rev 29995)
+++ packages/subliminal/trunk/debian/subliminal.1	2014-07-29 10:36:11 UTC (rev 29996)
@@ -1,79 +0,0 @@
-.\" 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




More information about the Python-modules-commits mailing list