aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/py-subliminal
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2014-06-16 02:56:57 +0800
committerwg <wg@FreeBSD.org>2014-06-16 02:56:57 +0800
commit11662c66e88331a957c3f452d8e4341d3e4b8971 (patch)
tree3e4b716f8308061df4d061afcc386238002a7775 /multimedia/py-subliminal
parent32d15660e835d39ee0b968715bd1cca9b00d8e70 (diff)
downloadfreebsd-ports-gnome-11662c66e88331a957c3f452d8e4341d3e4b8971.tar.gz
freebsd-ports-gnome-11662c66e88331a957c3f452d8e4341d3e4b8971.tar.zst
freebsd-ports-gnome-11662c66e88331a957c3f452d8e4341d3e4b8971.zip
multimedia/py-subliminal: update to 0.7.4
Diffstat (limited to 'multimedia/py-subliminal')
-rw-r--r--multimedia/py-subliminal/Makefile30
-rw-r--r--multimedia/py-subliminal/distinfo4
2 files changed, 15 insertions, 19 deletions
diff --git a/multimedia/py-subliminal/Makefile b/multimedia/py-subliminal/Makefile
index 81d0b7f70f17..0f631a7e5aae 100644
--- a/multimedia/py-subliminal/Makefile
+++ b/multimedia/py-subliminal/Makefile
@@ -2,10 +2,8 @@
# $FreeBSD$
PORTNAME= subliminal
-PORTVERSION= 0.7.3
-PORTREVISION= 2
+PORTVERSION= 0.7.4
CATEGORIES= multimedia python
-MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wg@FreeBSD.org
@@ -13,26 +11,24 @@ COMMENT= Python library to search and download subtitles
LICENSE= LGPL3
+USE_GITHUB= yes
+GH_ACCOUNT= Diaoul
+GH_COMMIT= f41fc2b
+GH_TAGNAME= ${GH_COMMIT}
+
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/bs4/__init__.py:${PORTSDIR}/www/py-beautifulsoup \
${PYTHON_PKGNAMEPREFIX}enzyme>=0.4.0:${PORTSDIR}/multimedia/py-enzyme \
- ${PYTHON_PKGNAMEPREFIX}guessit>=0.6.1:${PORTSDIR}/multimedia/py-guessit \
- ${PYTHON_PKGNAMEPREFIX}requests1>=1.1:${PORTSDIR}/www/py-requests1 \
- ${PYTHON_PKGNAMEPREFIX}html5lib>0:${PORTSDIR}/www/py-html5lib \
- ${PYTHON_PKGNAMEPREFIX}charade>0:${PORTSDIR}/textproc/py-charade \
- ${PYTHON_PKGNAMEPREFIX}pysrt>0:${PORTSDIR}/textproc/py-pysrt \
+ ${PYTHON_PKGNAMEPREFIX}guessit>=0.6.2:${PORTSDIR}/multimedia/py-guessit \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.0.1:${PORTSDIR}/www/py-requests \
+ ${PYTHON_PKGNAMEPREFIX}html5lib>=0.999:${PORTSDIR}/www/py-html5lib \
+ ${PYTHON_PKGNAMEPREFIX}chardet>0:${PORTSDIR}/textproc/py-chardet \
+ ${PYTHON_PKGNAMEPREFIX}pysrt>=1.0.1:${PORTSDIR}/textproc/py-pysrt \
${PYTHON_PKGNAMEPREFIX}babelfish>=0.4.0:${PORTSDIR}/devel/py-babelfish \
- ${PYTHON_PKGNAMEPREFIX}dogpile.cache>=0.5.2:${PORTSDIR}/devel/py-dogpile.cache
+ ${PYTHON_PKGNAMEPREFIX}dogpile.cache>=0.5.2:${PORTSDIR}/devel/py-dogpile.cache \
+ ${PYTHON_PKGNAMEPREFIX}xdg>=0.25:${PORTSDIR}/devel/py-xdg
USE_PYTHON= 2
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
-post-patch:
- @${REINPLACE_CMD} "s/.com',/.com', zip_safe=False,/" \
- ${WRKSRC}/setup.py
- @${REINPLACE_CMD} \
- -e 's,^requests.*,requests,g' \
- -e 's,^html5lib.*,html5lib,g' \
- ${WRKSRC}/requirements.txt
-
.include <bsd.port.mk>
diff --git a/multimedia/py-subliminal/distinfo b/multimedia/py-subliminal/distinfo
index 1f391a274076..0978ab2fe4cd 100644
--- a/multimedia/py-subliminal/distinfo
+++ b/multimedia/py-subliminal/distinfo
@@ -1,2 +1,2 @@
-SHA256 (subliminal-0.7.3.tar.gz) = 4d23d6f353e0e174aeb01370bb3f077aa9c640013bbe9790a04562b69c42aa29
-SIZE (subliminal-0.7.3.tar.gz) = 27855
+SHA256 (subliminal-0.7.4.tar.gz) = e60447fa16f2f670be38f46e4da0e55cff7893808589bf46b96e77a551c230f1
+SIZE (subliminal-0.7.4.tar.gz) = 39531