diff options
author | Steve Wills <swills@FreeBSD.org> | 2018-05-21 22:52:23 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2018-05-21 22:52:23 +0000 |
commit | 51ed8593c4d601ce57a35f177421ce5be0d813f0 (patch) | |
tree | 7878efd8b1fd107bd0fd2480a1cab21a9a3f00de /multimedia/py-PySceneDetect | |
parent | e93d6442939c0ada1b66bc983a616152dfb7b91c (diff) | |
download | ports-51ed8593c4d601ce57a35f177421ce5be0d813f0.tar.gz ports-51ed8593c4d601ce57a35f177421ce5be0d813f0.zip |
Notes
Diffstat (limited to 'multimedia/py-PySceneDetect')
-rw-r--r-- | multimedia/py-PySceneDetect/Makefile | 24 | ||||
-rw-r--r-- | multimedia/py-PySceneDetect/distinfo | 3 | ||||
-rw-r--r-- | multimedia/py-PySceneDetect/files/patch-scenedetect_platform.py | 10 | ||||
-rw-r--r-- | multimedia/py-PySceneDetect/files/patch-setup.py | 11 | ||||
-rw-r--r-- | multimedia/py-PySceneDetect/pkg-descr | 5 |
5 files changed, 53 insertions, 0 deletions
diff --git a/multimedia/py-PySceneDetect/Makefile b/multimedia/py-PySceneDetect/Makefile new file mode 100644 index 000000000000..e04c893cce78 --- /dev/null +++ b/multimedia/py-PySceneDetect/Makefile @@ -0,0 +1,24 @@ +# $FreeBSD$ + +PORTNAME= PySceneDetect +PORTVERSION= 0.4 +DISTVERSIONPREFIX= v +CATEGORIES= multimedia python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= swills@FreeBSD.org +COMMENT= OpenCV-based video scene detection program and Python library + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYNUMPY} \ + mkvmerge:multimedia/mkvtoolnix \ + ${PYTHON_PKGNAMEPREFIX}opencv>=0:graphics/py-opencv + +USES= python:2.7 +USE_GITHUB= yes +GH_ACCOUNT= Breakthrough +USE_PYTHON= autoplist distutils + +.include <bsd.port.mk> diff --git a/multimedia/py-PySceneDetect/distinfo b/multimedia/py-PySceneDetect/distinfo new file mode 100644 index 000000000000..4ee47e7b9d30 --- /dev/null +++ b/multimedia/py-PySceneDetect/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1524831108 +SHA256 (Breakthrough-PySceneDetect-v0.4_GH0.tar.gz) = e359ae84b993f78c1ae4c7fede62990208d82b0a8fcf2824e6e5cce58ac86cb7 +SIZE (Breakthrough-PySceneDetect-v0.4_GH0.tar.gz) = 138992 diff --git a/multimedia/py-PySceneDetect/files/patch-scenedetect_platform.py b/multimedia/py-PySceneDetect/files/patch-scenedetect_platform.py new file mode 100644 index 000000000000..b6faee6b9a06 --- /dev/null +++ b/multimedia/py-PySceneDetect/files/patch-scenedetect_platform.py @@ -0,0 +1,10 @@ +--- scenedetect/platform.py.orig 2018-04-27 12:19:46 UTC ++++ scenedetect/platform.py +@@ -26,6 +26,7 @@ + # + + # Third-Party Library Imports ++import numpy + import cv2 + + # Compatibility fix for OpenCV < 3.0 diff --git a/multimedia/py-PySceneDetect/files/patch-setup.py b/multimedia/py-PySceneDetect/files/patch-setup.py new file mode 100644 index 000000000000..56c9ec3adc30 --- /dev/null +++ b/multimedia/py-PySceneDetect/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2018-04-27 12:16:22 UTC ++++ setup.py +@@ -24,7 +24,7 @@ def get_requires(): + + setup( + name='PySceneDetect', +- version='0.3.6', ++ version='0.4', + description="A cross-platform, OpenCV-based video scene detection program and Python library. ", + long_description=open('package-info.rst').read(), + author='Brandon Castellano', diff --git a/multimedia/py-PySceneDetect/pkg-descr b/multimedia/py-PySceneDetect/pkg-descr new file mode 100644 index 000000000000..95e19a2cef76 --- /dev/null +++ b/multimedia/py-PySceneDetect/pkg-descr @@ -0,0 +1,5 @@ +PySceneDetect is a command-line application and a Python library for detecting +scene changes in videos, and automatically splitting the video into separate +clips. + +WWW: https://pyscenedetect.readthedocs.io/en/latest/ |