diff options
author | Jesús Daniel Colmenares Oviedo <DtxdF@riseup.net> | 2022-08-11 14:17:20 -0400 |
---|---|---|
committer | Neel Chauhan <nc@FreeBSD.org> | 2022-08-15 14:17:46 -0700 |
commit | d34f3249f1c231e225bbc71bc1662ad7dc140db6 (patch) | |
tree | 186ff8b6d16961e81372b33d4f05fc32de107ddb /textproc/py-python-pptx | |
parent | science/py-pyqubo: New port: DWave: Python DSL for constructing QUBOs from ma... (diff) |
textproc/python-pptx: new port
python-pptx is a Python library for creating and updating PowerPoint
(.pptx) files.
A typical use would be generating a customized PowerPoint presentation
from database content, downloadable by clicking a link in a web
application. Several developers have used it to automate production
of presentation-ready engineering status reports based on information
held in their work management system. It could also be used for
making bulk updates to a library of presentations or simply to
automate the production of a slide or two that would be tedious to
get right by hand.
PR: 265763
Diffstat (limited to 'textproc/py-python-pptx')
-rw-r--r-- | textproc/py-python-pptx/Makefile | 23 | ||||
-rw-r--r-- | textproc/py-python-pptx/distinfo | 3 | ||||
-rw-r--r-- | textproc/py-python-pptx/pkg-descr | 13 |
3 files changed, 39 insertions, 0 deletions
diff --git a/textproc/py-python-pptx/Makefile b/textproc/py-python-pptx/Makefile new file mode 100644 index 000000000000..de71f1b3853f --- /dev/null +++ b/textproc/py-python-pptx/Makefile @@ -0,0 +1,23 @@ +PORTNAME= python-pptx +PORTVERSION= 0.6.21 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= DtxdF@riseup.net +COMMENT= Generate and manipulate Open XML PowerPoint (.pptx) files + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=3.1.0:devel/py-lxml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pillow>=3.3.2:graphics/py-pillow@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}XlsxWriter>=0.5.7:textproc/py-xlsxwriter@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}behave>0:devel/py-behave@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyparsing>=2.0.1:devel/py-pyparsing@${PY_FLAVOR} + +USES= python:3.8+ +USE_PYTHON= autoplist distutils pytest + +.include <bsd.port.mk> diff --git a/textproc/py-python-pptx/distinfo b/textproc/py-python-pptx/distinfo new file mode 100644 index 000000000000..a5a8d40038a8 --- /dev/null +++ b/textproc/py-python-pptx/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1659916659 +SHA256 (python-pptx-0.6.21.tar.gz) = 7798a2aaf89563565b3c7120c0acfe9aff775db0db3580544e3bf4840c2e378f +SIZE (python-pptx-0.6.21.tar.gz) = 10100675 diff --git a/textproc/py-python-pptx/pkg-descr b/textproc/py-python-pptx/pkg-descr new file mode 100644 index 000000000000..2774d9142e5f --- /dev/null +++ b/textproc/py-python-pptx/pkg-descr @@ -0,0 +1,13 @@ +python-pptx is a Python library for creating and updating PowerPoint +(.pptx) files. + +A typical use would be generating a customized PowerPoint presentation +from database content, downloadable by clicking a link in a web +application. Several developers have used it to automate production +of presentation-ready engineering status reports based on information +held in their work management system. It could also be used for +making bulk updates to a library of presentations or simply to +automate the production of a slide or two that would be tedious to +get right by hand. + +WWW: https://github.com/scanny/python-pptx |