2013-12-19 16:21:49 +01:00
|
|
|
# Created by: David Naylor <dbn@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= plumbum
|
2018-08-18 10:52:04 +02:00
|
|
|
PORTVERSION= 1.6.7
|
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)
2015-12-16 18:15:00 +01:00
|
|
|
DISTVERSIONPREFIX= v
|
2013-12-19 16:21:49 +01:00
|
|
|
CATEGORIES= sysutils python
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
MAINTAINER= dbn@FreeBSD.org
|
2018-06-02 18:32:37 +02:00
|
|
|
COMMENT= Shell combinators and more for Python
|
2013-12-19 16:21:49 +01:00
|
|
|
|
|
|
|
LICENSE= MIT
|
2017-12-18 13:52:46 +01:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
2013-12-19 16:21:49 +01:00
|
|
|
|
2018-06-20 19:05:41 +02:00
|
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
|
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)
2015-12-16 18:15:00 +01:00
|
|
|
|
2014-10-24 18:56:10 +02:00
|
|
|
USES= python
|
2017-12-18 13:52:46 +01:00
|
|
|
USE_PYTHON= autoplist concurrent distutils
|
2018-08-18 10:52:04 +02:00
|
|
|
USE_GITHUB= yes
|
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)
2015-12-16 18:15:00 +01:00
|
|
|
GH_ACCOUNT= tomerfiliba
|
2013-12-19 16:21:49 +01:00
|
|
|
|
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)
2015-12-16 18:15:00 +01:00
|
|
|
do-test:
|
2016-02-08 05:05:57 +01:00
|
|
|
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test)
|
2017-12-18 13:52:46 +01:00
|
|
|
|
2013-12-19 16:21:49 +01:00
|
|
|
.include <bsd.port.mk>
|