pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/py-sh



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon May 22 12:18:32 UTC 2023

Modified Files:
        pkgsrc/sysutils/py-sh: Makefile PLIST distinfo

Log Message:
py-sh: updated to 2.0.4

2.0.4 - 5/13/22

- Allow `ok_code` to be used with `fg`
- Make sure `new_group` never creates a new session

2.0.2 / 2.0.3 (misversioned) - 2/13/22

- Performance regression when using a generator with `_in`
- Adding test support for python 3.11

2.0.0 - 2/9/22

- Executed commands now return a unicode string by default
- Removed magical module-like execution contexts
- Added basic asyncio support via `_async`
- Dropped support for Python < 3.8
- Bumped default tty size to more standard (24, 80)
- First argument being a RunningCommand no longer automatically passes it as stdin
- `RunningCommand.__eq__` no longer has the side effect of executing the command
- `_tee` now supports both "err" and "out"
- Removed the builtin override `cd`
- Altered process launching model to behave more expectedly
- Bugfix where `_no_out` isn't allowed with `_iter="err"`
- Allow keyword arguments to have a list of values


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/sysutils/py-sh/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/sysutils/py-sh/PLIST
cvs rdiff -u -r1.7 -r1.8 pkgsrc/sysutils/py-sh/distinfo

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

Modified files:

Index: pkgsrc/sysutils/py-sh/Makefile
diff -u pkgsrc/sysutils/py-sh/Makefile:1.8 pkgsrc/sysutils/py-sh/Makefile:1.9
--- pkgsrc/sysutils/py-sh/Makefile:1.8  Wed Aug 24 09:25:56 2022
+++ pkgsrc/sysutils/py-sh/Makefile      Mon May 22 12:18:32 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2022/08/24 09:25:56 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2023/05/22 12:18:32 adam Exp $
 
-DISTNAME=      sh-1.14.3
+DISTNAME=      sh-2.0.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    sysutils python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/sh/}
@@ -10,11 +10,14 @@ HOMEPAGE=   https://github.com/amoffat/sh
 COMMENT=       Python subprocess replacement
 LICENSE=       mit
 
-# some test failures, see https://github.com/amoffat/sh/issues/347
-PYTHON_VERSIONED_DEPENDENCIES+=        coverage:test
+TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-core>=1.0.0:../../devel/py-poetry-core
 
 USE_LANGUAGES= # none
 
-.include "../../lang/python/versioned_dependencies.mk"
-.include "../../lang/python/egg.mk"
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m unittest discover -v
+
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/sysutils/py-sh/PLIST
diff -u pkgsrc/sysutils/py-sh/PLIST:1.2 pkgsrc/sysutils/py-sh/PLIST:1.3
--- pkgsrc/sysutils/py-sh/PLIST:1.2     Mon May  4 15:36:08 2020
+++ pkgsrc/sysutils/py-sh/PLIST Mon May 22 12:18:32 2023
@@ -1,8 +1,10 @@
-@comment $NetBSD: PLIST,v 1.2 2020/05/04 15:36:08 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.3 2023/05/22 12:18:32 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
 ${PYSITELIB}/sh.py
 ${PYSITELIB}/sh.pyc
-${PYSITELIB}/sh.pyo

Index: pkgsrc/sysutils/py-sh/distinfo
diff -u pkgsrc/sysutils/py-sh/distinfo:1.7 pkgsrc/sysutils/py-sh/distinfo:1.8
--- pkgsrc/sysutils/py-sh/distinfo:1.7  Mon Aug  1 18:23:41 2022
+++ pkgsrc/sysutils/py-sh/distinfo      Mon May 22 12:18:32 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2022/08/01 18:23:41 adam Exp $
+$NetBSD: distinfo,v 1.8 2023/05/22 12:18:32 adam Exp $
 
-BLAKE2s (sh-1.14.3.tar.gz) = d5c96e3ef19f5c7f38612a28ec86200edea31391613d143d6ec001f8f9f22362
-SHA512 (sh-1.14.3.tar.gz) = f78b418a396b78b4d303846da222eedc7525dee8d200bf96d48054d91a82671d40e0f1f82eb406b16016752ff95c3b2360075974abc3a5a814b8cfe70528231a
-Size (sh-1.14.3.tar.gz) = 62851 bytes
+BLAKE2s (sh-2.0.4.tar.gz) = 3ee3cea14a721e73d3bb86a0744a5f22b95203c0cc931cb3ce831b3b63fe7c25
+SHA512 (sh-2.0.4.tar.gz) = dc402941a3d6229f3331e32590e69745bf68d8680734f19661398559090fcb4b48ce3a28e1cdd7ba30b79b65c119f7b66ed6fe9351f12697670cf31a3ee7b270
+Size (sh-2.0.4.tar.gz) = 345443 bytes



Home | Main Index | Thread Index | Old Index