From owner-svn-ports-head@freebsd.org Fri Jun 15 07:10:01 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5ED17100168B; Fri, 15 Jun 2018 07:10:01 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 124747D335; Fri, 15 Jun 2018 07:10:01 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E7B5914235; Fri, 15 Jun 2018 07:10:00 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5F7A0VJ021724; Fri, 15 Jun 2018 07:10:00 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5F7A0K9021721; Fri, 15 Jun 2018 07:10:00 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201806150710.w5F7A0K9021721@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Fri, 15 Jun 2018 07:10:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r472429 - in head/textproc: . py-docx2txt X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/textproc: . py-docx2txt X-SVN-Commit-Revision: 472429 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 07:10:01 -0000 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@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 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