Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Nov 2013 12:41:13 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332985 - in head/multimedia/py-subliminal: . files
Message-ID:  <201311061241.rA6CfDRW072808@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Wed Nov  6 12:41:12 2013
New Revision: 332985
URL: http://svnweb.freebsd.org/changeset/ports/332985

Log:
  multimedia/py-subliminal: update to 0.7.1
  
  - Update to 0.7.1
  - Restrict to python 2.7
  - Use python auto plist

Deleted:
  head/multimedia/py-subliminal/files/
  head/multimedia/py-subliminal/pkg-plist
Modified:
  head/multimedia/py-subliminal/Makefile
  head/multimedia/py-subliminal/distinfo

Modified: head/multimedia/py-subliminal/Makefile
==============================================================================
--- head/multimedia/py-subliminal/Makefile	Wed Nov  6 12:40:11 2013	(r332984)
+++ head/multimedia/py-subliminal/Makefile	Wed Nov  6 12:41:12 2013	(r332985)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	subliminal
-PORTVERSION=	0.6.3
-PORTREVISION=	1
+PORTVERSION=	0.7.1
 CATEGORIES=	multimedia python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,24 +13,26 @@ COMMENT=	Python library to search and do
 LICENSE=	LGPL3
 
 RUN_DEPENDS=	${PYTHON_SITELIBDIR}/bs4/__init__.py:${PORTSDIR}/www/py-beautifulsoup \
-		${PYTHON_PKGNAMEPREFIX}enzyme>=0.1:${PORTSDIR}/multimedia/py-enzyme \
-		${PYTHON_PKGNAMEPREFIX}guessit>=0.4.1:${PORTSDIR}/multimedia/py-guessit \
+		${PYTHON_PKGNAMEPREFIX}enzyme>=0.4.0:${PORTSDIR}/multimedia/py-enzyme \
+		${PYTHON_PKGNAMEPREFIX}guessit>=0.6.1:${PORTSDIR}/multimedia/py-guessit \
 		${PYTHON_PKGNAMEPREFIX}requests>=1.1:${PORTSDIR}/www/py-requests \
 		${PYTHON_PKGNAMEPREFIX}html5lib>0:${PORTSDIR}/www/py-html5lib \
-		${PYTHON_PKGNAMEPREFIX}lxml>0:${PORTSDIR}/devel/py-lxml
+		${PYTHON_PKGNAMEPREFIX}charade>0:${PORTSDIR}/textproc/py-charade \
+		${PYTHON_PKGNAMEPREFIX}pysrt>0:${PORTSDIR}/textproc/py-pysrt \
+		${PYTHON_PKGNAMEPREFIX}babelfish>0:${PORTSDIR}/devel/py-babelfish \
+		${PYTHON_PKGNAMEPREFIX}dogpile.cache>0:${PORTSDIR}/devel/py-dogpile.cache
 
-USE_PYTHON=	-2.7
+USE_PYTHON=	2.7
 USE_PYDISTUTILS=	easy_install
+PYDISTUTILS_AUTOPLIST=	yes
 
 NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 270
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}argparse>=1.1:${PORTSDIR}/devel/py-argparse
-.endif
 
 post-patch:
-	@${REINPLACE_CMD} 's/required,/required, zip_safe=False,/' \
+	@${REINPLACE_CMD} "s/.com',/.com', zip_safe=False,/" \
 		${WRKSRC}/setup.py
+	@${REINPLACE_CMD} \
+		-e 's,^requests.*,requests,g' \
+		${WRKSRC}/requirements.txt
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/multimedia/py-subliminal/distinfo
==============================================================================
--- head/multimedia/py-subliminal/distinfo	Wed Nov  6 12:40:11 2013	(r332984)
+++ head/multimedia/py-subliminal/distinfo	Wed Nov  6 12:41:12 2013	(r332985)
@@ -1,2 +1,2 @@
-SHA256 (subliminal-0.6.3.tar.gz) = 99c66b96281e796864138c701f4eb79d7d4a1879d6fb1913c74ad6ad790fb08a
-SIZE (subliminal-0.6.3.tar.gz) = 61261
+SHA256 (subliminal-0.7.1.tar.gz) = d7a48bdb92903749083ad5b872c0f2cb4553a02fc65c9c7c229b48fd611672bd
+SIZE (subliminal-0.7.1.tar.gz) = 25142



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311061241.rA6CfDRW072808>