aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesús Daniel Colmenares Oviedo <DtxdF@disroot.org>2022-09-23 17:30:13 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2022-10-25 17:04:09 +0000
commitb8480951e844816bc3bd3ff8967afb79c04e3b77 (patch)
tree22cd0fe07a735e9329f829563aeb7eb30296811b
parent1951100e4f9fc51e63d02462fb09d63f57001b10 (diff)
downloadports-b8480951e844816bc3bd3ff8967afb79c04e3b77.tar.gz
ports-b8480951e844816bc3bd3ff8967afb79c04e3b77.zip
Add archivers/py-compressed-rtf: Compressed RTF compression and decompression package
compressed-rtf can create a Compressed Rich Text Format (RTF), also known as "LZFu", based on Microsoft's RTF Compression Algorithm. WWW: https://github.com/delimitry/compressed_rtf PR: 265760
-rw-r--r--archivers/Makefile1
-rw-r--r--archivers/py-compressed-rtf/Makefile18
-rw-r--r--archivers/py-compressed-rtf/distinfo3
-rw-r--r--archivers/py-compressed-rtf/files/LICENSE21
-rw-r--r--archivers/py-compressed-rtf/pkg-descr2
5 files changed, 45 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile
index 151f5927280f..5d5ac093ae51 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -184,6 +184,7 @@
SUBDIR += py-brotlipy
SUBDIR += py-bup
SUBDIR += py-bz2file
+ SUBDIR += py-compressed-rtf
SUBDIR += py-libarchive-c
SUBDIR += py-lz4
SUBDIR += py-lzma
diff --git a/archivers/py-compressed-rtf/Makefile b/archivers/py-compressed-rtf/Makefile
new file mode 100644
index 000000000000..a5297ebb3aa7
--- /dev/null
+++ b/archivers/py-compressed-rtf/Makefile
@@ -0,0 +1,18 @@
+PORTNAME= compressed-rtf
+PORTVERSION= 1.0.6
+CATEGORIES= archivers python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= compressed_rtf-${PORTVERSION}
+
+MAINTAINER= DtxdF@disroot.org
+COMMENT= Compressed RTF compression and decompression package
+WWW= https://github.com/delimitry/compressed_rtf
+
+LICENSE= MIT
+LICENSE_FILE= ${FILESDIR}/LICENSE
+
+USES= python:3.8+
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/archivers/py-compressed-rtf/distinfo b/archivers/py-compressed-rtf/distinfo
new file mode 100644
index 000000000000..5b4c67b0bf5e
--- /dev/null
+++ b/archivers/py-compressed-rtf/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1659929116
+SHA256 (compressed_rtf-1.0.6.tar.gz) = c1c827f1d124d24608981a56e8b8691eb1f2a69a78ccad6440e7d92fde1781dd
+SIZE (compressed_rtf-1.0.6.tar.gz) = 5800
diff --git a/archivers/py-compressed-rtf/files/LICENSE b/archivers/py-compressed-rtf/files/LICENSE
new file mode 100644
index 000000000000..7c394ee7dc0f
--- /dev/null
+++ b/archivers/py-compressed-rtf/files/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2016 Dmitry Alimov
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/archivers/py-compressed-rtf/pkg-descr b/archivers/py-compressed-rtf/pkg-descr
new file mode 100644
index 000000000000..e115a870ce06
--- /dev/null
+++ b/archivers/py-compressed-rtf/pkg-descr
@@ -0,0 +1,2 @@
+compressed-rtf can create a Compressed Rich Text Format (RTF), also
+known as "LZFu", based on Microsoft's RTF Compression Algorithm.