head	1.7;
access;
symbols
	pkgsrc-2026Q1:1.7.0.2
	pkgsrc-2026Q1-base:1.7
	pkgsrc-2025Q4:1.6.0.6
	pkgsrc-2025Q4-base:1.6
	pkgsrc-2025Q3:1.6.0.4
	pkgsrc-2025Q3-base:1.6
	pkgsrc-2025Q2:1.6.0.2
	pkgsrc-2025Q2-base:1.6
	pkgsrc-2025Q1:1.5.0.4
	pkgsrc-2025Q1-base:1.5
	pkgsrc-2024Q4:1.5.0.2
	pkgsrc-2024Q4-base:1.5
	pkgsrc-2024Q3:1.4.0.4
	pkgsrc-2024Q3-base:1.4
	pkgsrc-2024Q2:1.4.0.2
	pkgsrc-2024Q2-base:1.4
	pkgsrc-2024Q1:1.3.0.6
	pkgsrc-2024Q1-base:1.3
	pkgsrc-2023Q4:1.3.0.4
	pkgsrc-2023Q4-base:1.3
	pkgsrc-2023Q3:1.3.0.2
	pkgsrc-2023Q3-base:1.3
	pkgsrc-2023Q2:1.2.0.12
	pkgsrc-2023Q2-base:1.2
	pkgsrc-2023Q1:1.2.0.10
	pkgsrc-2023Q1-base:1.2
	pkgsrc-2022Q4:1.2.0.8
	pkgsrc-2022Q4-base:1.2
	pkgsrc-2022Q3:1.2.0.6
	pkgsrc-2022Q3-base:1.2
	pkgsrc-2022Q2:1.2.0.4
	pkgsrc-2022Q2-base:1.2
	pkgsrc-2022Q1:1.2.0.2
	pkgsrc-2022Q1-base:1.2
	pkgsrc-2021Q4:1.1.0.28
	pkgsrc-2021Q4-base:1.1
	pkgsrc-2021Q3:1.1.0.26
	pkgsrc-2021Q3-base:1.1
	pkgsrc-2021Q2:1.1.0.24
	pkgsrc-2021Q2-base:1.1
	pkgsrc-2021Q1:1.1.0.22
	pkgsrc-2021Q1-base:1.1
	pkgsrc-2020Q4:1.1.0.20
	pkgsrc-2020Q4-base:1.1
	pkgsrc-2020Q3:1.1.0.18
	pkgsrc-2020Q3-base:1.1
	pkgsrc-2020Q2:1.1.0.16
	pkgsrc-2020Q2-base:1.1
	pkgsrc-2020Q1:1.1.0.12
	pkgsrc-2020Q1-base:1.1
	pkgsrc-2019Q4:1.1.0.14
	pkgsrc-2019Q4-base:1.1
	pkgsrc-2019Q3:1.1.0.10
	pkgsrc-2019Q3-base:1.1
	pkgsrc-2019Q2:1.1.0.8
	pkgsrc-2019Q2-base:1.1
	pkgsrc-2019Q1:1.1.0.6
	pkgsrc-2019Q1-base:1.1
	pkgsrc-2018Q4:1.1.0.4
	pkgsrc-2018Q4-base:1.1
	pkgsrc-2018Q3:1.1.0.2
	pkgsrc-2018Q3-base:1.1;
locks; strict;
comment	@# @;


1.7
date	2026.01.09.06.08.29;	author adam;	state Exp;
branches;
next	1.6;
commitid	2ka9LTIccT9CjGpG;

1.6
date	2025.04.12.09.50.45;	author adam;	state Exp;
branches;
next	1.5;
commitid	r8Wgjj4HroY0iKQF;

1.5
date	2024.11.11.07.28.04;	author wiz;	state Exp;
branches;
next	1.4;
commitid	1fBDq3LwS98NncxF;

1.4
date	2024.06.11.19.54.21;	author adam;	state Exp;
branches;
next	1.3;
commitid	EL3pNzM6UQoQqBdF;

1.3
date	2023.07.22.21.46.57;	author yhardy;	state Exp;
branches;
next	1.2;
commitid	Cqwh1HDi6iZ4uQxE;

1.2
date	2022.01.04.20.52.57;	author wiz;	state Exp;
branches;
next	1.1;
commitid	CYyhdK9qtoffkmnD;

1.1
date	2018.08.07.09.21.18;	author adam;	state Exp;
branches;
next	;
commitid	b7XdBRpub5DtyaNA;


desc
@@


1.7
log
@py-cogapp: updated to 3.6.0

3.6.0 – September 21 2025

- Added a ``--check-fail-msg`` option for providing a message as part of the
  output of a ``--check`` failure.

- Added support for Python 3.14.


3.5.1 – June 10 2025

- Updated documentation to remove confusing terminology.


3.5.0 – June 5 2025

- Added a ``--diff`` option to show the diff of what changed to fail a
  ``--check`` run.

- Embedded code can change the current directory, cog will change back to the
  original directory when the code is done.

- Changed the checksum format to use shorter base64 encoding instead of hex,
  making checksums less visually distracting. The old hex format will still be
  accepted, but will be updated to the new format automatically when writing.

- Added ``--help`` option as an alias for ``-h``.

- Dropped support for Python 3.7 and 3.8, and added 3.13.
@
text
@# $NetBSD: Makefile,v 1.6 2025/04/12 09:50:45 adam Exp $

DISTNAME=	cogapp-3.6.0
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	devel python
MASTER_SITES=	${MASTER_SITE_PYPI:=c/cogapp/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	http://nedbatchelder.com/code/cog
COMMENT=	Code generator for executing Python snippets in source files
LICENSE=	mit

TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=80:../../devel/py-setuptools

USE_LANGUAGES=	# none

post-install:
	cd ${DESTDIR}${PREFIX}/bin && ${MV} cog cog-${PYVERSSUFFIX} || ${TRUE}

.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
@


1.6
log
@Fix PLIST after py-setuptools update; bump depends and revision
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2024/11/11 07:28:04 wiz Exp $
d3 1
a3 1
DISTNAME=	cogapp-3.4.1
a4 1
PKGREVISION=	1
d13 1
a13 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
@


1.5
log
@py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2024/06/11 19:54:21 adam Exp $
d5 1
d14 1
a14 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
a17 2
PYTHON_VERSIONS_INCOMPATIBLE=	27

@


1.4
log
@py-cogapp: updated to 3.4.1

3.4.1 – March 7 2024
--------------------

- Dropped support for Python 2.7, 3.5, and 3.6, and added 3.11 and 3.12.

- Removed the ``cog.py`` installed file.  Use the ``cog`` command, or ``python
  -m cogapp`` to run cog.

- Processing long files has been made much faster.  Thanks, Panayiotis Gavriil.

- Files listing other files to process can now be specified as
  ``&files_to_cog.txt`` to interpret the file names relative to the location of
  the list file.  The existing ``@@files_to_cog.txt`` syntax interprets file
  names relative to the current working directory.  Thanks, Phil Kirkpatrick.

- Support FIPS mode computers by marking our MD5 use as not related to
  security.  Thanks, Ryan Santos.

- Docs have moved to https://cog.readthedocs.io
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2023/07/22 21:46:57 yhardy Exp $
a13 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
@


1.3
log
@devel/py-cogapp: update to py[0-9]*-cogapp-3.3.0

Version 3.3.0, November 19 2021

 * Added the --check option to check whether files would change if
   run again, for use in continuous integration scenarios.

Version 3.2.0, November 7 2021

 * Added the -P option to use print() instead of cog.outl() for code
   output.

Version 3.1.0, August 31 2021

 * Fix a problem with Python 3.8.10 and 3.9.5 that require absolute
   paths in sys.path (issue #16).
 * Python 3.9 and 3.10 are supported.

Version 3.0.0, April 2 2019

 * Dropped support for Pythons 2.6, 3.3, and 3.4.
 * Errors occurring during content generation now print accurate
   tracebacks, showing the correct filename, line number, and
   source line.
 * Cog can now (again?) be run as just “cog” on the command line.
 * The -p PROLOGUE option was added to specify Python text to
   prepend to embedded code. Thanks, Anders Hovmöller.
 * Wildcards in command line arguments will be expanded by cog to
   help on Windows. Thanks, Hugh Perkins.
 * When using implicitly imported "cog", a new module is made for
   each run. This is important when using the cog API multi-threaded.
   Thanks, Daniel Murdin.
 * Moved development to GitHub.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2022/01/04 20:52:57 wiz Exp $
d3 1
a3 1
DISTNAME=	cogapp-3.3.0
d13 3
d18 2
a21 4
	cd ${DESTDIR}${PREFIX}/bin && ${MV} cog.py cog-${PYVERSSUFFIX}.py || ${TRUE}

do-test:
	cd ${WRKSRC} && ${PYTHONBIN} -m unittest discover -v
d23 1
a23 1
.include "../../lang/python/egg.mk"
@


1.2
log
@*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2018/08/07 09:21:18 adam Exp $
d3 1
a3 1
DISTNAME=	cogapp-2.5.1
a4 1
PKGREVISION=	1
d16 2
a17 1
	cd ${DESTDIR}${PREFIX}/bin && ${MV} cog.py cog-${PYVERSSUFFIX} || ${TRUE}
@


1.1
log
@py-cogapp: added version 2.5.1

Cog is a file generation tool. It lets you use pieces of Python code as
generators in your source files to generate whatever text you need.
@
text
@d1 1
a1 1
# $NetBSD$
d5 1
@

