Cog transforms files in a very simple way: it finds chunks of Python code
embedded in them, executes the Python code, and inserts its output back into
the original file. The file can contain whatever text you like around the
Python code. It will usually be source code.
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-cogapp listed in the above command, you can pick from the names under the Packages section.
===> The following configuration options are available for py311-cogapp-3.5.1:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
devel/py-cogapp: Fix build by adding missing py-wheel dependency
The port uses pep517 build system which requires wheel during the build
process. Add it as a BUILD_DEPENDS to fix the build failure.
Reviewed by: tagattie
Differential Revision: https://reviews.freebsd.org/D51344
devel/py-cogapp: update to 3.5.1
While here:
- rename from devel/py-cog to devel/py-cogapp per FreeBSD python ports
naming policy
The policy requires a python port name must match its
upstream (PyPI) name.
- update WWW
- add LICENSE_FILE
- convert to pep517
- add DOCS option
- add do-test target and test-time dependencies
Changelog: https://github.com/nedbat/cog/blob/v3.5.1/CHANGELOG.rst
PR: 287670
Approved by: apesternikov@page2rss.com (maintainer timeout; >3 weeks)