Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Apr 2023 04:33:09 GMT
From:      Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8295d3d54540 - main - textproc/py-docxcompose: New port: Python library for concatenating/appending Microsoft Word files
Message-ID:  <202304300433.33U4X96M040074@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by acm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8295d3d545402b6ab3c4b9114060a4cc4ac94303

commit 8295d3d545402b6ab3c4b9114060a4cc4ac94303
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2023-04-30 04:24:29 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2023-04-30 04:24:29 +0000

    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.
---
 textproc/Makefile                 |  1 +
 textproc/py-docxcompose/Makefile  | 23 +++++++++++++++++++++++
 textproc/py-docxcompose/distinfo  |  3 +++
 textproc/py-docxcompose/pkg-descr |  2 ++
 4 files changed, 29 insertions(+)

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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304300433.33U4X96M040074>