Subliminal is a python library to search and download subtitles.

It uses video hashes and the powerful guessit library that extracts
informations from filenames or filepaths to ensure you have the best
subtitles. It also relies on enzyme to detect embedded subtitles and avoid
duplicates.

WWW:	http://subliminal.readthedocs.org/en/latest/index.html

PR:		ports/172909
Submitted by:	William Grzybowski <william88@gmail.com>
This commit is contained in:
Marcus von Appen 2012-12-25 17:19:12 +00:00
parent 5b9a25b635
commit 94b064d49d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=309490
4 changed files with 43 additions and 0 deletions

View File

@ -274,6 +274,7 @@
SUBDIR += py-kaa-base
SUBDIR += py-kaa-imlib2
SUBDIR += py-kaa-metadata
SUBDIR += py-subliminal
SUBDIR += py-mlt
SUBDIR += py-openlp
SUBDIR += py-periscope

View File

@ -0,0 +1,32 @@
# Created by: William Grzybowski <william88@gmail.com>
# $FreeBSD$
PORTNAME= subliminal
PORTVERSION= 0.6.2
CATEGORIES= multimedia python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= william88@gmail.com
COMMENT= Subliminal is a python library to search and download subtitles
LICENSE= LGPL3
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.0:${PORTSDIR}/www/py-beautifulsoup \
${PYTHON_PKGNAMEPREFIX}enzyme>0:${PORTSDIR}/multimedia/py-enzyme \
${PYTHON_PKGNAMEPREFIX}guessit>0:${PORTSDIR}/multimedia/py-guessit \
${PYTHON_PKGNAMEPREFIX}requests>0:${PORTSDIR}/www/py-requests \
${PYTHON_PKGNAMEPREFIX}html5lib>0:${PORTSDIR}/www/py-html5lib
USE_PYTHON= -2.7
USE_PYDISTUTILS= easy_install
PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% bin/subliminal
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 270
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}argparse>=1.1:${PORTSDIR}/devel/py-argparse
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,2 @@
SHA256 (subliminal-0.6.2.tar.gz) = 7bfd89fc74f6d7c4c9b3f15e4401e5c3c8aedfbda39817275c47fb68fac69776
SIZE (subliminal-0.6.2.tar.gz) = 61209

View File

@ -0,0 +1,8 @@
Subliminal is a python library to search and download subtitles.
It uses video hashes and the powerful guessit library that extracts
informations from filenames or filepaths to ensure you have the best
subtitles. It also relies on enzyme to detect embedded subtitles and avoid
duplicates.
WWW: http://subliminal.readthedocs.org/en/latest/index.html