aboutsummaryrefslogtreecommitdiff
path: root/sysutils/py-plumbum
Commit message (Collapse)AuthorAgeFilesLines
* sysutils/py-plumbum: update to 1.6.7David Naylor2018-08-182-6/+5
| | | | | | | | | | | | | - 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. Notes: svn path=/head/; revision=477485
* Use PY_FLAVOR for dependencies.Mathieu Arnold2018-06-201-1/+1
| | | | | | | | | | FLAVOR is the current port's flavor, it should not be used outside of this scope. Sponsored by: Absolight Notes: svn path=/head/; revision=472884
* sysutils/py-plumbum: fix comment and pkg-descrDavid Naylor2018-06-022-11/+12
| | | | | | | | PR: 226697 Submitted by: 0mp Notes: svn path=/head/; revision=471377
* sysutils/py-plumbum: update to 1.6.6David Naylor2018-03-112-4/+4
| | | | | | | | | ChangeLog: - Critical Bugfix: High-speed (English) translations could break the CLI module (issue #371) Notes: svn path=/head/; revision=464192
* sysutils/py-plumbum: update to 1.6.5David Naylor2018-01-062-4/+4
| | | | | | | | | | | 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) Notes: svn path=/head/; revision=458278
* sysutils/py-plumbum: update to 1.6.4David Naylor2017-12-182-5/+7
| | | | | | | | - link to LICENSE file in source - sort USE_PYTHON lexicographically Notes: svn path=/head/; revision=456630
* Convert Python ports to FLAVORS.Mathieu Arnold2017-11-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 current python flavor. It can be used in dependency lines when the port itself is not python flavored. For example, deskutils/calibre. By default, all the flavors are generated. To only generate flavors for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf. In all the ports with Python dependencies, the *_DEPENDS entries MUST end with the flavor so that the framework knows which to build/use. This is done by appending '@${PY_FLAVOR}' after the origin (or @${FLAVOR} if in a Python module with Python flavors, as the content will be the same). For example: RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} PR: 223071 Reviewed by: portmgr, python Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D12464 Notes: svn path=/head/; revision=455210
* sysutils/py-plumbum: update to 1.6.3David Naylor2017-01-092-4/+4
| | | | | | | | | | | | | | | | * 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 Notes: svn path=/head/; revision=430910
* sysutils/py-plumbum: use autoplist instead of py3kplist.David Naylor2016-10-282-118/+1
| | | | | | | | | | | | - py3kplist should only be used if there is no alternative. - MFH in conjuction with r424744 PR: 213812 Reported by: rm MFH: 2016Q4 Notes: svn path=/head/; revision=424860
* sysutils/py-plumbum: fix packages with Python 3David Naylor2016-10-271-1/+1
| | | | | | | | PR: 213812 Submitted by: jbeich Notes: svn path=/head/; revision=424744
* sysutils/py-plumbum: update to 1.9.2.David Naylor2016-06-292-3/+4
| | | | | | | | | | | | | | | | | | 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+ Notes: svn path=/head/; revision=417758
* Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.Mathieu Arnold2016-04-011-1/+1
| | | | | | | | With hat: portmgr Sponsored by: Absolight Notes: svn path=/head/; revision=412349
* sysutils/py-plumbum: update to 1.6.1David Naylor2016-02-082-5/+5
| | | | | | | | - Switching testing frameworks from nosetest to pytest - Use setup.py to run tests Notes: svn path=/head/; revision=408462
* sysutils/py-plumbum: update to 1.6.0David Naylor2015-12-163-5/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=403869
* - Convert ports of sysutils/ to new USES=pythonMarcus von Appen2014-10-241-3/+2
| | | | | | | Approved by: portmgr (implicit) Notes: svn path=/head/; revision=371454
* Update sysutils/py-plumbum to 1.4.2.David Naylor2014-05-122-3/+3
| | | | | | | | | ChangeLog: Maintenance release with mostly minor bug fixes, mostly revolving around Paramiko/Python 3 integration. Notes: svn path=/head/; revision=353861
* Update sysutils/py-plumbum to 1.4.1.David Naylor2014-03-012-3/+3
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=346596
* Introduce sysutils/py-plumbum 1.4.0.David Naylor2013-12-193-0/+35
Notes: svn path=/head/; revision=336924