aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2023-04-30 04:24:29 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2023-04-30 04:24:29 +0000
commit8295d3d545402b6ab3c4b9114060a4cc4ac94303 (patch)
tree6ced9cb326d9388b46be0c8e652d42f8da12a10d
parent0b2a355ffd2a518078c835d4c6182efce0c352b5 (diff)
textproc/py-docxcompose: New port: Python library for concatenating/appending Microsoft Word files
docxcompose is a Python library for concatenating/appending Microsoft Word (.docx) files.
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-docxcompose/Makefile23
-rw-r--r--textproc/py-docxcompose/distinfo3
-rw-r--r--textproc/py-docxcompose/pkg-descr2
4 files changed, 29 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index d2d605d51800..defa0a63090a 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1321,6 +1321,7 @@
SUBDIR += py-docstring-to-markdown
SUBDIR += py-docutils
SUBDIR += py-docx2txt
+ SUBDIR += py-docxcompose
SUBDIR += py-dominate
SUBDIR += py-dparse
SUBDIR += py-duecredit
diff --git a/textproc/py-docxcompose/Makefile b/textproc/py-docxcompose/Makefile
new file mode 100644
index 000000000000..8c82203e3c6a
--- /dev/null
+++ b/textproc/py-docxcompose/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= docxcompose
+PORTVERSION= 1.4.0
+CATEGORIES= textproc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= acm@FreeBSD.org
+COMMENT= Python library for concatenating/appending Microsoft Word files.
+WWW= https://github.com/4teamwork/docxcompose
+
+LICENSE= MIT
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=3.3.4:devel/py-lxml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}python-docx>0:textproc/py-python-docx@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}Babel>0:devel/py-babel@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-docxcompose/distinfo b/textproc/py-docxcompose/distinfo
new file mode 100644
index 000000000000..2d26cba3d866
--- /dev/null
+++ b/textproc/py-docxcompose/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1682816074
+SHA256 (docxcompose-1.4.0.tar.gz) = bcf2799a0b63c29eb77a3d799a2f28443ae0f69f8691ff3d753f706be515c3e9
+SIZE (docxcompose-1.4.0.tar.gz) = 20219
diff --git a/textproc/py-docxcompose/pkg-descr b/textproc/py-docxcompose/pkg-descr
new file mode 100644
index 000000000000..ba76f865903f
--- /dev/null
+++ b/textproc/py-docxcompose/pkg-descr
@@ -0,0 +1,2 @@
+docxcompose is a Python library for concatenating/appending Microsoft Word
+(.docx) files.