sysutils/py-plumbum 2.0.2 FreeBSD
Shell combinators library
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
8a3a9513f4- License
- MIT
- Categories
- sysutils, python
- Package size
- 313.3 KiB, 1836.1 KiB installed
Description
Ever wished the compactness of shell scripts be put into a real programming language? Say hello to Plumbum Shell Combinators. Plumbum (Latin for lead, which was used to create pipes back in the day) is a small yet feature-rich library for shell script-like programs in Python. The motto of the library is "Never write shell scripts again", and thus it attempts to mimic the shell syntax ("shell combinators") where it makes sense, while keeping it all Pythonic and cross-platform.
Apart from shell-like syntax and handy shortcuts, the library provides local and remote command execution (over SSH), local and remote file-system paths, easy working-directory and environment manipulation, and a programmatic Command-Line Interface (CLI) application toolkit. Now let's see some code!
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | sysutils/py-plumbum | 2.0.2 |
| DragonFly | sysutils/py-plumbum | 1.9.0 |
Install
Binary package:
pkg install py312-plumbum
From the ports tree:
cd /usr/ports/sysutils/py-plumbum/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-plumbum>0:sysutils/py-plumbum
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.0.2 | 2.0.2 | 1.8.0 | 1.9.0 | 2.0.2 |
| FreeBSD:14:quarterly | 2.0.2 | 2.0.2 | n/a | 1.9.0 | 2.0.2 |
| FreeBSD:15:latest | 2.0.2 | 2.0.2 | n/a | 1.9.0 | 1.9.0 |
| FreeBSD:15:quarterly | 2.0.2 | 2.0.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.0.2 | 2.0.2 | 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 2
${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0: devel/py-hatch-vcs${PYTHON_PKGNAMEPREFIX}hatchling>=1.27.0: devel/py-hatchling
The full lists below include those, and their dependencies in turn.
Build dependencies 22
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatch-vcs
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-setuptools
- devel/py-setuptools-scm
- devel/py-trove-classifiers
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
Run dependencies 8
Configuration
Options name: sysutils_plumbum
| Option | Default | Description |
|---|---|---|
| SSH | off | SSH protocol support |
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| plumbum-2.0.2.tar.gz | 390799 | 233751d7819c9e6743ec1c2405927eb4fa52a284c7b894bd10e28106a9309a92 |
Master sites 1
- PYPI