aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2023-04-19 19:55:52 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2023-04-19 19:55:52 +0000
commitc91f75fe8ef2652d04463354d60d6e53d04ad2c4 (patch)
tree93cec969b8f241abdd1566ba10d31a58703898bc
parentfb4e195644081adaac689269236ff161ad051027 (diff)
downloadports-c91f75fe8ef2652d04463354d60d6e53d04ad2c4.tar.gz
ports-c91f75fe8ef2652d04463354d60d6e53d04ad2c4.zip
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.
-rw-r--r--archivers/Makefile1
-rw-r--r--archivers/py-pyminizip/Makefile19
-rw-r--r--archivers/py-pyminizip/distinfo3
-rw-r--r--archivers/py-pyminizip/pkg-descr3
4 files changed, 26 insertions, 0 deletions
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.