aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-08-27 10:10:41 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-08-27 10:10:41 +0000
commite3911c2d71e075aa1ab21b858f49df4cc44edc6c (patch)
treeb9ae1cfc793f6a67c925f1fd66c5d5aa1e76b2ad
parent1081661b6342d7d2cfea7858251d1d3fe06a398b (diff)
downloadports-e3911c2d71e075aa1ab21b858f49df4cc44edc6c.tar.gz
ports-e3911c2d71e075aa1ab21b858f49df4cc44edc6c.zip
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
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-xlrd2/Makefile18
-rw-r--r--textproc/py-xlrd2/distinfo3
-rw-r--r--textproc/py-xlrd2/pkg-descr8
4 files changed, 30 insertions, 0 deletions
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