pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/subliminal
Module Name: pkgsrc
Committed By: leot
Date: Fri Apr 14 19:10:23 UTC 2017
Modified Files:
pkgsrc/textproc/subliminal: Makefile PLIST distinfo
pkgsrc/textproc/subliminal/patches:
patch-subliminal_subtitles_subrip.py
Log Message:
Fix indentation and incorrect __future__ import in patch-subliminal_subtitles_subrip.py
Bump PKGREVISION
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/subliminal/Makefile \
pkgsrc/textproc/subliminal/PLIST pkgsrc/textproc/subliminal/distinfo
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/textproc/subliminal/patches/patch-subliminal_subtitles_subrip.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/subliminal/Makefile
diff -u pkgsrc/textproc/subliminal/Makefile:1.1 pkgsrc/textproc/subliminal/Makefile:1.2
--- pkgsrc/textproc/subliminal/Makefile:1.1 Fri Apr 14 14:17:45 2017
+++ pkgsrc/textproc/subliminal/Makefile Fri Apr 14 19:10:23 2017
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2017/04/14 14:17:45 leot Exp $
+# $NetBSD: Makefile,v 1.2 2017/04/14 19:10:23 leot Exp $
DISTNAME= subliminal-2.0.5
+PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_PYPI:=s/subliminal/}
Index: pkgsrc/textproc/subliminal/PLIST
diff -u pkgsrc/textproc/subliminal/PLIST:1.1 pkgsrc/textproc/subliminal/PLIST:1.2
--- pkgsrc/textproc/subliminal/PLIST:1.1 Fri Apr 14 14:17:45 2017
+++ pkgsrc/textproc/subliminal/PLIST Fri Apr 14 19:10:23 2017
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2017/04/14 14:17:45 leot Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/04/14 19:10:23 leot Exp $
bin/subliminal-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -94,6 +94,8 @@ ${PYSITELIB}/subliminal/subtitles/__init
${PYSITELIB}/subliminal/subtitles/__init__.pyc
${PYSITELIB}/subliminal/subtitles/__init__.pyo
${PYSITELIB}/subliminal/subtitles/subrip.py
+${PYSITELIB}/subliminal/subtitles/subrip.pyc
+${PYSITELIB}/subliminal/subtitles/subrip.pyo
${PYSITELIB}/subliminal/utils.py
${PYSITELIB}/subliminal/utils.pyc
${PYSITELIB}/subliminal/utils.pyo
Index: pkgsrc/textproc/subliminal/distinfo
diff -u pkgsrc/textproc/subliminal/distinfo:1.1 pkgsrc/textproc/subliminal/distinfo:1.2
--- pkgsrc/textproc/subliminal/distinfo:1.1 Fri Apr 14 14:17:45 2017
+++ pkgsrc/textproc/subliminal/distinfo Fri Apr 14 19:10:23 2017
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.1 2017/04/14 14:17:45 leot Exp $
+$NetBSD: distinfo,v 1.2 2017/04/14 19:10:23 leot Exp $
SHA1 (subliminal-2.0.5.tar.gz) = a74f7be06afda4ce53563a13ce7d685fa4f1148f
RMD160 (subliminal-2.0.5.tar.gz) = 0e9426ac4681cdf0e8a8f7742f4fada2f228d91c
SHA512 (subliminal-2.0.5.tar.gz) = 56bc0e87496d5bc361430c4ee396b20374da697014203bdc4dda12341918e67c98aec579e44bd467898dbbf11f31e9de47ece17a0d78339f2bc700e3e6c8dd40
Size (subliminal-2.0.5.tar.gz) = 51247 bytes
SHA1 (patch-subliminal_subtitles_____init____.py) = 253b44d1421f51bc91abdbf960dbf759517e3f28
-SHA1 (patch-subliminal_subtitles_subrip.py) = f1ee205dce7cc566377d0a43b80974c7ef2432d8
+SHA1 (patch-subliminal_subtitles_subrip.py) = 4e44270d77605812537a7549195c8667b083cf0e
Index: pkgsrc/textproc/subliminal/patches/patch-subliminal_subtitles_subrip.py
diff -u pkgsrc/textproc/subliminal/patches/patch-subliminal_subtitles_subrip.py:1.1 pkgsrc/textproc/subliminal/patches/patch-subliminal_subtitles_subrip.py:1.2
--- pkgsrc/textproc/subliminal/patches/patch-subliminal_subtitles_subrip.py:1.1 Fri Apr 14 14:17:45 2017
+++ pkgsrc/textproc/subliminal/patches/patch-subliminal_subtitles_subrip.py Fri Apr 14 19:10:23 2017
@@ -1,24 +1,25 @@
-$NetBSD: patch-subliminal_subtitles_subrip.py,v 1.1 2017/04/14 14:17:45 leot Exp $
+$NetBSD: patch-subliminal_subtitles_subrip.py,v 1.2 2017/04/14 19:10:23 leot Exp $
-Use print() function from the __future__ in order to make the code compatible
-with Python 3.
+- Use print() function from the __future__ in order to make the code compatible
+ with Python 3.
+- Fix an indentation error.
--- subliminal/subtitles/subrip.py.orig 2016-06-24 19:30:34.000000000 +0000
+++ subliminal/subtitles/subrip.py
-@@ -1,5 +1,6 @@
+@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
- import re
+from __future__ import print_function
+ import re
from datetime import time
- from subliminal.subtitles import Cue
@@ -73,10 +74,10 @@ class SubripSubtitle(object):
if __name__ == '__main__':
- print read_cue('toto')
+- i = 0
+ print(read_cue('toto'))
- i = 0
++ i = 0
for x in read_cue('toto'):
- print x
+ print(x)
Home |
Main Index |
Thread Index |
Old Index