devel/py-sh 2.4.0 FreeBSD
Python subprocess replacement
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
a62f14754f- License
- MIT
- Categories
- devel, python
- Package size
- 85.4 KiB, 452.9 KiB installed
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.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-sh | 2.4.0 |
| OpenBSD | devel/py-sh | 2.4.0 |
| DragonFly | devel/py-sh | 2.2.2 |
Install
Binary package:
pkg install py312-sh
From the ports tree:
cd /usr/ports/devel/py-sh/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-sh>0:devel/py-sh
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.4.0 | 2.4.0 | 1.14.3 | 2.2.2 | 2.4.0 |
| FreeBSD:14:quarterly | 2.4.0 | 2.4.0 | n/a | 2.2.2 | 2.4.0 |
| FreeBSD:15:latest | 2.4.0 | 2.4.0 | n/a | 2.2.2 | 2.2.2 |
| FreeBSD:15:quarterly | 2.4.0 | 2.4.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.4.0 | 2.4.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}hatchling>=0: devel/py-hatchling
The full lists below include those, and their dependencies in turn.
Build dependencies 19
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-trove-classifiers
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
Run dependencies 7
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| sh-2.4.0.tar.gz | 136950 | a250aef68509ed93419c9a1d90b0647cd5cbe26107ba94d3717ef5b6d595ffd9 |
Master sites 2
- PYPI
- https://github.com/amoffat/sh/releases/download/2.4.0/