svn commit: r472429 - in head/textproc: . py-docx2txt
Yuri Victorovich
yuri at FreeBSD.org
Fri Jun 15 07:10:01 UTC 2018
Author: yuri
Date: Fri Jun 15 07:09:59 2018
New Revision: 472429
URL: https://svnweb.freebsd.org/changeset/ports/472429
Log:
New port: textproc/py-docx2txt: Pure python-based utility to extract text and images from docx files
Added:
head/textproc/py-docx2txt/
head/textproc/py-docx2txt/Makefile (contents, props changed)
head/textproc/py-docx2txt/distinfo (contents, props changed)
head/textproc/py-docx2txt/pkg-descr (contents, props changed)
Modified:
head/textproc/Makefile
Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile Fri Jun 15 06:34:09 2018 (r472428)
+++ head/textproc/Makefile Fri Jun 15 07:09:59 2018 (r472429)
@@ -1288,6 +1288,7 @@
SUBDIR += py-dbfread
SUBDIR += py-diff-match-patch
SUBDIR += py-docutils
+ SUBDIR += py-docx2txt
SUBDIR += py-dsv
SUBDIR += py-duecredit
SUBDIR += py-elasticsearch
Added: head/textproc/py-docx2txt/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-docx2txt/Makefile Fri Jun 15 07:09:59 2018 (r472429)
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+PORTNAME= docx2txt
+DISTVERSION= 0.7
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri at FreeBSD.org
+COMMENT= Pure python-based utility to extract text and images from docx files
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+USES= python
+USE_PYTHON= distutils concurrent autoplist
+NO_ARCH= yes
+
+.include <bsd.port.mk>
Added: head/textproc/py-docx2txt/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-docx2txt/distinfo Fri Jun 15 07:09:59 2018 (r472429)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1529046338
+SHA256 (docx2txt-0.7.tar.gz) = 335363e5eb827dde2838fae69f5032b9a5c00f311def4022c196424bce697f0f
+SIZE (docx2txt-0.7.tar.gz) = 2781
Added: head/textproc/py-docx2txt/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-docx2txt/pkg-descr Fri Jun 15 07:09:59 2018 (r472429)
@@ -0,0 +1,4 @@
+The code is adapted from python-docx. It can however also extract text from
+header, footer and hyperlinks. It can now also extract images.
+
+WWW: https://github.com/ankushshah89/python-docx2txt
More information about the svn-ports-all
mailing list