Port details |
- py-sh Python subprocess replacement
- 2.2.1 devel
=4 2.1.0Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2015-01-27 06:13:49
- Last Update: 2025-02-03 15:51:21
- Commit Hash: 9b6983b
- People watching this port, also watch:: monit, inotify-tools, freeradius3
- Also Listed In: python
- License: MIT
- WWW:
- https://sh.readthedocs.io/en/latest/
- https://github.com/amoffat/sh
- Description:
- sh is a full-fledged subprocess replacement for Python 3.8 - 3.11, and PyPy that
allows you to call any program as if it were a function.
sh is not a collection of system commands implemented in Python.
sh relies on various Unix system calls and only works on Unix-like operating
systems - Linux, macOS, BSDs etc.
 ¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}sh>0:devel/py-sh@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-sh/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-sh
- pkg install py311-sh
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-sh listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-sh
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1738089066
SHA256 (sh-2.2.1.tar.gz) = 287021ae84183dea49787985e33797dda7fe769e4f95f2c94dff8e245ab4cb00
SIZE (sh-2.2.1.tar.gz) = 345105
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-poetry-core>=1.0.0 : devel/py-poetry-core@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- python3.11 : lang/python311
- This port is required by:
- for Run
-
- devel/py-gitless
- devel/py-python-gilt
Configuration Options:
- No options to configure
- Options name:
- devel_py-sh
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.2.1 03 Feb 2025 15:51:21
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-sh: Update to 2.2.1
Changes: https://github.com/amoffat/sh/releases |
2.1.0 14 Oct 2024 05:25:38
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-sh: Update to 2.1.0
- Add GitHub to MASTER_SITES
Changes: https://github.com/amoffat/sh/releases |
2.0.7 18 Sep 2024 06:13:16
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-sh: Update to 2.0.7
- Update WWW
- Convert to USE_PYTHON=pep517
- Update pkg-descr
Changes: https://github.com/amoffat/sh/releases |
1.14.3 15 Sep 2024 07:18:29
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-sh: Take maintainership |
1.14.3 14 Sep 2024 22:42:04
    |
Guangyuan Yang (ygy)  |
devel/py-sh: drop maintainership |
1.14.3 27 Jun 2023 19:34:34
    |
Rene Ladan (rene)  |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
1.14.3 11 Jan 2023 15:58:34
    |
Dmitry Marakasov (amdmi3)  |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
1.14.3 01 Nov 2022 05:47:56
    |
Guangyuan Yang (ygy)  |
devel/py-sh: Update to 1.14.3
Changelog: https://github.com/amoffat/sh/blob/develop/CHANGELOG.md#1143---71722 |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
1.14.2 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
1.14.2 22 May 2022 05:11:38
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-sh: Add NO_ARCH
Approved by: portmgr (blanket) |
1.14.2 17 May 2021 17:21:16
    |
Guangyuan Yang (ygy)  |
devel/py-sh: Update to 1.14.2
Approved by: lwhsu (mentor) |
1.14.1 07 Apr 2021 08:09:01
    |
Mathieu Arnold (mat)  |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
1.14.1 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
1.14.1 28 Dec 2020 23:02:15
  |
antoine  |
Drop python 2.7 support from a few ports
With hat: portmgr |
1.14.1 19 Dec 2020 04:12:31
  |
ygy  |
devel/py-sh: Update to 1.14.1
PR: 251294
Approved by: lwhsu |
1.12.14 18 Dec 2020 18:36:32
  |
ygy  |
Reset and take che bein.link's maintainership
PR: 251933
Discussed with: rene
Approved by: mikael |
1.12.14 13 Nov 2017 14:20:15
  |
swills  |
devel/py-sh: updating to 1.12.14
PR: 223068
Submitted by: Le Baron d'Merde <lbdm@privacychain.ch>
Approved by: che@bein.link (maintainer timeout, >2 weeks) |
1.11 27 Jan 2015 06:13:30
  |
koobs  |
[NEW] devel/py-sh: Python subprocess interface
sh (previously pbs) is a full-fledged subprocess replacement for Python
2.6 - 3.4 that allows you to call any program as if it were a function.
WWW: https://github.com/amoffat/sh
PR: 197086
Submitted by: Maxim Filimonov <che bein.link> |