./sysutils/py-sh, Python subprocess replacement

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.1.0, Package name: py312-sh-2.1.0, Maintainer: pkgsrc-users

sh is a full-fledged subprocess replacement for Python that allows you to call
any program as if it were a function.


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 337.427 KB

Version history: (Expand)


CVS history: (Expand)


   2024-10-17 12:32:59 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-sh: updated to 2.1.0

2.1.0 - 10/8/24

- Add contrib command `sh.contrib.bash`
   2024-06-04 12:38:27 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-sh: updated to 2.0.7

2.0.7

- Fix `sh.glob` arguments
- Misc modernizations
   2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | Package updated
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
   2023-08-10 07:12:53 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-sh: updated to 2.0.6

2.0.6

Add back appropriate sdist files
   2023-08-09 15:19:19 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-sh: updated to 2.0.5

2.0.5

Allow nested with contexts
Call correct asyncio function for getting event loop
   2023-05-22 14:18:32 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
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
   2022-08-24 11:25:57 by Thomas Klausner | Files touched by this commit (17)
Log message:
*: use coverage from versioned_dependencies.mk
   2022-08-01 20:23:41 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-sh: updated to 1.14.3

1.14.3
* bugfix where `Command` was not aware of default call args when wrapping the module