From owner-svn-ports-head@freebsd.org Sat Feb 16 22:54:20 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 77C0D14D6534; Sat, 16 Feb 2019 22:54:20 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C3EE7082D; Sat, 16 Feb 2019 22:54:20 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7B97ED53D; Sat, 16 Feb 2019 22:54:18 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x1GMsIWp080684; Sat, 16 Feb 2019 22:54:18 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x1GMsHNx080677; Sat, 16 Feb 2019 22:54:17 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201902162254.x1GMsHNx080677@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sat, 16 Feb 2019 22:54:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r493113 - in head/multimedia/py-moviepy: . files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/multimedia/py-moviepy: . files X-SVN-Commit-Revision: 493113 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 1C3EE7082D X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.96)[-0.959,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-0.999,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Feb 2019 22:54:20 -0000 Author: sunpoet Date: Sat Feb 16 22:54:17 2019 New Revision: 493113 URL: https://svnweb.freebsd.org/changeset/ports/493113 Log: Update to 1.0.0 Changes: https://github.com/Zulko/moviepy/releases https://github.com/Zulko/moviepy/commits/master Added: head/multimedia/py-moviepy/files/patch-moviepy-config_defaults.py - copied, changed from r493112, head/multimedia/py-moviepy/files/patch-moviepy_config__defaults.py head/multimedia/py-moviepy/files/patch-moviepy-editor.py - copied, changed from r493112, head/multimedia/py-moviepy/files/patch-moviepy_editor.py Deleted: head/multimedia/py-moviepy/files/patch-moviepy_config__defaults.py head/multimedia/py-moviepy/files/patch-moviepy_editor.py Modified: head/multimedia/py-moviepy/Makefile head/multimedia/py-moviepy/distinfo Modified: head/multimedia/py-moviepy/Makefile ============================================================================== --- head/multimedia/py-moviepy/Makefile Sat Feb 16 22:54:11 2019 (r493112) +++ head/multimedia/py-moviepy/Makefile Sat Feb 16 22:54:17 2019 (r493113) @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= moviepy -PORTVERSION= 0.2.3.5 -PORTREVISION= 2 +PORTVERSION= 1.0.0 CATEGORIES= multimedia python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -15,8 +14,9 @@ LICENSE_FILE= ${WRKSRC}/LICENCE.txt RUN_DEPENDS= ffmpeg:multimedia/ffmpeg \ ${PYTHON_PKGNAMEPREFIX}decorator>=4.0.2:devel/py-decorator@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}imageio>=2.1.2:graphics/py-imageio@${PY_FLAVOR} \ ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}proglog<=1.0.0:devel/py-proglog@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.8.1:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tqdm>=4.11.2:misc/py-tqdm@${PY_FLAVOR} \ USES= python @@ -32,4 +32,13 @@ IMAGEMAGICK7_DESC= Use ImageMagick 7.x as backend IMAGEMAGICK6_RUN_DEPENDS= convert:graphics/ImageMagick6 IMAGEMAGICK7_RUN_DEPENDS= convert:graphics/ImageMagick7 -.include +.include + +.if ${PYTHON_REL} >= 3400 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}imageio>=2.5: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:graphics/py-imageio24@${PY_FLAVOR} +.endif + +.include Modified: head/multimedia/py-moviepy/distinfo ============================================================================== --- head/multimedia/py-moviepy/distinfo Sat Feb 16 22:54:11 2019 (r493112) +++ head/multimedia/py-moviepy/distinfo Sat Feb 16 22:54:17 2019 (r493113) @@ -1,3 +1,3 @@ -TIMESTAMP = 1527884501 -SHA256 (moviepy-0.2.3.5.tar.gz) = 536ea61c2c7d276ee65daf2da8a1d2e34bbafd524d6e8a20fde38ce9bfbd2dcb -SIZE (moviepy-0.2.3.5.tar.gz) = 372996 +TIMESTAMP = 1550245347 +SHA256 (moviepy-1.0.0.tar.gz) = 16c7ffca23d90c76dd7b163f648c8166dfd589b7c180b8ff75aa327ae0a2fc6d +SIZE (moviepy-1.0.0.tar.gz) = 398839 Copied and modified: head/multimedia/py-moviepy/files/patch-moviepy-config_defaults.py (from r493112, head/multimedia/py-moviepy/files/patch-moviepy_config__defaults.py) ============================================================================== --- head/multimedia/py-moviepy/files/patch-moviepy_config__defaults.py Sat Feb 16 22:54:11 2019 (r493112, copy source) +++ head/multimedia/py-moviepy/files/patch-moviepy-config_defaults.py Sat Feb 16 22:54:17 2019 (r493113) @@ -1,4 +1,4 @@ ---- moviepy/config_defaults.py.orig 2018-12-16 18:28:09 UTC +--- moviepy/config_defaults.py.orig 2018-12-15 16:06:35 UTC +++ moviepy/config_defaults.py @@ -50,5 +50,6 @@ IMAGEMAGICK_BINARY @@ -7,6 +7,6 @@ -FFMPEG_BINARY = os.getenv('FFMPEG_BINARY', 'ffmpeg-imageio') -IMAGEMAGICK_BINARY = os.getenv('IMAGEMAGICK_BINARY', 'auto-detect') \ No newline at end of file -+FFMPEG_BINARY = "ffmpeg" # by default it asks py-imageio to download ffmpeg from GitHub, but it doesn't exist there for FreeBSD, and it is also an insecure download -+ # instead, just default to "ffmpeg" which means to use the local binary ++# Use ffmpeg from ports ++FFMPEG_BINARY = "ffmpeg" +IMAGEMAGICK_BINARY = os.getenv('IMAGEMAGICK_BINARY', 'auto-detect') Copied and modified: head/multimedia/py-moviepy/files/patch-moviepy-editor.py (from r493112, head/multimedia/py-moviepy/files/patch-moviepy_editor.py) ============================================================================== --- head/multimedia/py-moviepy/files/patch-moviepy_editor.py Sat Feb 16 22:54:11 2019 (r493112, copy source) +++ head/multimedia/py-moviepy/files/patch-moviepy-editor.py Sat Feb 16 22:54:17 2019 (r493113) @@ -1,14 +1,18 @@ ---- moviepy/editor.py.orig 2018-12-16 18:36:01 UTC +--- moviepy/editor.py.orig 2019-02-14 01:02:48 UTC +++ moviepy/editor.py -@@ -21,8 +21,10 @@ import os +@@ -20,15 +20,6 @@ clip.preview(). + import os + import sys - # Downloads ffmpeg if it isn't already installed - import imageio -+from moviepy.config import get_setting -+ - # Checks to see if the user has set a place for their own version of ffmpeg +-# Downloads ffmpeg if it isn't already installed +-import imageio +-# Checks to see if the user has set a place for their own version of ffmpeg +- -if os.getenv('FFMPEG_BINARY', 'ffmpeg-imageio') == 'ffmpeg-imageio': -+if get_setting("FFMPEG_BINARY") == 'ffmpeg-imageio': - imageio.plugins.ffmpeg.download() - +- if sys.version_info < (3, 4): +- #uses an old version of imageio with ffmpeg.download. +- imageio.plugins.ffmpeg.download() +- # Clips + from .video.io.VideoFileClip import VideoFileClip + from .video.io.ImageSequenceClip import ImageSequenceClip