aboutsummaryrefslogtreecommitdiff
path: root/multimedia/py-moviepy
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-12-13 14:43:23 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-12-13 14:43:23 +0000
commitb52c2645e075d907b70957eeb46fe44a1eb75305 (patch)
tree5fc055f322e94b206637212bfb026c0d881ac666 /multimedia/py-moviepy
parent57550699377a21d8bf93c8e8ca83d6263e8e4523 (diff)
downloadports-b52c2645e075d907b70957eeb46fe44a1eb75305.tar.gz
ports-b52c2645e075d907b70957eeb46fe44a1eb75305.zip
Drop Python 2.7 support
Notes
Notes: svn path=/head/; revision=557932
Diffstat (limited to 'multimedia/py-moviepy')
-rw-r--r--multimedia/py-moviepy/Makefile15
1 files changed, 4 insertions, 11 deletions
diff --git a/multimedia/py-moviepy/Makefile b/multimedia/py-moviepy/Makefile
index 57508c8a4efa..dc83a9e01399 100644
--- a/multimedia/py-moviepy/Makefile
+++ b/multimedia/py-moviepy/Makefile
@@ -14,12 +14,14 @@ LICENSE_FILE= ${WRKSRC}/LICENCE.txt
RUN_DEPENDS= ffmpeg:multimedia/ffmpeg \
${PYTHON_PKGNAMEPREFIX}decorator>=4.0.2<5.0:devel/py-decorator@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}imageio>=2.5<3.0:graphics/py-imageio@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}imageio-ffmpeg>=0.2.0:graphics/py-imageio-ffmpeg@${PY_FLAVOR} \
${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}proglog<=1.0.0:devel/py-proglog@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.8.1<3.0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tqdm>=4.11.2<5.0:misc/py-tqdm@${PY_FLAVOR} \
-USES= python
+USES= python:3.4+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
@@ -32,13 +34,4 @@ IMAGEMAGICK7_DESC= Use ImageMagick 7.x as backend
IMAGEMAGICK6_RUN_DEPENDS= convert:graphics/ImageMagick6
IMAGEMAGICK7_RUN_DEPENDS= convert:graphics/ImageMagick7
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} >= 3400
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}imageio>=2.5<3.0:graphics/py-imageio@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}imageio-ffmpeg>=0.2.0:graphics/py-imageio-ffmpeg@${PY_FLAVOR}
-.else
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}imageio24>=2.0<2.5:graphics/py-imageio24@${PY_FLAVOR}
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>