Bug 172909 - [NEW PORT]: multimedia/py-subliminal: subtitles search
Summary: [NEW PORT]: multimedia/py-subliminal: subtitles search
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-python (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-20 15:10 UTC by William Grzybowski
Modified: 2012-12-25 17:20 UTC (History)
0 users

See Also:


Attachments
py-subliminal.patch (2.21 KB, patch)
2012-10-20 15:10 UTC, William Grzybowski
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description William Grzybowski 2012-10-20 15:10:01 UTC
Subliminal is a python library to search and download subtitles.

This PR depends on ports/172889 and ports/172890

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.

Fix: See attached patch
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-10-20 15:10:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-python

freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-12-25 17:19:21 UTC
Author: mva
Date: Tue Dec 25 17:19:12 2012
New Revision: 309490
URL: http://svnweb.freebsd.org/changeset/ports/309490

Log:
  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>

Added:
  head/multimedia/py-subliminal/
  head/multimedia/py-subliminal/Makefile   (contents, props changed)
  head/multimedia/py-subliminal/distinfo   (contents, props changed)
  head/multimedia/py-subliminal/pkg-descr   (contents, props changed)
Modified:
  head/multimedia/Makefile

Modified: head/multimedia/Makefile
==============================================================================
--- head/multimedia/Makefile	Tue Dec 25 17:12:30 2012	(r309489)
+++ head/multimedia/Makefile	Tue Dec 25 17:19:12 2012	(r309490)
@@ -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

Added: head/multimedia/py-subliminal/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/py-subliminal/Makefile	Tue Dec 25 17:19:12 2012	(r309490)
@@ -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>

Added: head/multimedia/py-subliminal/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/py-subliminal/distinfo	Tue Dec 25 17:19:12 2012	(r309490)
@@ -0,0 +1,2 @@
+SHA256 (subliminal-0.6.2.tar.gz) = 7bfd89fc74f6d7c4c9b3f15e4401e5c3c8aedfbda39817275c47fb68fac69776
+SIZE (subliminal-0.6.2.tar.gz) = 61209

Added: head/multimedia/py-subliminal/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/py-subliminal/pkg-descr	Tue Dec 25 17:19:12 2012	(r309490)
@@ -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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Marcus von Appen freebsd_committer freebsd_triage 2012-12-25 17:19:35 UTC
State Changed
From-To: open->closed

New port added. Thanks!