Port details |
- py-plumbum Shell combinators library
- 1.9.0 sysutils
=2 1.9.0Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2013-12-19 15:22:01
- Last Update: 2024-10-14 05:25:46
- Commit Hash: 36bda4f
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/tomerfiliba/plumbum
- 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!
¦ ¦ ¦ ¦ 
- 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}plumbum>0:sysutils/py-plumbum@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/sysutils/py-plumbum/ && make install clean
- To add the package, run one of these commands:
- pkg install sysutils/py-plumbum
- pkg install py311-plumbum
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-plumbum listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-plumbum
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1728632474
SHA256 (plumbum-1.9.0.tar.gz) = e640062b72642c3873bd5bdc3effed75ba4d3c70ef6b6a7b907357a84d909219
SIZE (plumbum-1.9.0.tar.gz) = 319083
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-hatch-vcs>=0 : devel/py-hatch-vcs@py311
- py311-hatchling>=0 : devel/py-hatchling@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-RPyC
- devel/py-copier
- www/flexget
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- ===> The following configuration options are available for py311-plumbum-1.9.0:
SSH=off: SSH protocol support
===> Use 'make config' to modify these settings
- Options name:
- sysutils_py-plumbum
- 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 |
1.9.0 14 Oct 2024 05:25:46
    |
Po-Chuan Hsieh (sunpoet)  |
sysutils/py-plumbum: Update to 1.9.0
Changes: https://github.com/tomerfiliba/plumbum/releases |
1.8.3 19 May 2024 17:15:53
    |
Po-Chuan Hsieh (sunpoet)  |
sysutils/py-plumbum: Update to 1.8.3
Changes: https://github.com/tomerfiliba/plumbum/releases |
1.8.2 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.8.2 05 Jun 2023 18:47:21
    |
Po-Chuan Hsieh (sunpoet)  |
sysutils/py-plumbum: Update to 1.8.2
Changes: https://github.com/tomerfiliba/plumbum/releases |
1.8.1_2 04 Apr 2023 18:29:11
    |
Antoine Brodin (antoine)  |
USE_PYTHON=pep517: bump PORTREVISION |
1.8.1_1 21 Mar 2023 19:21:18
    |
Po-Chuan Hsieh (sunpoet)  |
sysutils/py-plumbum: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for dependency and package change |
1.8.1 30 Jan 2023 13:00:17
    |
Po-Chuan Hsieh (sunpoet)  |
sysutils/py-plumbum: Update to 1.8.1
Changes: https://github.com/tomerfiliba/plumbum/releases |
1.8.0 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.8.0 09 Oct 2022 19:45:30
    |
Po-Chuan Hsieh (sunpoet)  |
sysutils/py-plumbum: Update to 1.8.0
Changes: https://github.com/tomerfiliba/plumbum/releases |
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.7.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.7.2 20 Jul 2022 14:23:05
    |
Tobias C. Berner (tcberner)  |
sysutils: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <jsmith@resonatingmedia.com>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Landwehr <aaron@snaphat.com>
* Adam Weinberger <adamw@FreeBSD.org>
* Adrian Chadd
* Adrian Chadd <adrian@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alan Eldridge <alane@FreeBSD.org>
* Alan Eldridge <alane@geeksrus.net>
* Aldis Berjoza <aldis@bsdroot.lv>
* Alex Deiter <alex.deiter@gmail.com> (Only the first 15 lines of the commit message are shown above ) |
1.7.2 11 Jan 2022 18:44:41
    |
Po-Chuan Hsieh (sunpoet)  |
sysutils/py-plumbum: Update to 1.7.2
Changes: https://github.com/tomerfiliba/plumbum/releases |
1.7.1 21 Dec 2021 18:49:13
    |
Po-Chuan Hsieh (sunpoet)  |
sysutils/py-plumbum: Update to 1.7.1
Changes: https://github.com/tomerfiliba/plumbum/releases |
1.7.0 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
1.7.0 03 Mar 2021 18:12:48
  |
sunpoet  |
Add SSH option |
1.7.0 17 Feb 2021 18:09:32
  |
sunpoet  |
Update to 1.7.0
Changes: https://github.com/tomerfiliba/plumbum/releases |
1.6.9 28 Dec 2020 23:02:15
  |
antoine  |
Drop python 2.7 support from a few ports
With hat: portmgr |
1.6.9 31 Mar 2020 23:09:13
  |
sunpoet  |
Update to 1.6.9
Changes: https://github.com/tomerfiliba/plumbum/releases |
1.6.8 04 Feb 2020 17:55:07
  |
sunpoet  |
Update to 1.6.8
- Add NO_ARCH
- Update WWW
- Take maintainership
Changes: https://github.com/tomerfiliba/plumbum/releases |
1.6.7 03 Feb 2020 20:21:08
  |
rene  |
Return dbn's ports to the pool after safekeeping his commit bit. |
1.6.7 18 Aug 2018 08:52:04
  |
dbn  |
sysutils/py-plumbum: update to 1.6.7
- PyPI sources do not ship LICENSE_FILE or tests
- ChangeLog:
* Commands: Added run_* methods as an alternative to modifiers
* CLI: Added support for ALLOW_ABREV
* CLI: Added DESCRIPTION_MORE, preserves spacing
* Color: Avoid throwing error in atexit in special cases (like pytest)
* Smaller bugfixes and other testing improvements. |
1.6.6_1 20 Jun 2018 17:05:44
  |
mat  |
Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.
Sponsored by: Absolight |
1.6.6_1 02 Jun 2018 16:32:38
  |
dbn  |
sysutils/py-plumbum: fix comment and pkg-descr
PR: 226697
Submitted by: 0mp |
1.6.6 11 Mar 2018 18:26:53
  |
dbn  |
sysutils/py-plumbum: update to 1.6.6
ChangeLog:
- Critical Bugfix: High-speed (English) translations could break the CLI
module (issue #371) |
1.6.5 06 Jan 2018 14:31:30
  |
dbn  |
sysutils/py-plumbum: update to 1.6.5
ChangeLog:
- Critical Bugfix: Syntax error in image script could break pip installs (#366)
- CLI: Regression fix: English apps now load as fast as in 1.6.3 (#364)
- CLI: Missing colon restored in group names
- Regression fix: Restored non-setuptools installs (#367) |
1.6.4 18 Dec 2017 12:52:46
  |
dbn  |
sysutils/py-plumbum: update to 1.6.4
- link to LICENSE file in source
- sort USE_PYTHON lexicographically |
1.6.3 30 Nov 2017 15:50:34
  |
mat  |
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the (Only the first 15 lines of the commit message are shown above ) |
1.6.3 09 Jan 2017 05:42:52
  |
dbn  |
sysutils/py-plumbum: update to 1.6.3
* Python 3.6 is now supported, critical bug fixed (#302)
* Commands: Better handling of return codes for pipelines (#288)
* Paths: Return split support (regression) (#286) - also supports dummy args
for better ``str`` compatibility
* Paths: Added support for Python 3.6 path protocol
* Paths: Support Python's ``in`` syntax
* CLI: Added Config parser (provisional) (#304)
* Color: image plots with `python -m plumbum.cli.image` (#304)
* SSH: No longer hangs on failure (#306)
* Test improvements, especially on non-linux systems |
1.6.2 28 Oct 2016 16:00:43
  |
dbn  |
sysutils/py-plumbum: use autoplist instead of py3kplist.
- py3kplist should only be used if there is no alternative.
- MFH in conjuction with r424744
PR: 213812
Reported by: rm
MFH: 2016Q4 |
1.6.2 27 Oct 2016 06:10:54
  |
dbn  |
sysutils/py-plumbum: fix packages with Python 3
PR: 213812
Submitted by: jbeich |
1.6.2 29 Jun 2016 06:00:57
  |
dbn  |
sysutils/py-plumbum: update to 1.9.2.
ChangeLog:
* CLI: Progress now has a clear keyword that hides the bar on completion
* CLI: Progress without clear now starts on next line without having to
manually add '\n'.
* Commands: modifiers now accept a timeout parameter (#281)
* Commands: BG modifier now allows stdout/stderr redirection (to screen,
for example) (#258)
* Commands: Modifiers no longer crash on repr (#262)
* Remote: nohup works again, typo fixed (#261)
* Added better support for SunOS and other OS's. (#260)
* Colors: Context manager flushes stream now, provides more consistant results
* Other smaller bugfixes, better support for Python 3.6+ |
1.6.1 01 Apr 2016 14:25:18
  |
mat  |
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat: portmgr
Sponsored by: Absolight |
1.6.1 08 Feb 2016 04:05:57
  |
dbn  |
sysutils/py-plumbum: update to 1.6.1
- Switching testing frameworks from nosetest to pytest
- Use setup.py to run tests |
1.6.0 16 Dec 2015 17:15:00
  |
dbn  |
sysutils/py-plumbum: update to 1.6.0
Port Changes:
- Add test target using nosetests.
- Switch to GH distribution to get unit tests.
- Add pkg-plist (do not use autoplist generation)
Change Log:
- Added support for Python 3.5, PyPy, and better Windows and Mac support, with
CI testing (#218, #217, #226)
- Colors: Added colors module, support for colors added to cli (#213)
- Machines: Added .get() method for checking several commands. (#205)
- Machines: local.cwd now is the current directory even if you change the
directory with non-Plumbum methods (fixes unexpected behavior).
(#207) (Only the first 15 lines of the commit message are shown above ) |
1.4.2 24 Oct 2014 16:56:10
  |
mva  |
- Convert ports of sysutils/ to new USES=python
Approved by: portmgr (implicit) |
1.4.2 12 May 2014 16:19:07
  |
dbn  |
Update sysutils/py-plumbum to 1.4.2.
ChangeLog:
Maintenance release with mostly minor bug fixes, mostly revolving around
Paramiko/Python 3 integration. |
1.4.1 01 Mar 2014 06:41:46
  |
dbn  |
Update sysutils/py-plumbum to 1.4.1.
ChangeLog:
* Force /bin/sh to be the shell in SshMachine.session() (#111)
* Added islink() and unlink() to path objects (#100, #103)
* Added access to path objects
* Faster which implementation (#98)
* Several minor bug fixes |
1.4.0 19 Dec 2013 15:21:50
  |
dbn  |
Introduce sysutils/py-plumbum 1.4.0. |