From 8ad30d13a2efa1039848210aa7bf4ca1ed0903f4 Mon Sep 17 00:00:00 2001 From: Kurt Jaeger Date: Sat, 21 Sep 2019 13:57:29 +0000 Subject: [PATCH] New port: multimedia/py-pymediainfo This small package is a wrapper around the MediaInfo library. It works on Linux, Mac OS X and Windows and is tested with Python 2.7, 3.4, 3.5, 3.6, 3.7, PyPy and PyPy3. See https://pymediainfo.readthedocs.io/ for more information. WWW: https://github.com/sbraz/pymediainfo PR: 240602 Submitted by: m.ne@gmx.net Reviewed by: koobs --- multimedia/Makefile | 1 + multimedia/py-pymediainfo/Makefile | 25 +++++++++++++++++++++++++ multimedia/py-pymediainfo/distinfo | 3 +++ multimedia/py-pymediainfo/pkg-descr | 8 ++++++++ 4 files changed, 37 insertions(+) create mode 100644 multimedia/py-pymediainfo/Makefile create mode 100644 multimedia/py-pymediainfo/distinfo create mode 100644 multimedia/py-pymediainfo/pkg-descr diff --git a/multimedia/Makefile b/multimedia/Makefile index d1e4c1ad13fa..391eeaff5176 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -348,6 +348,7 @@ SUBDIR += py-openlp SUBDIR += py-periscope SUBDIR += py-pretty_midi + SUBDIR += py-pymediainfo SUBDIR += py-qt5-multimedia SUBDIR += py-qt5-multimediawidgets SUBDIR += py-soco diff --git a/multimedia/py-pymediainfo/Makefile b/multimedia/py-pymediainfo/Makefile new file mode 100644 index 000000000000..6d48cf00fa98 --- /dev/null +++ b/multimedia/py-pymediainfo/Makefile @@ -0,0 +1,25 @@ +# Created by: Martin Neubauer +# $FreeBSD$ + +PORTNAME= pymediainfo +PORTVERSION= 4.0 +CATEGORIES= multimedia devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= m.ne@gmx.net +COMMENT= Python wrapper for the mediainfo library + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ + mediainfo>0:multimedia/mediainfo + +USES= python +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include diff --git a/multimedia/py-pymediainfo/distinfo b/multimedia/py-pymediainfo/distinfo new file mode 100644 index 000000000000..08febf71dee6 --- /dev/null +++ b/multimedia/py-pymediainfo/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1564609937 +SHA256 (pymediainfo-4.0.tar.gz) = 394a4c1f38669f658045e11852608fb0c4488c886ba30c98eee292c110105afa +SIZE (pymediainfo-4.0.tar.gz) = 432284 diff --git a/multimedia/py-pymediainfo/pkg-descr b/multimedia/py-pymediainfo/pkg-descr new file mode 100644 index 000000000000..9f2852dc4a44 --- /dev/null +++ b/multimedia/py-pymediainfo/pkg-descr @@ -0,0 +1,8 @@ +This small package is a wrapper around the MediaInfo library. + +It works on Linux, Mac OS X and Windows and is tested with Python +2.7, 3.4, 3.5, 3.6, 3.7, PyPy and PyPy3. + +See https://pymediainfo.readthedocs.io/ for more information. + +WWW: https://github.com/sbraz/pymediainfo