git: a1854dc00464 - main - devel/py-mediapy: Add py-mediapy 1.1.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 03 Oct 2022 02:24:30 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a1854dc004642397205da4dfdddd7478baf45472

commit a1854dc004642397205da4dfdddd7478baf45472
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-10-03 02:10:17 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-10-03 02:10:17 +0000

    devel/py-mediapy: Add py-mediapy 1.1.0
    
    mediapy reads/writes/shows images and videos in an IPython/Jupyter notebook.
---
 devel/Makefile             |  1 +
 devel/py-mediapy/Makefile  | 24 ++++++++++++++++++++++++
 devel/py-mediapy/distinfo  |  3 +++
 devel/py-mediapy/pkg-descr |  1 +
 4 files changed, 29 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index dc0a8ddec3d6..60fda21a5646 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4788,6 +4788,7 @@
     SUBDIR += py-mccabe
     SUBDIR += py-mdv
     SUBDIR += py-mediafile
+    SUBDIR += py-mediapy
     SUBDIR += py-medikit
     SUBDIR += py-memory-allocator
     SUBDIR += py-memory-profiler
diff --git a/devel/py-mediapy/Makefile b/devel/py-mediapy/Makefile
new file mode 100644
index 000000000000..de2ef538ea06
--- /dev/null
+++ b/devel/py-mediapy/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	mediapy
+PORTVERSION=	1.1.0
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Read/write/show images and videos in an IPython notebook
+WWW=		https://github.com/google/mediapy
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ipython>=0:devel/ipython@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-mediapy/distinfo b/devel/py-mediapy/distinfo
new file mode 100644
index 000000000000..7803af80e049
--- /dev/null
+++ b/devel/py-mediapy/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1663672734
+SHA256 (mediapy-1.1.0.tar.gz) = 09e8e0882896eda9f51a9281e4c52203502592282fdd199f4ead2e9bda5cf771
+SIZE (mediapy-1.1.0.tar.gz) = 25365
diff --git a/devel/py-mediapy/pkg-descr b/devel/py-mediapy/pkg-descr
new file mode 100644
index 000000000000..3f28818c737c
--- /dev/null
+++ b/devel/py-mediapy/pkg-descr
@@ -0,0 +1 @@
+mediapy reads/writes/shows images and videos in an IPython/Jupyter notebook.