pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-testpath



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Apr 20 21:56:23 UTC 2025

Modified Files:
        pkgsrc/devel/py-testpath: Makefile PLIST distinfo

Log Message:
py-testpath: update to 0.6.0.

Release notes
=============

0.6
---

February 2022

* Removed some code that's unused since dropping Python 2 support.
* Relax the version constraint for the ``flit_core`` build requirement.

0.5
---

May 2021

* Easier ways to use :class:`.MockCommand` to customise mocked commands,
  including ``python=`` to specify extra code to run,
  :meth:`~.MockCommand.fixed_output`, and :meth:`~.MockCommand.assert_called`.
* Command mocking will use :data:`os.defpath` as the initial PATH if the PATH
  environment variable is not set.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-testpath/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-testpath/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-testpath/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-testpath/Makefile
diff -u pkgsrc/devel/py-testpath/Makefile:1.7 pkgsrc/devel/py-testpath/Makefile:1.8
--- pkgsrc/devel/py-testpath/Makefile:1.7       Sun Jan  9 11:58:14 2022
+++ pkgsrc/devel/py-testpath/Makefile   Sun Apr 20 21:56:23 2025
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2022/01/09 11:58:14 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2025/04/20 21:56:23 wiz Exp $
 
-DISTNAME=      testpath-0.3.1
+DISTNAME=      testpath-0.6.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/testpath/}
 
@@ -11,10 +10,12 @@ HOMEPAGE=   https://github.com/jupyter/tes
 COMMENT=       Test utilities for code working with files and commands
 LICENSE=       mit
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core-[0-9]*:../../devel/py-flit_core
+
 USE_LANGUAGES= # none
 
 post-extract:
        ${RM} ${WRKSRC}/testpath/cli-*.exe
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-testpath/PLIST
diff -u pkgsrc/devel/py-testpath/PLIST:1.5 pkgsrc/devel/py-testpath/PLIST:1.6
--- pkgsrc/devel/py-testpath/PLIST:1.5  Sat Jan 22 15:22:41 2022
+++ pkgsrc/devel/py-testpath/PLIST      Sun Apr 20 21:56:23 2025
@@ -1,9 +1,8 @@
-@comment $NetBSD: PLIST,v 1.5 2022/01/22 15:22:41 wiz Exp $
-${PLIST.py2x}${PYSITELIB}/${EGG_INFODIR}
-${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.6 2025/04/20 21:56:23 wiz Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
 ${PYSITELIB}/testpath/__init__.py
 ${PYSITELIB}/testpath/__init__.pyc
 ${PYSITELIB}/testpath/__init__.pyo

Index: pkgsrc/devel/py-testpath/distinfo
diff -u pkgsrc/devel/py-testpath/distinfo:1.4 pkgsrc/devel/py-testpath/distinfo:1.5
--- pkgsrc/devel/py-testpath/distinfo:1.4       Tue Oct 26 10:19:10 2021
+++ pkgsrc/devel/py-testpath/distinfo   Sun Apr 20 21:56:23 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:19:10 nia Exp $
+$NetBSD: distinfo,v 1.5 2025/04/20 21:56:23 wiz Exp $
 
-BLAKE2s (testpath-0.3.1.tar.gz) = 2264a8bfcac66c119da2a1fe3bb28aa4245c596d7f8837e0549ed3549b56c299
-SHA512 (testpath-0.3.1.tar.gz) = 30eb88cdaab26333b8f04ca7d5de3f56190837bde5406dbee0163eac69a8c2ec5b9626e9c3de001f5a14cf0317bdcbcee4996956f0299a32dcf5f74201d39d06
-Size (testpath-0.3.1.tar.gz) = 91663 bytes
+BLAKE2s (testpath-0.6.0.tar.gz) = 7dc87290c5147936d74eb75e8f9f62540b47cd76a04ab05739a5743c691dbaa2
+SHA512 (testpath-0.6.0.tar.gz) = 64ec7ee32ed766e518eabcbb552a0675b2495cac6b94adb2972dd0db97d747146d3a181e8fac59d847dbaaa4f573c349e51a4e3bf3991eb33207bb2176736649
+Size (testpath-0.6.0.tar.gz) = 93348 bytes



Home | Main Index | Thread Index | Old Index