Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Sep 2022 03:52:19 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3953bedae45d - main - graphics/py-optimize-images: Add py-optimize-images 1.5.1
Message-ID:  <202209040352.2843qJaH083494@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit 3953bedae45d50eb391605627aebbfdfdc0181c5
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-09-04 03:41:32 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-09-04 03:42:23 +0000

    graphics/py-optimize-images: Add py-optimize-images 1.5.1
    
    Optimize Images is a command-line interface (CLI) utility written in pure Python
    to help you reduce the file size of images.
    
    This application is intended to be pure Python, with no special dependencies
    besides Pillow, therefore ensuring compatibility with a wide range of systems.
    
    Some aditional features can be added which require the presence of other
    third-party packages that are not written in pure Python, but those packages and
    the features depending on them should be treated as optional.
    
    WWW: https://github.com/victordomingos/optimize-images
---
 graphics/Makefile                     |  1 +
 graphics/py-optimize-images/Makefile  | 25 +++++++++++++++++++++++++
 graphics/py-optimize-images/distinfo  |  3 +++
 graphics/py-optimize-images/pkg-descr | 11 +++++++++++
 4 files changed, 40 insertions(+)

diff --git a/graphics/Makefile b/graphics/Makefile
index fe6b20ecde5f..07ff43a63a3b 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -885,6 +885,7 @@
     SUBDIR += py-opencolorio
     SUBDIR += py-openimageio
     SUBDIR += py-openshadinglanguage
+    SUBDIR += py-optimize-images
     SUBDIR += py-osmnet
     SUBDIR += py-pandana
     SUBDIR += py-photocollage
diff --git a/graphics/py-optimize-images/Makefile b/graphics/py-optimize-images/Makefile
new file mode 100644
index 000000000000..81861cba8f9d
--- /dev/null
+++ b/graphics/py-optimize-images/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	optimize-images
+PORTVERSION=	1.5.1
+CATEGORIES=	graphics python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	CLI utility to reduce the file size of images
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}piexif>=1.1.3:graphics/py-piexif@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pillow>=8.2.0:graphics/py-pillow@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}watchdog>=2.1.2:devel/py-watchdog@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}piexif>=1.1.3:graphics/py-piexif@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pillow>=8.2.0:graphics/py-pillow@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}watchdog>=2.1.2:devel/py-watchdog@${PY_FLAVOR}
+
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/graphics/py-optimize-images/distinfo b/graphics/py-optimize-images/distinfo
new file mode 100644
index 000000000000..367e49f0d6b3
--- /dev/null
+++ b/graphics/py-optimize-images/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1662212108
+SHA256 (optimize-images-1.5.1.tar.gz) = 35f073d434575556398f60d19dfc9f9d6209482ebe3aa11d508205bfe25d4dc8
+SIZE (optimize-images-1.5.1.tar.gz) = 24368
diff --git a/graphics/py-optimize-images/pkg-descr b/graphics/py-optimize-images/pkg-descr
new file mode 100644
index 000000000000..a886b62360ed
--- /dev/null
+++ b/graphics/py-optimize-images/pkg-descr
@@ -0,0 +1,11 @@
+Optimize Images is a command-line interface (CLI) utility written in pure Python
+to help you reduce the file size of images.
+
+This application is intended to be pure Python, with no special dependencies
+besides Pillow, therefore ensuring compatibility with a wide range of systems.
+
+Some aditional features can be added which require the presence of other
+third-party packages that are not written in pure Python, but those packages and
+the features depending on them should be treated as optional.
+
+WWW: https://github.com/victordomingos/optimize-images



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209040352.2843qJaH083494>