BSD Ports

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

SystemPortVersion
FreeBSDsysutils/py-plumbum2.0.2
DragonFlysysutils/py-plumbum1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.0.22.0.21.8.01.9.02.0.2
FreeBSD:14:quarterly2.0.22.0.2n/a1.9.02.0.2
FreeBSD:15:latest2.0.22.0.2n/a1.9.01.9.0
FreeBSD:15:quarterly2.0.22.0.2n/an/an/a
FreeBSD:16:latest2.0.22.0.2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

The full lists below include those, and their dependencies in turn.

Build dependencies 22
Run dependencies 8

Configuration

Options name: sysutils_plumbum

OptionDefaultDescription
SSHoffSSH protocol support
USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
plumbum-2.0.2.tar.gz390799233751d7819c9e6743ec1c2405927eb4fa52a284c7b894bd10e28106a9309a92
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
8a3a9513f4 Po-Chuan Hsieh sysutils/py-plumbum: Update to 2.0.2
Changes: https://github.com/tomerfiliba/plumbum/releases