git: c91f75fe8ef2 - main - archivers/py-pyminizip: New port: Library to create a password encrypted zip file in python

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Wed, 19 Apr 2023 19:56:59 UTC
The branch main has been updated by acm:

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

commit c91f75fe8ef2652d04463354d60d6e53d04ad2c4
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2023-04-19 19:55:52 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2023-04-19 19:55:52 +0000

    archivers/py-pyminizip: New port: Library to create a password encrypted zip file in python
    
    To create a password encrypted zip file in python. And the zip file is able to
    extract in WINDOWS, GNU/Linux, BSD and others. This is a simple Minizip wrapper
    of python.
---
 archivers/Makefile               |  1 +
 archivers/py-pyminizip/Makefile  | 19 +++++++++++++++++++
 archivers/py-pyminizip/distinfo  |  3 +++
 archivers/py-pyminizip/pkg-descr |  3 +++
 4 files changed, 26 insertions(+)

diff --git a/archivers/Makefile b/archivers/Makefile
index 5bfce871b36c..ef2e719950ba 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -191,6 +191,7 @@
     SUBDIR += py-lz4
     SUBDIR += py-lzma
     SUBDIR += py-lzstring
+    SUBDIR += py-pyminizip
     SUBDIR += py-python-lhafile
     SUBDIR += py-python-lzo
     SUBDIR += py-python-rpm-packaging
diff --git a/archivers/py-pyminizip/Makefile b/archivers/py-pyminizip/Makefile
new file mode 100644
index 000000000000..68bc338b2409
--- /dev/null
+++ b/archivers/py-pyminizip/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	pyminizip
+DISTVERSION=	0.2.6
+CATEGORIES=	archivers python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	acm@FreeBSD.org
+COMMENT=	Library to create a password encrypted zip file in python
+WWW=		https://github.com/smihica/pyminizip	
+
+LICENSE=	ZLIB
+LICENSE_FILE=	${WRKSRC}/COPYING.txt
+
+USES=		python:3.6+
+USE_PYTHON=	distutils autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/archivers/py-pyminizip/distinfo b/archivers/py-pyminizip/distinfo
new file mode 100644
index 000000000000..28b53744d72a
--- /dev/null
+++ b/archivers/py-pyminizip/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1680291354
+SHA256 (pyminizip-0.2.6.tar.gz) = 0a954dd2a65fd72c8b827b83fb806fb4f301075a6ec43e207d3345ab15843a7a
+SIZE (pyminizip-0.2.6.tar.gz) = 261210
diff --git a/archivers/py-pyminizip/pkg-descr b/archivers/py-pyminizip/pkg-descr
new file mode 100644
index 000000000000..b2af7442382d
--- /dev/null
+++ b/archivers/py-pyminizip/pkg-descr
@@ -0,0 +1,3 @@
+To create a password encrypted zip file in python. And the zip file is able to
+extract in WINDOWS, GNU/Linux, BSD and others. This is a simple Minizip wrapper
+of python.