git: e3911c2d71e0 - main - textproc/py-xlrd2: Add py-xlrd2 1.3.4

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 27 Aug 2022 10:30:51 UTC
The branch main has been updated by sunpoet:

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

commit e3911c2d71e075aa1ab21b858f49df4cc44edc6c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-08-27 10:10:41 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-08-27 10:10:41 +0000

    textproc/py-xlrd2: Add py-xlrd2 1.3.4
    
    xlrd2 is an effort to extend xlrd project, which is no longer mintained by its
    developers. The main goal is to make it suitable for extracting necessary
    information from malicious xls documents.
    
    Xlrd Purpose: Provide a library for developers to use to extract data from
    Microsoft Excel (tm) spreadsheet files. It is not an end-user tool.
    
    WWW: https://github.com/DissectMalware/xlrd2
---
 textproc/Makefile           |  1 +
 textproc/py-xlrd2/Makefile  | 18 ++++++++++++++++++
 textproc/py-xlrd2/distinfo  |  3 +++
 textproc/py-xlrd2/pkg-descr |  8 ++++++++
 4 files changed, 30 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index e1929e216bf8..90901b9ffdd0 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1567,6 +1567,7 @@
     SUBDIR += py-xhtml2pdf
     SUBDIR += py-xlmmacrodeobfuscator
     SUBDIR += py-xlrd
+    SUBDIR += py-xlrd2
     SUBDIR += py-xlsxwriter
     SUBDIR += py-xlutils
     SUBDIR += py-xlwt
diff --git a/textproc/py-xlrd2/Makefile b/textproc/py-xlrd2/Makefile
new file mode 100644
index 000000000000..009c1431b607
--- /dev/null
+++ b/textproc/py-xlrd2/Makefile
@@ -0,0 +1,18 @@
+PORTNAME=	xlrd2
+PORTVERSION=	1.3.4
+CATEGORIES=	textproc python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Library for developers to extract data from Microsoft Excel legacy spreadsheet files (xls)
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-xlrd2/distinfo b/textproc/py-xlrd2/distinfo
new file mode 100644
index 000000000000..b8fd9d971f58
--- /dev/null
+++ b/textproc/py-xlrd2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1660576700
+SHA256 (xlrd2-1.3.4.tar.gz) = 1f6fcd61b696608faaff92c7c14f70995de26b6c45c4463485ffb8105c902750
+SIZE (xlrd2-1.3.4.tar.gz) = 771154
diff --git a/textproc/py-xlrd2/pkg-descr b/textproc/py-xlrd2/pkg-descr
new file mode 100644
index 000000000000..1c8ec3d47859
--- /dev/null
+++ b/textproc/py-xlrd2/pkg-descr
@@ -0,0 +1,8 @@
+xlrd2 is an effort to extend xlrd project, which is no longer mintained by its
+developers. The main goal is to make it suitable for extracting necessary
+information from malicious xls documents.
+
+Xlrd Purpose: Provide a library for developers to use to extract data from
+Microsoft Excel (tm) spreadsheet files. It is not an end-user tool.
+
+WWW: https://github.com/DissectMalware/xlrd2