Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/subliminal subliminal: Update to 2.1.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3b12a0cb70c4
branches:  trunk
changeset: 430640:3b12a0cb70c4
user:      leot <leot%pkgsrc.org@localhost>
date:      Sat May 02 16:32:01 2020 +0000

description:
subliminal: Update to 2.1.0

pkgsrc changes:
 - Remove no longer needed patches

Changes:
2.1.0
-----
 * Improve legendastv provider matches
 * Fix video extensions (.mk3d .ogm .ogv)
 * Use new url to search for titles in legendastv provider
 * Fix stevedore incompatibility
 * Add support to webm video extension
 * Make providers easier to be extended and customized
 * Update podnapisi URL
 * Add support to VIP/Donor accounts in legendastv provider
 * Proper handling titles with year / country in legendastv provider
 * Several minor enhancements in legendastv provider
 * Add support for python 3.6, 3.7 and 3.8
 * Drop support for python 3.3 and 3.4
 * Do not discard providers bad zip/rar is downloaded
 * SubsCenter provider removal
 * Fix lxml parsing for Addic7ed provider
 * Support titles with asterics in Addic7ed provider
 * Add support to multi-episode search in Opensubtitles provider
 * Fix multi-episode search in TVSubtitles provider
 * Update to guessit 3
 * Improve archive scanning
 * Add Opensubtitles VIP provider
 * Add country to Movie and Episode
 * Add streaming_service to Video
 * Add info property to Subtitle
 * Do not search for subtitles if all required languages is already present
 * Improve TVDB refiner to support series with comma
 * Add alternative_titles to Video and enhance OMDB refiner to use alternative_titles
 * Only compute video hashes when required
 * Add apikey to OMDB refiner
 * Fix Subtitle validation when unable to guess encoding
 * Add support to rar in Dockerfile

diffstat:

 textproc/subliminal/Makefile                                           |   9 +-
 textproc/subliminal/PLIST                                              |  20 +++---
 textproc/subliminal/distinfo                                           |  12 +--
 textproc/subliminal/patches/patch-subliminal_subtitles_____init____.py |  19 ------
 textproc/subliminal/patches/patch-subliminal_subtitles_subrip.py       |  28 ----------
 5 files changed, 19 insertions(+), 69 deletions(-)

diffs (162 lines):

diff -r 0ebcb6165485 -r 3b12a0cb70c4 textproc/subliminal/Makefile
--- a/textproc/subliminal/Makefile      Sat May 02 15:07:42 2020 +0000
+++ b/textproc/subliminal/Makefile      Sat May 02 16:32:01 2020 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2019/04/25 07:33:25 maya Exp $
+# $NetBSD: Makefile,v 1.4 2020/05/02 16:32:01 leot Exp $
 
-DISTNAME=      subliminal-2.0.5
-PKGREVISION=   2
+DISTNAME=      subliminal-2.1.0
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/subliminal/}
 
@@ -17,13 +16,13 @@
 DEPENDS+=      ${PYPKGPREFIX}-click>=4.0:../../devel/py-click
 DEPENDS+=      ${PYPKGPREFIX}-dogpile-cache>=0.6.0:../../devel/py-dogpile-cache
 DEPENDS+=      ${PYPKGPREFIX}-enzyme>=0.4.1:../../multimedia/py-enzyme
-DEPENDS+=      ${PYPKGPREFIX}-guessit>=2.0.1:../../textproc/py-guessit
+DEPENDS+=      ${PYPKGPREFIX}-guessit>=3.0.0:../../textproc/py-guessit
 DEPENDS+=      ${PYPKGPREFIX}-pysrt>=1.0.1:../../textproc/py-pysrt
 DEPENDS+=      ${PYPKGPREFIX}-pytz>=2012c:../../time/py-pytz
 DEPENDS+=      ${PYPKGPREFIX}-rarfile>=2.7:../../archivers/py-rarfile
 DEPENDS+=      ${PYPKGPREFIX}-requests>=2.0:../../devel/py-requests
 DEPENDS+=      ${PYPKGPREFIX}-six>=1.9.0:../../lang/py-six
-DEPENDS+=      ${PYPKGPREFIX}-stevedore>=1.0.0:../../devel/py-stevedore
+DEPENDS+=      ${PYPKGPREFIX}-stevedore>=1.20.0:../../devel/py-stevedore
 
 .include "../../lang/python/egg.mk"
 
diff -r 0ebcb6165485 -r 3b12a0cb70c4 textproc/subliminal/PLIST
--- a/textproc/subliminal/PLIST Sat May 02 15:07:42 2020 +0000
+++ b/textproc/subliminal/PLIST Sat May 02 16:32:01 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2017/04/14 19:10:23 leot Exp $
+@comment $NetBSD: PLIST,v 1.3 2020/05/02 16:32:01 leot Exp $
 bin/subliminal-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -42,12 +42,18 @@
 ${PYSITELIB}/subliminal/extensions.py
 ${PYSITELIB}/subliminal/extensions.pyc
 ${PYSITELIB}/subliminal/extensions.pyo
+${PYSITELIB}/subliminal/matches.py
+${PYSITELIB}/subliminal/matches.pyc
+${PYSITELIB}/subliminal/matches.pyo
 ${PYSITELIB}/subliminal/providers/__init__.py
 ${PYSITELIB}/subliminal/providers/__init__.pyc
 ${PYSITELIB}/subliminal/providers/__init__.pyo
 ${PYSITELIB}/subliminal/providers/addic7ed.py
 ${PYSITELIB}/subliminal/providers/addic7ed.pyc
 ${PYSITELIB}/subliminal/providers/addic7ed.pyo
+${PYSITELIB}/subliminal/providers/argenteam.py
+${PYSITELIB}/subliminal/providers/argenteam.pyc
+${PYSITELIB}/subliminal/providers/argenteam.pyo
 ${PYSITELIB}/subliminal/providers/legendastv.py
 ${PYSITELIB}/subliminal/providers/legendastv.pyc
 ${PYSITELIB}/subliminal/providers/legendastv.pyo
@@ -63,9 +69,6 @@
 ${PYSITELIB}/subliminal/providers/shooter.py
 ${PYSITELIB}/subliminal/providers/shooter.pyc
 ${PYSITELIB}/subliminal/providers/shooter.pyo
-${PYSITELIB}/subliminal/providers/subscenter.py
-${PYSITELIB}/subliminal/providers/subscenter.pyc
-${PYSITELIB}/subliminal/providers/subscenter.pyo
 ${PYSITELIB}/subliminal/providers/thesubdb.py
 ${PYSITELIB}/subliminal/providers/thesubdb.pyc
 ${PYSITELIB}/subliminal/providers/thesubdb.pyo
@@ -75,6 +78,9 @@
 ${PYSITELIB}/subliminal/refiners/__init__.py
 ${PYSITELIB}/subliminal/refiners/__init__.pyc
 ${PYSITELIB}/subliminal/refiners/__init__.pyo
+${PYSITELIB}/subliminal/refiners/hash.py
+${PYSITELIB}/subliminal/refiners/hash.pyc
+${PYSITELIB}/subliminal/refiners/hash.pyo
 ${PYSITELIB}/subliminal/refiners/metadata.py
 ${PYSITELIB}/subliminal/refiners/metadata.pyc
 ${PYSITELIB}/subliminal/refiners/metadata.pyo
@@ -90,12 +96,6 @@
 ${PYSITELIB}/subliminal/subtitle.py
 ${PYSITELIB}/subliminal/subtitle.pyc
 ${PYSITELIB}/subliminal/subtitle.pyo
-${PYSITELIB}/subliminal/subtitles/__init__.py
-${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
diff -r 0ebcb6165485 -r 3b12a0cb70c4 textproc/subliminal/distinfo
--- a/textproc/subliminal/distinfo      Sat May 02 15:07:42 2020 +0000
+++ b/textproc/subliminal/distinfo      Sat May 02 16:32:01 2020 +0000
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.2 2017/04/14 19:10:23 leot Exp $
+$NetBSD: distinfo,v 1.3 2020/05/02 16:32:01 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) = 4e44270d77605812537a7549195c8667b083cf0e
+SHA1 (subliminal-2.1.0.tar.gz) = b273697d189421e0514fdacbf780339fc5a1845a
+RMD160 (subliminal-2.1.0.tar.gz) = b2d37c118cad7645c69b63aabdc5591731c8416f
+SHA512 (subliminal-2.1.0.tar.gz) = cba824329b5590856331b4b83dd753eebbb732979a826cb7e7017c176bce892d28f7fe1f237e27c3afabda113dd8967ce6772006bc9be0abe48c3ea14fe05647
+Size (subliminal-2.1.0.tar.gz) = 52468 bytes
diff -r 0ebcb6165485 -r 3b12a0cb70c4 textproc/subliminal/patches/patch-subliminal_subtitles_____init____.py
--- a/textproc/subliminal/patches/patch-subliminal_subtitles_____init____.py    Sat May 02 15:07:42 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-subliminal_subtitles_____init____.py,v 1.1 2017/04/14 14:17:45 leot Exp $
-
-Use print() function from the __future__ in order to make the code compatible
-with Python 3.
-
---- subliminal/subtitles/__init__.py.orig      2016-05-01 17:44:42.000000000 +0000
-+++ subliminal/subtitles/__init__.py
-@@ -1,4 +1,5 @@
- # -*- coding: utf-8 -*-
-+from __future__ import print_function
- from datetime import time
- 
- 
-@@ -85,4 +86,4 @@ class Cue(object):
- 
- if __name__ == '__main__':
-     cue = Cue(time(), time(1), [Bold('Hello')])
--    print repr(cue)
-+    print(repr(cue))
diff -r 0ebcb6165485 -r 3b12a0cb70c4 textproc/subliminal/patches/patch-subliminal_subtitles_subrip.py
--- a/textproc/subliminal/patches/patch-subliminal_subtitles_subrip.py  Sat May 02 15:07:42 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-$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.
-- Fix an indentation error.
-
---- subliminal/subtitles/subrip.py.orig        2016-06-24 19:30:34.000000000 +0000
-+++ subliminal/subtitles/subrip.py
-@@ -1,4 +1,5 @@
- # -*- coding: utf-8 -*-
-+from __future__ import print_function
- import re
- from datetime import time
- 
-@@ -73,10 +74,10 @@ class SubripSubtitle(object):
- 
- 
- if __name__ == '__main__':
--    print read_cue('toto')
--      i = 0
-+    print(read_cue('toto'))
-+    i = 0
-     for x in read_cue('toto'):
--        print x
-+        print(x)
-         if i > 10:
-             break
-         i += 1



Home | Main Index | Thread Index | Old Index