summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-python-docx/Makefile21
-rw-r--r--textproc/py-python-docx/distinfo2
-rw-r--r--textproc/py-python-docx/pkg-descr3
4 files changed, 27 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 32f92a49bb11..c71266c052fa 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1229,6 +1229,7 @@
SUBDIR += py-pystache
SUBDIR += py-pystemmer
SUBDIR += py-python-augeas
+ SUBDIR += py-python-docx
SUBDIR += py-pytidylib
SUBDIR += py-pyx12
SUBDIR += py-qrcode
diff --git a/textproc/py-python-docx/Makefile b/textproc/py-python-docx/Makefile
new file mode 100644
index 000000000000..bae630f2df5c
--- /dev/null
+++ b/textproc/py-python-docx/Makefile
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+PORTNAME= python-docx
+PORTVERSION= 0.8.5
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= jjachuf@gmail.com
+COMMENT= Python library for creating and updating Microsoft Word files
+
+LICENSE= MIT
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=3.3.4:${PORTSDIR}/devel/py-lxml
+
+# Python3 ready
+USES= python
+USE_PYTHON= autoplist distutils
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-python-docx/distinfo b/textproc/py-python-docx/distinfo
new file mode 100644
index 000000000000..3c595ef7c640
--- /dev/null
+++ b/textproc/py-python-docx/distinfo
@@ -0,0 +1,2 @@
+SHA256 (python-docx-0.8.5.tar.gz) = 190ee604bd8c4ac9b8f97d665ff162c847e1f7ca8f5a49291fdbcaf272e8abd7
+SIZE (python-docx-0.8.5.tar.gz) = 5232432
diff --git a/textproc/py-python-docx/pkg-descr b/textproc/py-python-docx/pkg-descr
new file mode 100644
index 000000000000..ee5707c3c3e6
--- /dev/null
+++ b/textproc/py-python-docx/pkg-descr
@@ -0,0 +1,3 @@
+Python library for creating and updating Microsoft Word files.
+
+WWW: https://github.com/mikemaccana/python-docx