Skip to content

Commit 406b033

Browse files
committed
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.
1 parent 0b86fd6 commit 406b033

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

devel/py-cogapp/Makefile

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# $NetBSD: Makefile,v 1.2 2022/01/04 20:52:57 wiz Exp $
1+
# $NetBSD: Makefile,v 1.3 2023/07/22 21:46:57 yhardy Exp $
22

3-
DISTNAME= cogapp-2.5.1
3+
DISTNAME= cogapp-3.3.0
44
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5-
PKGREVISION= 1
65
CATEGORIES= devel python
76
MASTER_SITES= ${MASTER_SITE_PYPI:=c/cogapp/}
87

@@ -14,7 +13,8 @@ LICENSE= mit
1413
USE_LANGUAGES= # none
1514

1615
post-install:
17-
cd ${DESTDIR}${PREFIX}/bin && ${MV} cog.py cog-${PYVERSSUFFIX} || ${TRUE}
16+
cd ${DESTDIR}${PREFIX}/bin && ${MV} cog cog-${PYVERSSUFFIX} || ${TRUE}
17+
cd ${DESTDIR}${PREFIX}/bin && ${MV} cog.py cog-${PYVERSSUFFIX}.py || ${TRUE}
1818

1919
do-test:
2020
cd ${WRKSRC} && ${PYTHONBIN} -m unittest discover -v

devel/py-cogapp/PLIST

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
@comment $NetBSD: PLIST,v 1.1 2018/08/07 09:21:18 adam Exp $
1+
@comment $NetBSD: PLIST,v 1.2 2023/07/22 21:46:57 yhardy Exp $
22
bin/cog-${PYVERSSUFFIX}
3+
bin/cog-${PYVERSSUFFIX}.py
34
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
45
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
56
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
7+
${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
68
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
79
${PYSITELIB}/cogapp/__init__.py
810
${PYSITELIB}/cogapp/__init__.pyc

devel/py-cogapp/distinfo

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
$NetBSD: distinfo,v 1.3 2021/10/26 10:18:19 nia Exp $
1+
$NetBSD: distinfo,v 1.4 2023/07/22 21:46:57 yhardy Exp $
22

3-
BLAKE2s (cogapp-2.5.1.tar.gz) = e86d798955d60989ba56e47047078682f21459d399b1e8a04da3fb23d1b87b93
4-
SHA512 (cogapp-2.5.1.tar.gz) = 91eec0ef2ee0f4bac50c90c46ed8cbe2f97688ea2e783eae6a99686d8d7e2634ff53b3d634cbfb8ddc65caf41321b9fb2c05641891c34dd0b7abaaa47a4be731
5-
Size (cogapp-2.5.1.tar.gz) = 22226 bytes
3+
BLAKE2s (cogapp-3.3.0.tar.gz) = 36a500febc6775067df8a25f33cfb6abf159787cec18ef75a753ec81a1ee0769
4+
SHA512 (cogapp-3.3.0.tar.gz) = 937b9372095ed0805d57083ff1642c66fc231ab65b09156fc0966df4439ced98f220d85e4ebca206b56969e1d721ff7dbb2c2d2550852b41a0dc17594317c322
5+
Size (cogapp-3.3.0.tar.gz) = 26164 bytes

0 commit comments

Comments
 (0)