aboutsummaryrefslogtreecommitdiff
path: root/multimedia/py-subliminal
diff options
context:
space:
mode:
authorMarcus von Appen <mva@FreeBSD.org>2012-12-25 17:19:12 +0000
committerMarcus von Appen <mva@FreeBSD.org>2012-12-25 17:19:12 +0000
commit94b064d49db99bf4356d2c19b51ae30a388d366a (patch)
tree16e186a4c9ac2822a92a8af1a0026525a39bc26e /multimedia/py-subliminal
parent5b9a25b635370d37523228551d53a45976277372 (diff)
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>
Notes
Notes: svn path=/head/; revision=309490
Diffstat (limited to 'multimedia/py-subliminal')
-rw-r--r--multimedia/py-subliminal/Makefile32
-rw-r--r--multimedia/py-subliminal/distinfo2
-rw-r--r--multimedia/py-subliminal/pkg-descr8
3 files changed, 42 insertions, 0 deletions
diff --git a/multimedia/py-subliminal/Makefile b/multimedia/py-subliminal/Makefile
new file mode 100644
index 000000000000..bd9aebc3ca3c
--- /dev/null
+++ b/multimedia/py-subliminal/Makefile
@@ -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>
diff --git a/multimedia/py-subliminal/distinfo b/multimedia/py-subliminal/distinfo
new file mode 100644
index 000000000000..0d5be3fedf8d
--- /dev/null
+++ b/multimedia/py-subliminal/distinfo
@@ -0,0 +1,2 @@
+SHA256 (subliminal-0.6.2.tar.gz) = 7bfd89fc74f6d7c4c9b3f15e4401e5c3c8aedfbda39817275c47fb68fac69776
+SIZE (subliminal-0.6.2.tar.gz) = 61209
diff --git a/multimedia/py-subliminal/pkg-descr b/multimedia/py-subliminal/pkg-descr
new file mode 100644
index 000000000000..7e63127b2948
--- /dev/null
+++ b/multimedia/py-subliminal/pkg-descr
@@ -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