pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-cogapp



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Jun 11 19:54:21 UTC 2024

Modified Files:
        pkgsrc/devel/py-cogapp: Makefile PLIST distinfo
Added Files:
        pkgsrc/devel/py-cogapp: ALTERNATIVES

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-cogapp/ALTERNATIVES
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-cogapp/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-cogapp/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-cogapp/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-cogapp/Makefile
diff -u pkgsrc/devel/py-cogapp/Makefile:1.3 pkgsrc/devel/py-cogapp/Makefile:1.4
--- pkgsrc/devel/py-cogapp/Makefile:1.3 Sat Jul 22 21:46:57 2023
+++ pkgsrc/devel/py-cogapp/Makefile     Tue Jun 11 19:54:21 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2023/07/22 21:46:57 yhardy Exp $
+# $NetBSD: Makefile,v 1.4 2024/06/11 19:54:21 adam Exp $
 
-DISTNAME=      cogapp-3.3.0
+DISTNAME=      cogapp-3.4.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cogapp/}
@@ -10,14 +10,15 @@ HOMEPAGE=   http://nedbatchelder.com/code/
 COMMENT=       Code generator for executing Python snippets in source files
 LICENSE=       mit
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && ${MV} cog cog-${PYVERSSUFFIX} || ${TRUE}
-       cd ${DESTDIR}${PREFIX}/bin && ${MV} cog.py cog-${PYVERSSUFFIX}.py || ${TRUE}
-
-do-test:
-       cd ${WRKSRC} && ${PYTHONBIN} -m unittest discover -v
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-cogapp/PLIST
diff -u pkgsrc/devel/py-cogapp/PLIST:1.2 pkgsrc/devel/py-cogapp/PLIST:1.3
--- pkgsrc/devel/py-cogapp/PLIST:1.2    Sat Jul 22 21:46:57 2023
+++ pkgsrc/devel/py-cogapp/PLIST        Tue Jun 11 19:54:21 2024
@@ -1,20 +1,18 @@
-@comment $NetBSD: PLIST,v 1.2 2023/07/22 21:46:57 yhardy Exp $
+@comment $NetBSD: PLIST,v 1.3 2024/06/11 19:54:21 adam Exp $
 bin/cog-${PYVERSSUFFIX}
-bin/cog-${PYVERSSUFFIX}.py
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS.txt
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/cogapp/__init__.py
 ${PYSITELIB}/cogapp/__init__.pyc
 ${PYSITELIB}/cogapp/__init__.pyo
 ${PYSITELIB}/cogapp/__main__.py
 ${PYSITELIB}/cogapp/__main__.pyc
 ${PYSITELIB}/cogapp/__main__.pyo
-${PYSITELIB}/cogapp/backward.py
-${PYSITELIB}/cogapp/backward.pyc
-${PYSITELIB}/cogapp/backward.pyo
 ${PYSITELIB}/cogapp/cogapp.py
 ${PYSITELIB}/cogapp/cogapp.pyc
 ${PYSITELIB}/cogapp/cogapp.pyo
@@ -30,6 +28,9 @@ ${PYSITELIB}/cogapp/test_makefiles.pyo
 ${PYSITELIB}/cogapp/test_whiteutils.py
 ${PYSITELIB}/cogapp/test_whiteutils.pyc
 ${PYSITELIB}/cogapp/test_whiteutils.pyo
+${PYSITELIB}/cogapp/utils.py
+${PYSITELIB}/cogapp/utils.pyc
+${PYSITELIB}/cogapp/utils.pyo
 ${PYSITELIB}/cogapp/whiteutils.py
 ${PYSITELIB}/cogapp/whiteutils.pyc
 ${PYSITELIB}/cogapp/whiteutils.pyo

Index: pkgsrc/devel/py-cogapp/distinfo
diff -u pkgsrc/devel/py-cogapp/distinfo:1.4 pkgsrc/devel/py-cogapp/distinfo:1.5
--- pkgsrc/devel/py-cogapp/distinfo:1.4 Sat Jul 22 21:46:57 2023
+++ pkgsrc/devel/py-cogapp/distinfo     Tue Jun 11 19:54:21 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2023/07/22 21:46:57 yhardy Exp $
+$NetBSD: distinfo,v 1.5 2024/06/11 19:54:21 adam Exp $
 
-BLAKE2s (cogapp-3.3.0.tar.gz) = 36a500febc6775067df8a25f33cfb6abf159787cec18ef75a753ec81a1ee0769
-SHA512 (cogapp-3.3.0.tar.gz) = 937b9372095ed0805d57083ff1642c66fc231ab65b09156fc0966df4439ced98f220d85e4ebca206b56969e1d721ff7dbb2c2d2550852b41a0dc17594317c322
-Size (cogapp-3.3.0.tar.gz) = 26164 bytes
+BLAKE2s (cogapp-3.4.1.tar.gz) = eefc2e6be69381bb677eed206efe68429b5492f62824306851c9b8c3ebda3a2b
+SHA512 (cogapp-3.4.1.tar.gz) = 7dda6720f3bfa2edca642a2082f8ad8aa4bbb6b13653e2c03d76726c88ddf433330a49d362b554f30ddab4468b9cfad6156167200b450258a697f93db1266586
+Size (cogapp-3.4.1.tar.gz) = 53776 bytes

Added files:

Index: pkgsrc/devel/py-cogapp/ALTERNATIVES
diff -u /dev/null pkgsrc/devel/py-cogapp/ALTERNATIVES:1.1
--- /dev/null   Tue Jun 11 19:54:21 2024
+++ pkgsrc/devel/py-cogapp/ALTERNATIVES Tue Jun 11 19:54:21 2024
@@ -0,0 +1 @@
+bin/cog @PREFIX@/bin/cog-@PYVERSSUFFIX@



Home | Main Index | Thread Index | Old Index