Bug 265763 - [NEW PORT] textproc/python-pptx: Generate and manipulate Open XML PowerPoint (.pptx) files
Summary: [NEW PORT] textproc/python-pptx: Generate and manipulate Open XML PowerPoint ...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Neel Chauhan
URL:
Keywords:
Depends on:
Blocks: 265768
  Show dependency treegraph
 
Reported: 2022-08-10 17:28 UTC by Jesús Daniel Colmenares Oviedo
Modified: 2022-08-15 21:18 UTC (History)
1 user (show)

See Also:


Attachments
textproc-python-pptx-0.6.21.patch (3.35 KB, patch)
2022-08-10 17:28 UTC, Jesús Daniel Colmenares Oviedo
no flags Details | Diff
Fix missing test dependency version (1.11 KB, patch)
2022-08-11 04:23 UTC, Jesús Daniel Colmenares Oviedo
no flags Details | Diff
textproc-python-pptx-0.6.21.patch (3.28 KB, patch)
2022-08-11 18:24 UTC, Jesús Daniel Colmenares Oviedo
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesús Daniel Colmenares Oviedo 2022-08-10 17:28:22 UTC
Created attachment 235829 [details]
textproc-python-pptx-0.6.21.patch

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

portlint: looks fine.
poudriere: testport is ok.
Comment 1 Jesús Daniel Colmenares Oviedo 2022-08-11 04:23:17 UTC
Created attachment 235841 [details]
Fix missing test dependency version

When I run make test I noticed that the mock is not found because the package version in TEST_DEPENDS is required.
Comment 2 Jesús Daniel Colmenares Oviedo 2022-08-11 18:24:30 UTC
Created attachment 235850 [details]
textproc-python-pptx-0.6.21.patch

I have unified the patch to make it easier to read and commit, and I remove pytest in TEST_DEPENDS because USE_PYTHON already includes it.
Comment 3 Neel Chauhan freebsd_committer freebsd_triage 2022-08-15 21:17:58 UTC
Committed!
Comment 4 commit-hook freebsd_committer freebsd_triage 2022-08-15 21:18:52 UTC
A commit in branch main references this bug:

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

commit d34f3249f1c231e225bbc71bc1662ad7dc140db6
Author:     Jesús Daniel Colmenares Oviedo <DtxdF@riseup.net>
AuthorDate: 2022-08-11 18:17:20 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2022-08-15 21:17:46 +0000

    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

 textproc/Makefile                       |  1 +
 textproc/py-python-pptx/Makefile (new)  | 23 +++++++++++++++++++++++
 textproc/py-python-pptx/distinfo (new)  |  3 +++
 textproc/py-python-pptx/pkg-descr (new) | 13 +++++++++++++
 4 files changed, 40 insertions(+)