git: ce54739cf818 - main - graphics/py-imutils: new port had been added (+)

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Tue, 24 Oct 2023 11:57:17 UTC
The branch main has been updated by danfe:

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

commit ce54739cf818da9393c3bf30d2133fa8886ff46c
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-10-24 11:56:30 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-10-24 11:56:30 +0000

    graphics/py-imutils: new port had been added (+)
    
    A series of convenience functions to make basic image processing
    operations such as translation, rotation, resizing, skeletonization,
    and displaying Matplotlib images easier with OpenCV and Python.
    
    WWW: https://github.com/PyImageSearch/imutils
---
 graphics/Makefile             |  1 +
 graphics/py-imutils/Makefile  | 16 ++++++++++++++++
 graphics/py-imutils/distinfo  |  3 +++
 graphics/py-imutils/pkg-descr |  3 +++
 4 files changed, 23 insertions(+)

diff --git a/graphics/Makefile b/graphics/Makefile
index 2ddaff95df8b..2b8fe6e949c8 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -894,6 +894,7 @@
     SUBDIR += py-imageio-ffmpeg
     SUBDIR += py-imagesize
     SUBDIR += py-img2pdf
+    SUBDIR += py-imutils
     SUBDIR += py-leather
     SUBDIR += py-lerc
     SUBDIR += py-mapclassify
diff --git a/graphics/py-imutils/Makefile b/graphics/py-imutils/Makefile
new file mode 100644
index 000000000000..926deb6136b1
--- /dev/null
+++ b/graphics/py-imutils/Makefile
@@ -0,0 +1,16 @@
+PORTNAME=	imutils
+PORTVERSION=	0.5.4
+CATEGORIES=	graphics python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	python@FreeBSD.org
+COMMENT=	Series of convenience image processing functions
+WWW=		https://github.com/PyImageSearch/imutils
+
+RUN_DEPENDS=	opencv>0:graphics/opencv ${PYNUMPY}
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/graphics/py-imutils/distinfo b/graphics/py-imutils/distinfo
new file mode 100644
index 000000000000..07e5a7648068
--- /dev/null
+++ b/graphics/py-imutils/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1681172033
+SHA256 (imutils-0.5.4.tar.gz) = 03827a9fca8b5c540305c0844a62591cf35a0caec199cb0f2f0a4a0fb15d8f24
+SIZE (imutils-0.5.4.tar.gz) = 17240
diff --git a/graphics/py-imutils/pkg-descr b/graphics/py-imutils/pkg-descr
new file mode 100644
index 000000000000..3d7e2c9dd5c3
--- /dev/null
+++ b/graphics/py-imutils/pkg-descr
@@ -0,0 +1,3 @@
+A series of convenience functions to make basic image processing
+operations such as translation, rotation, resizing, skeletonization,
+and displaying Matplotlib images easier with OpenCV and Python.