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
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.
New feature planned: get notified when the package is available. Now is the time to contribute ideas/suggestions.
Port details
py-cog Code Generator for any language
3.1.0 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 3.1.0Version of this port present on the latest quarterly branch.
Maintainer: apesternikov@page2rss.com search for ports maintained by this maintainer
Port Added: 2007-04-13 16:43:22
Last Update: 2023-06-27 19:34:34
Commit Hash: 3d9a815
Also Listed In: python
License: MIT
WWW:
https://www.nedbatchelder.com/code/cog/index.html
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

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}cog>0:devel/py-cog@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-cog/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-cog
  • pkg install py39-cog
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 py39-cog listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py39-cog
Package flavors (<flavor>: <package>)
  • py39: py39-cog
distinfo:
TIMESTAMP = 1639995468 SHA256 (cogapp-3.1.0.tar.gz) = c43e374ee5ca2a35fbc68556f598bd8578eabe8a890487980bba56945b5ce9c6 SIZE (cogapp-3.1.0.tar.gz) = 25578

Packages (timestamps in pop-ups are UTC):
py37-cog
ABIlatestquarterly
FreeBSD:13:aarch64--
FreeBSD:13:amd64--
FreeBSD:13:armv62.3_2-
FreeBSD:13:armv7--
FreeBSD:13:i386--
FreeBSD:13:powerpc--
FreeBSD:13:powerpc642.3_2-
FreeBSD:13:powerpc64le--
FreeBSD:14:aarch64--
FreeBSD:14:amd64--
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i386--
FreeBSD:14:powerpc--
FreeBSD:14:powerpc64--
FreeBSD:14:powerpc64le--
FreeBSD:15:aarch64--
FreeBSD:15:amd64--
FreeBSD:15:armv7--
FreeBSD:15:powerpc--
FreeBSD:15:powerpc64--
FreeBSD:15:powerpc64le--
 
py39-cog
ABIlatestquarterly
FreeBSD:13:aarch643.1.03.1.0
FreeBSD:13:amd643.1.03.1.0
FreeBSD:13:armv6-3.1.0
FreeBSD:13:armv73.1.03.1.0
FreeBSD:13:i3863.1.03.1.0
FreeBSD:13:powerpc-3.1.0
FreeBSD:13:powerpc64-3.1.0
FreeBSD:13:powerpc64le-3.1.0
FreeBSD:14:aarch643.1.03.1.0
FreeBSD:14:amd643.1.03.1.0
FreeBSD:14:armv63.1.0-
FreeBSD:14:armv73.1.03.1.0
FreeBSD:14:i3863.1.03.1.0
FreeBSD:14:powerpc3.1.03.1.0
FreeBSD:14:powerpc64-3.1.0
FreeBSD:14:powerpc64le3.1.03.1.0
FreeBSD:15:aarch643.1.0-
FreeBSD:15:amd643.1.0-
FreeBSD:15:armv73.1.0-
FreeBSD:15:powerpc3.1.0-
FreeBSD:15:powerpc643.1.0-
FreeBSD:15:powerpc64le3.1.0-
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  2. python3.9 : lang/python39
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  2. python3.9 : lang/python39
This port is required by:
for Run
  1. devel/py-easyprocess
  2. x11/py-pyvirtualdisplay

Configuration Options:
No options to configure
Options name:
devel_py-cog
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.

Number of commits found: 18

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
3.1.0
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>
3.1.0
11 Jan 2023 15:58:34
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
3.1.0
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
3.1.0
20 Jul 2022 14:21:35
commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
devel: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Waitman Gobble" <uzimac@da3m0n8t3r.com>
  *  <jkoshy@FreeBSD.org>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron H. K. Diep <ahkdiep@gmail.com>
  *  Aaron Hurt <ahurt@anbcs.com>
  *  Abel Chow <abel_chow@yahoo.com>
  *  Adam McLaurin
  *  Adam Saponara <as@php.net>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
3.1.0
07 Mar 2022 18:13:23
commit hash: 4382d8ee09f3dd851f7a6f9a4be481d599af9079commit hash: 4382d8ee09f3dd851f7a6f9a4be481d599af9079commit hash: 4382d8ee09f3dd851f7a6f9a4be481d599af9079commit hash: 4382d8ee09f3dd851f7a6f9a4be481d599af9079 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-cog: Add NO_ARCH

Approved by:	portmgr (blanket)
3.1.0
20 Dec 2021 10:20:34
commit hash: 664074d4b3bd1df3f88ed6b6cdfc713fec23ad16commit hash: 664074d4b3bd1df3f88ed6b6cdfc713fec23ad16commit hash: 664074d4b3bd1df3f88ed6b6cdfc713fec23ad16commit hash: 664074d4b3bd1df3f88ed6b6cdfc713fec23ad16 files touched by this commit
Wen Heping (wen) search for other commits by this committer
devel/py-cog: Update to 3.1.0

PR:		259309
Reported by:	gspurki@gmail.com
Approved by:	maintainer(timeout, >= 2 months)
2.3_2
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
2.3_2
28 Dec 2020 23:02:15
Revision:559531Original commit files touched by this commit
antoine search for other commits by this committer
Drop python 2.7 support from a few ports

With hat:	portmgr
2.3_2
02 Mar 2015 23:21:08
Revision:380304Original commit files touched by this commit
bapt search for other commits by this committer
Remove Author from pkg-descr and white space fixes
2.3_2
10 Oct 2014 21:22:58
Revision:370604Original commit files touched by this commit
antoine search for other commits by this committer
Allow staging as a regular user,  distfile was rerolled (previous distfile
had files and directories unreadable)
2.3_1
19 Feb 2014 06:53:00
Revision:345007Original commit files touched by this commit
miwi search for other commits by this committer
- Stage support
- Convert to autoplist
- Bump PORTREV
2.3
20 Sep 2013 17:13:47
Revision:327724Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3)
2.3
11 Jun 2012 11:30:24
Original commit files touched by this commit
culot search for other commits by this committer
- Update to 2.3 [1]
- Mark it Python3 ready

Changes:        http://nedbatchelder.com/code/cog/changes.html
PR:             ports/168367 [1]
Submitted by:   koobs <koobs.freebsd@gmail.com>
Approved by:    maintainer timeout (>14 days)
2.2
12 Apr 2011 03:59:57
Original commit files touched by this commit
miwi search for other commits by this committer
- Update to 2.2

PR:             155527
Submitted by:   Maintainer
2.1
27 Feb 2009 12:36:46
Original commit files touched by this commit
lwhsu search for other commits by this committer
- Update to 2.1

PR:             ports/131263
Submitted by:   lwhsu
Approved by:    Alexey Pesternikov <paster@page2rss.com> (maintainer)
2.0
01 Feb 2009 18:42:56
Original commit files touched by this commit
lwhsu search for other commits by this committer
- Fix fetch

Reported by:    -fetch-original pointyhat run
2.0
13 Apr 2007 16:42:45
Original commit files touched by this commit
nivit search for other commits by this committer
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.

Author: Ned Batchelder
WWW: http://www.nedbatchelder.com/code/cog/index.html

PR:             ports/111046
Submitted by:   Alex Pesternikov <apesternikov at page2rss.com>

Number of commits found: 18