aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/py-subliminal
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2012-12-26 01:19:12 +0800
committermva <mva@FreeBSD.org>2012-12-26 01:19:12 +0800
commitf232558c1bbd65b887278a49ee8879d3e3599a39 (patch)
tree16e186a4c9ac2822a92a8af1a0026525a39bc26e /multimedia/py-subliminal
parent056c7d93e85666ad3eddbbccde61f593c8b6d753 (diff)
downloadfreebsd-ports-gnome-f232558c1bbd65b887278a49ee8879d3e3599a39.tar.gz
freebsd-ports-gnome-f232558c1bbd65b887278a49ee8879d3e3599a39.tar.zst
freebsd-ports-gnome-f232558c1bbd65b887278a49ee8879d3e3599a39.zip
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>
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