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
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Port details
py-cogapp Code Generator for any language
3.5.1 devel on this many watch lists=0 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 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: apesternikov@page2rss.com search for ports maintained by this maintainer
Port Added: 2025-07-14 07:42:06
Last Update: 2025-07-16 14:15:30
Commit Hash: c547723
Also Listed In: python
License: MIT
WWW:
https://cog.readthedocs.io/
Description:
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.
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.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}cogapp>0:devel/py-cogapp@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-cogapp/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-cogapp
  • pkg install py311-cogapp
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.
PKGNAME: py311-cogapp
Package flavors (<flavor>: <package>)
  • py311: py311-cogapp
distinfo:
TIMESTAMP = 1750296715 SHA256 (cogapp-3.5.1.tar.gz) = a9e8b8c31e5e47de722f27eaba1ec128dd6c8e7b6015555d9c8edaa5ad6092b4 SIZE (cogapp-3.5.1.tar.gz) = 59428

Packages (timestamps in pop-ups are UTC):
py311-cogapp
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest3.5.13.5.1-3.5.13.5.1---
FreeBSD:13:quarterly--------
FreeBSD:14:latest3.5.13.5.1-3.5.13.5.1---
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>0 : devel/py-setuptools@py311
  2. py311-wheel>0 : devel/py-wheel@py311
  3. python3.11 : lang/python311
  4. py311-build>=0 : devel/py-build@py311
  5. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. py311-build>0 : devel/py-build@py311
  2. py311-check-manifest>0 : devel/py-check-manifest@py311
  3. py311-coverage>0 : devel/py-coverage@py311
  4. py311-sphinx>0 : textproc/py-sphinx@py311
  5. py311-tox>0 : devel/py-tox@py311
  6. py311-twine>0 : devel/py-twine@py311
  7. python3.11 : lang/python311
Runtime dependencies:
  1. python3.11 : lang/python311
This port is required by:
for Build
  1. misc/qman
for Run
  1. devel/py-easyprocess
  2. x11/py-pyvirtualdisplay

Configuration Options:
===> 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
Options name:
devel_py-cogapp
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/c/cogapp/
  2. https://pypi.org/packages/source/c/cogapp/
Collapse this list.
Port Moves
  • port moved here from devel/py-cog on 2025-07-14
    REASON: Renamed to match upstream PyPI package name

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
3.5.1
16 Jul 2025 14:15:30
commit hash: c547723908fa355e0cbd0d59fd353e25bef6ec3fcommit hash: c547723908fa355e0cbd0d59fd353e25bef6ec3fcommit hash: c547723908fa355e0cbd0d59fd353e25bef6ec3fcommit hash: c547723908fa355e0cbd0d59fd353e25bef6ec3f files touched by this commit
Jimmy Olgeni (olgeni) search for other commits by this committer
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
3.5.1
14 Jul 2025 07:39:52
commit hash: cf400e378bbd8d16154a2c046061cc46d0719da7commit hash: cf400e378bbd8d16154a2c046061cc46d0719da7commit hash: cf400e378bbd8d16154a2c046061cc46d0719da7commit hash: cf400e378bbd8d16154a2c046061cc46d0719da7 files touched by this commit
Hiroki Tagato (tagattie) search for other commits by this committer
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)

Number of commits found: 2