diff options
author | dbn <dbn@FreeBSD.org> | 2015-12-17 01:15:00 +0800 |
---|---|---|
committer | dbn <dbn@FreeBSD.org> | 2015-12-17 01:15:00 +0800 |
commit | 492e96c091c63cf273fc1845d81dbf9bc6f6ae45 (patch) | |
tree | 689984e746c37a345bfc1b2b0834e7135246621f /sysutils | |
parent | 9590df689cdeec27d76d4879f359c8786e848daf (diff) | |
download | freebsd-ports-gnome-492e96c091c63cf273fc1845d81dbf9bc6f6ae45.tar.gz freebsd-ports-gnome-492e96c091c63cf273fc1845d81dbf9bc6f6ae45.tar.zst freebsd-ports-gnome-492e96c091c63cf273fc1845d81dbf9bc6f6ae45.zip |
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)
- SSHMachine: Better error message for SSH (#211)
- SSHMachine: Support for FreeBSD remote (#220)
- Paths: Now a subclass of str, can be opened directly (#228)
- Paths: Improved pathlib compatibility with several additions and renames
(#223)
- Paths: Added globbing multiple patterns at once (#221)
- Commands: added NOHUP modifier (#221)
- CLI: added positional argument validation (#225)
- CLI: added envname, which allows you specify an environment variable for a
SwitchAttr (#216)
- CLI terminal: addded Progress, a command line progress bar for iterators and
ranges (#214)
- CLI: add invoke, which allows you to programmatically run applications (#149)
- CLI: add --help-all and various cosmetic fixes: (#125), (#126), (#127)
- CLI: add root_app property (#141)
- Machines: getattr now raises AttributeError instead of CommandNotFound (#135)
- Paramiko: keep_alive support (#186)
- Paramiko: does not support piping explicitly now (#160)
- Parmaiko: Added pure SFTP backend, gives STFP v4+ support (#188)
- Paths: bugfix to cwd interaction with Path (#142)
- Paths: read/write now accept an optional encoding parameter (#148)
- Paths: Suffix support similar to the Python 3.4 standard library pathlib
(#198)
- Commands: renamed setenv to with_env (#143)
- Commands: pipelines will now fail with ProcessExecutionError if the source
process fails (#145)
- Commands: added TF and RETCODE modifiers (#202)
- Experimental concurrent machine support in experimental/parallel.py
- Several minor bug fixes, including Windows and Python 3 fixes (#199, #195)
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/py-plumbum/Makefile | 12 | ||||
-rw-r--r-- | sysutils/py-plumbum/distinfo | 4 | ||||
-rw-r--r-- | sysutils/py-plumbum/pkg-plist | 117 |
3 files changed, 128 insertions, 5 deletions
diff --git a/sysutils/py-plumbum/Makefile b/sysutils/py-plumbum/Makefile index f0ad00f2b9a8..38a011f679c9 100644 --- a/sysutils/py-plumbum/Makefile +++ b/sysutils/py-plumbum/Makefile @@ -2,9 +2,9 @@ # $FreeBSD$ PORTNAME= plumbum -PORTVERSION= 1.4.2 +PORTVERSION= 1.6.0 +DISTVERSIONPREFIX= v CATEGORIES= sysutils python -MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= dbn@FreeBSD.org @@ -12,7 +12,13 @@ COMMENT= Shell combinators and more for python LICENSE= MIT +TEST_DEPENDS= nosetests-${PYTHON_VER}:${PORTSDIR}/devel/py-nose + USES= python -USE_PYTHON= distutils autoplist +USE_GITHUB= yes +USE_PYTHON= distutils concurrent +GH_ACCOUNT= tomerfiliba +do-test: + @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} nosetests-${PYTHON_VER} --processes=${MAKE_JOBS_NUMBER}) .include <bsd.port.mk> diff --git a/sysutils/py-plumbum/distinfo b/sysutils/py-plumbum/distinfo index 9daf769379df..68e0df511973 100644 --- a/sysutils/py-plumbum/distinfo +++ b/sysutils/py-plumbum/distinfo @@ -1,2 +1,2 @@ -SHA256 (plumbum-1.4.2.tar.gz) = eb931131cbfbf158cb42e58cbcfee085979b9f91479e3948b6351fadd68484eb -SIZE (plumbum-1.4.2.tar.gz) = 52336 +SHA256 (tomerfiliba-plumbum-v1.6.0_GH0.tar.gz) = bfbac39789e29ea49b011771d288796b4363886c856cf5c11d61e7c5723f4238 +SIZE (tomerfiliba-plumbum-v1.6.0_GH0.tar.gz) = 250932 diff --git a/sysutils/py-plumbum/pkg-plist b/sysutils/py-plumbum/pkg-plist new file mode 100644 index 000000000000..7d955a21bef9 --- /dev/null +++ b/sysutils/py-plumbum/pkg-plist @@ -0,0 +1,117 @@ +%%PYTHON_SITELIBDIR%%/plumbum/__init__.py +%%PYTHON_SITELIBDIR%%/plumbum/__init__.pyc +%%PYTHON_SITELIBDIR%%/plumbum/__init__.pyo +%%PYTHON_SITELIBDIR%%/plumbum/_testtools.py +%%PYTHON_SITELIBDIR%%/plumbum/_testtools.pyc +%%PYTHON_SITELIBDIR%%/plumbum/_testtools.pyo +%%PYTHON_SITELIBDIR%%/plumbum/cli/__init__.py +%%PYTHON_SITELIBDIR%%/plumbum/cli/__init__.pyc +%%PYTHON_SITELIBDIR%%/plumbum/cli/__init__.pyo +%%PYTHON_SITELIBDIR%%/plumbum/cli/application.py +%%PYTHON_SITELIBDIR%%/plumbum/cli/application.pyc +%%PYTHON_SITELIBDIR%%/plumbum/cli/application.pyo +%%PYTHON_SITELIBDIR%%/plumbum/cli/progress.py +%%PYTHON_SITELIBDIR%%/plumbum/cli/progress.pyc +%%PYTHON_SITELIBDIR%%/plumbum/cli/progress.pyo +%%PYTHON_SITELIBDIR%%/plumbum/cli/switches.py +%%PYTHON_SITELIBDIR%%/plumbum/cli/switches.pyc +%%PYTHON_SITELIBDIR%%/plumbum/cli/switches.pyo +%%PYTHON_SITELIBDIR%%/plumbum/cli/terminal.py +%%PYTHON_SITELIBDIR%%/plumbum/cli/terminal.pyc +%%PYTHON_SITELIBDIR%%/plumbum/cli/terminal.pyo +%%PYTHON_SITELIBDIR%%/plumbum/cli/termsize.py +%%PYTHON_SITELIBDIR%%/plumbum/cli/termsize.pyc +%%PYTHON_SITELIBDIR%%/plumbum/cli/termsize.pyo +%%PYTHON_SITELIBDIR%%/plumbum/colorlib/__init__.py +%%PYTHON_SITELIBDIR%%/plumbum/colorlib/__init__.pyc +%%PYTHON_SITELIBDIR%%/plumbum/colorlib/__init__.pyo +%%PYTHON_SITELIBDIR%%/plumbum/colorlib/__main__.py +%%PYTHON_SITELIBDIR%%/plumbum/colorlib/__main__.pyc +%%PYTHON_SITELIBDIR%%/plumbum/colorlib/__main__.pyo +%%PYTHON_SITELIBDIR%%/plumbum/colorlib/_ipython_ext.py +%%PYTHON_SITELIBDIR%%/plumbum/colorlib/_ipython_ext.pyc +%%PYTHON_SITELIBDIR%%/plumbum/colorlib/_ipython_ext.pyo +%%PYTHON_SITELIBDIR%%/plumbum/colorlib/factories.py +%%PYTHON_SITELIBDIR%%/plumbum/colorlib/factories.pyc +%%PYTHON_SITELIBDIR%%/plumbum/colorlib/factories.pyo +%%PYTHON_SITELIBDIR%%/plumbum/colorlib/names.py +%%PYTHON_SITELIBDIR%%/plumbum/colorlib/names.pyc +%%PYTHON_SITELIBDIR%%/plumbum/colorlib/names.pyo +%%PYTHON_SITELIBDIR%%/plumbum/colorlib/styles.py +%%PYTHON_SITELIBDIR%%/plumbum/colorlib/styles.pyc +%%PYTHON_SITELIBDIR%%/plumbum/colorlib/styles.pyo +%%PYTHON_SITELIBDIR%%/plumbum/colors.py +%%PYTHON_SITELIBDIR%%/plumbum/colors.pyc +%%PYTHON_SITELIBDIR%%/plumbum/colors.pyo +%%PYTHON_SITELIBDIR%%/plumbum/commands/__init__.py +%%PYTHON_SITELIBDIR%%/plumbum/commands/__init__.pyc +%%PYTHON_SITELIBDIR%%/plumbum/commands/__init__.pyo +%%PYTHON_SITELIBDIR%%/plumbum/commands/base.py +%%PYTHON_SITELIBDIR%%/plumbum/commands/base.pyc +%%PYTHON_SITELIBDIR%%/plumbum/commands/base.pyo +%%PYTHON_SITELIBDIR%%/plumbum/commands/daemons.py +%%PYTHON_SITELIBDIR%%/plumbum/commands/daemons.pyc +%%PYTHON_SITELIBDIR%%/plumbum/commands/daemons.pyo +%%PYTHON_SITELIBDIR%%/plumbum/commands/modifiers.py +%%PYTHON_SITELIBDIR%%/plumbum/commands/modifiers.pyc +%%PYTHON_SITELIBDIR%%/plumbum/commands/modifiers.pyo +%%PYTHON_SITELIBDIR%%/plumbum/commands/processes.py +%%PYTHON_SITELIBDIR%%/plumbum/commands/processes.pyc +%%PYTHON_SITELIBDIR%%/plumbum/commands/processes.pyo +%%PYTHON_SITELIBDIR%%/plumbum/fs/__init__.py +%%PYTHON_SITELIBDIR%%/plumbum/fs/__init__.pyc +%%PYTHON_SITELIBDIR%%/plumbum/fs/__init__.pyo +%%PYTHON_SITELIBDIR%%/plumbum/fs/atomic.py +%%PYTHON_SITELIBDIR%%/plumbum/fs/atomic.pyc +%%PYTHON_SITELIBDIR%%/plumbum/fs/atomic.pyo +%%PYTHON_SITELIBDIR%%/plumbum/fs/mounts.py +%%PYTHON_SITELIBDIR%%/plumbum/fs/mounts.pyc +%%PYTHON_SITELIBDIR%%/plumbum/fs/mounts.pyo +%%PYTHON_SITELIBDIR%%/plumbum/lib.py +%%PYTHON_SITELIBDIR%%/plumbum/lib.pyc +%%PYTHON_SITELIBDIR%%/plumbum/lib.pyo +%%PYTHON_SITELIBDIR%%/plumbum/machines/__init__.py +%%PYTHON_SITELIBDIR%%/plumbum/machines/__init__.pyc +%%PYTHON_SITELIBDIR%%/plumbum/machines/__init__.pyo +%%PYTHON_SITELIBDIR%%/plumbum/machines/_windows.py +%%PYTHON_SITELIBDIR%%/plumbum/machines/_windows.pyc +%%PYTHON_SITELIBDIR%%/plumbum/machines/_windows.pyo +%%PYTHON_SITELIBDIR%%/plumbum/machines/base.py +%%PYTHON_SITELIBDIR%%/plumbum/machines/base.pyc +%%PYTHON_SITELIBDIR%%/plumbum/machines/base.pyo +%%PYTHON_SITELIBDIR%%/plumbum/machines/env.py +%%PYTHON_SITELIBDIR%%/plumbum/machines/env.pyc +%%PYTHON_SITELIBDIR%%/plumbum/machines/env.pyo +%%PYTHON_SITELIBDIR%%/plumbum/machines/local.py +%%PYTHON_SITELIBDIR%%/plumbum/machines/local.pyc +%%PYTHON_SITELIBDIR%%/plumbum/machines/local.pyo +%%PYTHON_SITELIBDIR%%/plumbum/machines/paramiko_machine.py +%%PYTHON_SITELIBDIR%%/plumbum/machines/paramiko_machine.pyc +%%PYTHON_SITELIBDIR%%/plumbum/machines/paramiko_machine.pyo +%%PYTHON_SITELIBDIR%%/plumbum/machines/remote.py +%%PYTHON_SITELIBDIR%%/plumbum/machines/remote.pyc +%%PYTHON_SITELIBDIR%%/plumbum/machines/remote.pyo +%%PYTHON_SITELIBDIR%%/plumbum/machines/session.py +%%PYTHON_SITELIBDIR%%/plumbum/machines/session.pyc +%%PYTHON_SITELIBDIR%%/plumbum/machines/session.pyo +%%PYTHON_SITELIBDIR%%/plumbum/machines/ssh_machine.py +%%PYTHON_SITELIBDIR%%/plumbum/machines/ssh_machine.pyc +%%PYTHON_SITELIBDIR%%/plumbum/machines/ssh_machine.pyo +%%PYTHON_SITELIBDIR%%/plumbum/path/__init__.py +%%PYTHON_SITELIBDIR%%/plumbum/path/__init__.pyc +%%PYTHON_SITELIBDIR%%/plumbum/path/__init__.pyo +%%PYTHON_SITELIBDIR%%/plumbum/path/base.py +%%PYTHON_SITELIBDIR%%/plumbum/path/base.pyc +%%PYTHON_SITELIBDIR%%/plumbum/path/base.pyo +%%PYTHON_SITELIBDIR%%/plumbum/path/local.py +%%PYTHON_SITELIBDIR%%/plumbum/path/local.pyc +%%PYTHON_SITELIBDIR%%/plumbum/path/local.pyo +%%PYTHON_SITELIBDIR%%/plumbum/path/remote.py +%%PYTHON_SITELIBDIR%%/plumbum/path/remote.pyc +%%PYTHON_SITELIBDIR%%/plumbum/path/remote.pyo +%%PYTHON_SITELIBDIR%%/plumbum/path/utils.py +%%PYTHON_SITELIBDIR%%/plumbum/path/utils.pyc +%%PYTHON_SITELIBDIR%%/plumbum/path/utils.pyo +%%PYTHON_SITELIBDIR%%/plumbum/version.py +%%PYTHON_SITELIBDIR%%/plumbum/version.pyc +%%PYTHON_SITELIBDIR%%/plumbum/version.pyo |