summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2016-03-08 19:51:25 +0000
committerbsiegert <bsiegert@pkgsrc.org>2016-03-08 19:51:25 +0000
commitb47b4cd6b631026b75b9876e60c00c8d77998e3f (patch)
tree54980d9df6f52fb2c3f6c9ed65f691f1ee22f900 /textproc
parent8294cf38c107f7bad06e271673b67961581301cd (diff)
downloadpkgsrc-b47b4cd6b631026b75b9876e60c00c8d77998e3f.tar.gz
Add a new package for py-docx. From David H. Gutteridge in PR pkg/50645.
A Python library for creating and updating Microsoft Word (.docx) files.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile3
-rw-r--r--textproc/py-docx/DESCR1
-rw-r--r--textproc/py-docx/Makefile16
-rw-r--r--textproc/py-docx/PLIST249
-rw-r--r--textproc/py-docx/distinfo6
5 files changed, 274 insertions, 1 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index b44b68afa4c..b62839ab26f 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.871 2016/02/28 13:34:25 kamil Exp $
+# $NetBSD: Makefile,v 1.872 2016/03/08 19:51:25 bsiegert Exp $
#
COMMENT= Text processing utilities (does not include desktop publishing)
@@ -687,6 +687,7 @@ SUBDIR+= py-cssselect
SUBDIR+= py-cssutils
SUBDIR+= py-defusedxml
SUBDIR+= py-docutils
+SUBDIR+= py-docx
SUBDIR+= py-ejson
SUBDIR+= py-elementtree
SUBDIR+= py-empy
diff --git a/textproc/py-docx/DESCR b/textproc/py-docx/DESCR
new file mode 100644
index 00000000000..5d4bcb239a8
--- /dev/null
+++ b/textproc/py-docx/DESCR
@@ -0,0 +1 @@
+A Python library for creating and updating Microsoft Word (.docx) files.
diff --git a/textproc/py-docx/Makefile b/textproc/py-docx/Makefile
new file mode 100644
index 00000000000..6483659f05f
--- /dev/null
+++ b/textproc/py-docx/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2016/03/08 19:51:25 bsiegert Exp $
+
+DISTNAME= python-docx-0.8.5
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//}
+CATEGORIES= textproc python
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-docx/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/python-openxml/python-docx
+COMMENT= Python library for Microsoft Word (.docx) files
+LICENSE= mit
+
+DEPENDS+= ${PYPKGPREFIX}-lxml>=3.1.0:../../textproc/py-lxml
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-docx/PLIST b/textproc/py-docx/PLIST
new file mode 100644
index 00000000000..9dfe0692bd8
--- /dev/null
+++ b/textproc/py-docx/PLIST
@@ -0,0 +1,249 @@
+@comment $NetBSD: PLIST,v 1.1 2016/03/08 19:51:25 bsiegert Exp $
+${PYSITELIB}/docx/__init__.py
+${PYSITELIB}/docx/__init__.pyo
+${PYSITELIB}/docx/__init__.pyc
+${PYSITELIB}/docx/api.pyo
+${PYSITELIB}/docx/api.pyc
+${PYSITELIB}/docx/blkcntnr.pyo
+${PYSITELIB}/docx/blkcntnr.pyc
+${PYSITELIB}/docx/compat.pyo
+${PYSITELIB}/docx/compat.pyc
+${PYSITELIB}/docx/document.pyo
+${PYSITELIB}/docx/document.pyc
+${PYSITELIB}/docx/exceptions.pyo
+${PYSITELIB}/docx/exceptions.pyc
+${PYSITELIB}/docx/package.pyo
+${PYSITELIB}/docx/package.pyc
+${PYSITELIB}/docx/section.pyo
+${PYSITELIB}/docx/section.pyc
+${PYSITELIB}/docx/shape.pyo
+${PYSITELIB}/docx/shape.pyc
+${PYSITELIB}/docx/shared.pyo
+${PYSITELIB}/docx/shared.pyc
+${PYSITELIB}/docx/table.pyo
+${PYSITELIB}/docx/table.pyc
+${PYSITELIB}/docx/api.py
+${PYSITELIB}/docx/blkcntnr.py
+${PYSITELIB}/docx/compat.py
+${PYSITELIB}/docx/dml/__init__.py
+${PYSITELIB}/docx/dml/__init__.pyo
+${PYSITELIB}/docx/dml/__init__.pyc
+${PYSITELIB}/docx/dml/color.pyo
+${PYSITELIB}/docx/dml/color.pyc
+${PYSITELIB}/docx/dml/color.py
+${PYSITELIB}/docx/document.py
+${PYSITELIB}/docx/enum/__init__.py
+${PYSITELIB}/docx/enum/__init__.pyo
+${PYSITELIB}/docx/enum/__init__.pyc
+${PYSITELIB}/docx/enum/base.pyo
+${PYSITELIB}/docx/enum/base.pyc
+${PYSITELIB}/docx/enum/dml.pyo
+${PYSITELIB}/docx/enum/dml.pyc
+${PYSITELIB}/docx/enum/section.pyo
+${PYSITELIB}/docx/enum/section.pyc
+${PYSITELIB}/docx/enum/shape.pyo
+${PYSITELIB}/docx/enum/shape.pyc
+${PYSITELIB}/docx/enum/style.pyo
+${PYSITELIB}/docx/enum/style.pyc
+${PYSITELIB}/docx/enum/table.pyo
+${PYSITELIB}/docx/enum/table.pyc
+${PYSITELIB}/docx/enum/text.pyo
+${PYSITELIB}/docx/enum/text.pyc
+${PYSITELIB}/docx/enum/base.py
+${PYSITELIB}/docx/enum/dml.py
+${PYSITELIB}/docx/enum/section.py
+${PYSITELIB}/docx/enum/shape.py
+${PYSITELIB}/docx/enum/style.py
+${PYSITELIB}/docx/enum/table.py
+${PYSITELIB}/docx/enum/text.py
+${PYSITELIB}/docx/exceptions.py
+${PYSITELIB}/docx/image/__init__.py
+${PYSITELIB}/docx/image/__init__.pyo
+${PYSITELIB}/docx/image/__init__.pyc
+${PYSITELIB}/docx/image/bmp.pyo
+${PYSITELIB}/docx/image/bmp.pyc
+${PYSITELIB}/docx/image/constants.pyo
+${PYSITELIB}/docx/image/constants.pyc
+${PYSITELIB}/docx/image/exceptions.pyo
+${PYSITELIB}/docx/image/exceptions.pyc
+${PYSITELIB}/docx/image/gif.pyo
+${PYSITELIB}/docx/image/gif.pyc
+${PYSITELIB}/docx/image/helpers.pyo
+${PYSITELIB}/docx/image/helpers.pyc
+${PYSITELIB}/docx/image/image.pyo
+${PYSITELIB}/docx/image/image.pyc
+${PYSITELIB}/docx/image/jpeg.pyo
+${PYSITELIB}/docx/image/jpeg.pyc
+${PYSITELIB}/docx/image/png.pyo
+${PYSITELIB}/docx/image/png.pyc
+${PYSITELIB}/docx/image/tiff.pyo
+${PYSITELIB}/docx/image/tiff.pyc
+${PYSITELIB}/docx/image/bmp.py
+${PYSITELIB}/docx/image/constants.py
+${PYSITELIB}/docx/image/exceptions.py
+${PYSITELIB}/docx/image/gif.py
+${PYSITELIB}/docx/image/helpers.py
+${PYSITELIB}/docx/image/image.py
+${PYSITELIB}/docx/image/jpeg.py
+${PYSITELIB}/docx/image/png.py
+${PYSITELIB}/docx/image/tiff.py
+${PYSITELIB}/docx/opc/__init__.py
+${PYSITELIB}/docx/opc/__init__.pyo
+${PYSITELIB}/docx/opc/__init__.pyc
+${PYSITELIB}/docx/opc/compat.pyo
+${PYSITELIB}/docx/opc/compat.pyc
+${PYSITELIB}/docx/opc/constants.pyo
+${PYSITELIB}/docx/opc/constants.pyc
+${PYSITELIB}/docx/opc/coreprops.pyo
+${PYSITELIB}/docx/opc/coreprops.pyc
+${PYSITELIB}/docx/opc/exceptions.pyo
+${PYSITELIB}/docx/opc/exceptions.pyc
+${PYSITELIB}/docx/opc/oxml.pyo
+${PYSITELIB}/docx/opc/oxml.pyc
+${PYSITELIB}/docx/opc/package.pyo
+${PYSITELIB}/docx/opc/package.pyc
+${PYSITELIB}/docx/opc/packuri.pyo
+${PYSITELIB}/docx/opc/packuri.pyc
+${PYSITELIB}/docx/opc/part.pyo
+${PYSITELIB}/docx/opc/part.pyc
+${PYSITELIB}/docx/opc/phys_pkg.pyo
+${PYSITELIB}/docx/opc/phys_pkg.pyc
+${PYSITELIB}/docx/opc/pkgreader.pyo
+${PYSITELIB}/docx/opc/pkgreader.pyc
+${PYSITELIB}/docx/opc/pkgwriter.pyo
+${PYSITELIB}/docx/opc/pkgwriter.pyc
+${PYSITELIB}/docx/opc/rel.pyo
+${PYSITELIB}/docx/opc/rel.pyc
+${PYSITELIB}/docx/opc/shared.pyo
+${PYSITELIB}/docx/opc/shared.pyc
+${PYSITELIB}/docx/opc/spec.pyo
+${PYSITELIB}/docx/opc/spec.pyc
+${PYSITELIB}/docx/opc/compat.py
+${PYSITELIB}/docx/opc/constants.py
+${PYSITELIB}/docx/opc/coreprops.py
+${PYSITELIB}/docx/opc/exceptions.py
+${PYSITELIB}/docx/opc/oxml.py
+${PYSITELIB}/docx/opc/package.py
+${PYSITELIB}/docx/opc/packuri.py
+${PYSITELIB}/docx/opc/part.py
+${PYSITELIB}/docx/opc/parts/__init__.py
+${PYSITELIB}/docx/opc/parts/__init__.pyo
+${PYSITELIB}/docx/opc/parts/__init__.pyc
+${PYSITELIB}/docx/opc/parts/coreprops.pyo
+${PYSITELIB}/docx/opc/parts/coreprops.pyc
+${PYSITELIB}/docx/opc/parts/coreprops.py
+${PYSITELIB}/docx/opc/phys_pkg.py
+${PYSITELIB}/docx/opc/pkgreader.py
+${PYSITELIB}/docx/opc/pkgwriter.py
+${PYSITELIB}/docx/opc/rel.py
+${PYSITELIB}/docx/opc/shared.py
+${PYSITELIB}/docx/opc/spec.py
+${PYSITELIB}/docx/oxml/__init__.py
+${PYSITELIB}/docx/oxml/__init__.pyo
+${PYSITELIB}/docx/oxml/__init__.pyc
+${PYSITELIB}/docx/oxml/coreprops.pyo
+${PYSITELIB}/docx/oxml/coreprops.pyc
+${PYSITELIB}/docx/oxml/document.pyo
+${PYSITELIB}/docx/oxml/document.pyc
+${PYSITELIB}/docx/oxml/exceptions.pyo
+${PYSITELIB}/docx/oxml/exceptions.pyc
+${PYSITELIB}/docx/oxml/ns.pyo
+${PYSITELIB}/docx/oxml/ns.pyc
+${PYSITELIB}/docx/oxml/numbering.pyo
+${PYSITELIB}/docx/oxml/numbering.pyc
+${PYSITELIB}/docx/oxml/section.pyo
+${PYSITELIB}/docx/oxml/section.pyc
+${PYSITELIB}/docx/oxml/shape.pyo
+${PYSITELIB}/docx/oxml/shape.pyc
+${PYSITELIB}/docx/oxml/shared.pyo
+${PYSITELIB}/docx/oxml/shared.pyc
+${PYSITELIB}/docx/oxml/simpletypes.pyo
+${PYSITELIB}/docx/oxml/simpletypes.pyc
+${PYSITELIB}/docx/oxml/styles.pyo
+${PYSITELIB}/docx/oxml/styles.pyc
+${PYSITELIB}/docx/oxml/table.pyo
+${PYSITELIB}/docx/oxml/table.pyc
+${PYSITELIB}/docx/oxml/xmlchemy.pyo
+${PYSITELIB}/docx/oxml/xmlchemy.pyc
+${PYSITELIB}/docx/oxml/coreprops.py
+${PYSITELIB}/docx/oxml/document.py
+${PYSITELIB}/docx/oxml/exceptions.py
+${PYSITELIB}/docx/oxml/ns.py
+${PYSITELIB}/docx/oxml/numbering.py
+${PYSITELIB}/docx/oxml/section.py
+${PYSITELIB}/docx/oxml/shape.py
+${PYSITELIB}/docx/oxml/shared.py
+${PYSITELIB}/docx/oxml/simpletypes.py
+${PYSITELIB}/docx/oxml/styles.py
+${PYSITELIB}/docx/oxml/table.py
+${PYSITELIB}/docx/oxml/text/__init__.py
+${PYSITELIB}/docx/oxml/text/__init__.pyo
+${PYSITELIB}/docx/oxml/text/__init__.pyc
+${PYSITELIB}/docx/oxml/text/font.pyo
+${PYSITELIB}/docx/oxml/text/font.pyc
+${PYSITELIB}/docx/oxml/text/paragraph.pyo
+${PYSITELIB}/docx/oxml/text/paragraph.pyc
+${PYSITELIB}/docx/oxml/text/parfmt.pyo
+${PYSITELIB}/docx/oxml/text/parfmt.pyc
+${PYSITELIB}/docx/oxml/text/run.pyo
+${PYSITELIB}/docx/oxml/text/run.pyc
+${PYSITELIB}/docx/oxml/text/font.py
+${PYSITELIB}/docx/oxml/text/paragraph.py
+${PYSITELIB}/docx/oxml/text/parfmt.py
+${PYSITELIB}/docx/oxml/text/run.py
+${PYSITELIB}/docx/oxml/xmlchemy.py
+${PYSITELIB}/docx/package.py
+${PYSITELIB}/docx/parts/__init__.py
+${PYSITELIB}/docx/parts/__init__.pyo
+${PYSITELIB}/docx/parts/__init__.pyc
+${PYSITELIB}/docx/parts/document.pyo
+${PYSITELIB}/docx/parts/document.pyc
+${PYSITELIB}/docx/parts/image.pyo
+${PYSITELIB}/docx/parts/image.pyc
+${PYSITELIB}/docx/parts/numbering.pyo
+${PYSITELIB}/docx/parts/numbering.pyc
+${PYSITELIB}/docx/parts/styles.pyo
+${PYSITELIB}/docx/parts/styles.pyc
+${PYSITELIB}/docx/parts/document.py
+${PYSITELIB}/docx/parts/image.py
+${PYSITELIB}/docx/parts/numbering.py
+${PYSITELIB}/docx/parts/styles.py
+${PYSITELIB}/docx/section.py
+${PYSITELIB}/docx/shape.py
+${PYSITELIB}/docx/shared.py
+${PYSITELIB}/docx/styles/__init__.py
+${PYSITELIB}/docx/styles/__init__.pyo
+${PYSITELIB}/docx/styles/__init__.pyc
+${PYSITELIB}/docx/styles/latent.pyo
+${PYSITELIB}/docx/styles/latent.pyc
+${PYSITELIB}/docx/styles/style.pyo
+${PYSITELIB}/docx/styles/style.pyc
+${PYSITELIB}/docx/styles/styles.pyo
+${PYSITELIB}/docx/styles/styles.pyc
+${PYSITELIB}/docx/styles/latent.py
+${PYSITELIB}/docx/styles/style.py
+${PYSITELIB}/docx/styles/styles.py
+${PYSITELIB}/docx/table.py
+${PYSITELIB}/docx/templates/default-src.docx
+${PYSITELIB}/docx/templates/default-styles.xml
+${PYSITELIB}/docx/templates/default.docx
+${PYSITELIB}/docx/text/__init__.py
+${PYSITELIB}/docx/text/__init__.pyo
+${PYSITELIB}/docx/text/__init__.pyc
+${PYSITELIB}/docx/text/font.pyo
+${PYSITELIB}/docx/text/font.pyc
+${PYSITELIB}/docx/text/paragraph.pyo
+${PYSITELIB}/docx/text/paragraph.pyc
+${PYSITELIB}/docx/text/parfmt.pyo
+${PYSITELIB}/docx/text/parfmt.pyc
+${PYSITELIB}/docx/text/run.pyo
+${PYSITELIB}/docx/text/run.pyc
+${PYSITELIB}/docx/text/font.py
+${PYSITELIB}/docx/text/paragraph.py
+${PYSITELIB}/docx/text/parfmt.py
+${PYSITELIB}/docx/text/run.py
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
diff --git a/textproc/py-docx/distinfo b/textproc/py-docx/distinfo
new file mode 100644
index 00000000000..320fb3539f8
--- /dev/null
+++ b/textproc/py-docx/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/03/08 19:51:25 bsiegert Exp $
+
+SHA1 (python-docx-0.8.5.tar.gz) = 9bfca94ff692a5e36de239447934eac61f4765a5
+RMD160 (python-docx-0.8.5.tar.gz) = 10073168ae841ce7fcf9d3cda72a4c48e245f286
+SHA512 (python-docx-0.8.5.tar.gz) = 16c069da6ee4ee7237fbafc86bff8a1cfa86a1740bf3c26c63fdf3745ea32f272ced20d0004624033ee6403d15eb3ac00db7a36438f3f50421af2ad5d3f2cdf3
+Size (python-docx-0.8.5.tar.gz) = 5232432 bytes