notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
py-docxtpl Python docx template engine
0.16.6_1 textproc on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.16.6_1Version of this port present on the latest quarterly branch.
Maintainer: acm@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-04-30 06:51:12
Last Update: 2024-06-16 19:22:18
Commit Hash: fd877ba
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
Also Listed In: python
License: LGPL21
WWW:
https://github.com/elapouya/python-docx-template
Description:
python-docx-template has been created because python-docx is powerful for creating documents but not for modifying them. The idea is to begin to create an example of the document you want to generate with microsoft word, it can be as complex as you want: pictures, index tables, footer, header, variables, anything you can do with word. Then, as you are still editing the document with microsoft word, you insert jinja2-like tags directly in the document. You save the document as a .docx file (xml format). it will be your .docx template file. Now you can use python-docx-template to generate as many word documents you want from this .docx template and context variables you will associate.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}docxtpl>0:textproc/py-docxtpl@${PY_FLAVOR}
To install the port:
cd /usr/ports/textproc/py-docxtpl/ && make install clean
To add the package, run one of these commands:
  • pkg install textproc/py-docxtpl
  • pkg install py311-docxtpl
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-docxtpl listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-docxtpl
Package flavors (<flavor>: <package>)
  • py311: py311-docxtpl
distinfo:
TIMESTAMP = 1682829200 SHA256 (docxtpl-0.16.6.tar.gz) = c5938dd891bf13958dd5dfd513816c688999060f037c316756a005cdebf9a322 SIZE (docxtpl-0.16.6.tar.gz) = 29991

Packages (timestamps in pop-ups are UTC):
py39-docxtpl
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--0.16.6--0.16.60.16.60.16.6
FreeBSD:14:latest-----0.16.6-0.16.6
FreeBSD:14:quarterly-----0.16.60.16.60.16.6
FreeBSD:15:latest--n/a-n/a0.16.60.16.60.16.6
 

py311-docxtpl
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.16.6_10.16.6_1-0.16.6_10.16.6_1---
FreeBSD:13:quarterly0.16.6_10.16.6_1-0.16.6_10.16.6_1---
FreeBSD:14:latest0.16.6_10.16.6_1-0.16.6_10.16.6_1---
FreeBSD:14:quarterly0.16.6_10.16.6_1-0.16.6_10.16.6_1---
FreeBSD:15:latest0.16.6_10.16.6_1n/a0.16.6_1n/a---
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  2. python3.11 : lang/python311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. py311-lxml>=3.3.4 : devel/py-lxml@py311
  2. py311-python-docx>0 : textproc/py-python-docx@py311
  3. py311-docxcompose>0 : textproc/py-docxcompose@py311
  4. py311-six>0 : devel/py-six@py311
  5. py311-Jinja2>0 : devel/py-Jinja2@py311
  6. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  7. python3.11 : lang/python311
This port is required by:
for Run
  1. textproc/py-docx-generator

Configuration Options:
No options to configure
Options name:
textproc_py-docxtpl
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/d/docxtpl/
  2. https://pypi.org/packages/source/d/docxtpl/
Collapse this list.

Number of commits found: 3

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.16.6_1
16 Jun 2024 19:22:18
commit hash: fd877ba44562e7d3eba831508428199ded5e346fcommit hash: fd877ba44562e7d3eba831508428199ded5e346fcommit hash: fd877ba44562e7d3eba831508428199ded5e346fcommit hash: fd877ba44562e7d3eba831508428199ded5e346f files touched by this commit
Jose Alonso Cardenas Marquez (acm) search for other commits by this committer
textproc/py-docxtpl: Add textproc/py-docxcompose dependency

PR:		279621
Reported by:	mail_of_sergey __at __ mail.ru
0.16.6
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
0.16.6
30 Apr 2023 06:49:19
commit hash: 94270243dba9ce772b72772078e586e639c5f21fcommit hash: 94270243dba9ce772b72772078e586e639c5f21fcommit hash: 94270243dba9ce772b72772078e586e639c5f21fcommit hash: 94270243dba9ce772b72772078e586e639c5f21f files touched by this commit
Jose Alonso Cardenas Marquez (acm) search for other commits by this committer
textproc/py-docxtpl: New port: Python docx template engine

python-docx-template has been created because python-docx is powerful for
creating documents but not for modifying them.

The idea is to begin to create an example of the document you want to generate
with microsoft word, it can be as complex as you want: pictures, index tables,
footer, header, variables, anything you can do with word. Then, as you are
still editing the document with microsoft word, you insert jinja2-like tags
directly in the document. You save the document as a .docx file (xml format).
it will be your .docx template file.

Now you can use python-docx-template to generate as many word documents you
want from this .docx template and context variables you will associate.

Number of commits found: 3