pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/fabric fabric: updated to 2.7.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d21b6af5851c
branches:  trunk
changeset: 381784:d21b6af5851c
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Jul 13 12:13:15 2022 +0000

description:
fabric: updated to 2.7.0

2.7.0 2022-03-25

[Feature]: Forward local terminal resizes to the remote end, when applicable. (For the technical: this means we now turn SIGWINCH into SSH window-change messages.)
[Feature]: Add shell, a belated port of the v1 open_shell() feature.

This wasn’t needed initially, as the modern implementation of run is as good or better for full interaction than open_shell() was, provided you’re happy supplying a specific shell to execute.
shell serves the corner case where you aren’t happy doing that, eg when you’re speaking to network appliances or other targets which are not typical Unix server environments.
Like open_shell(), this new method is primarily for interactive use, and has a slightly less useful return value. See its API docs for more details.
[Bug] 2142: Update Connection temporarily so that it doesn’t incidentally apply replace_env=True to local shell commands, only remote ones. On Windows under Python 3.7+, this was causing local 
commands to fail due to lack of some environment variables. Future updates will cleanly separate the config tree for remote vs local methods.

Thanks to Bartosz Lachowicz for the report and David JM Emmett for the patch.

[Support]: Overhaul administrative metadata and migrate to Circle-CI from Travis-CI.


More: https://www.fabfile.org/changelog.html

diffstat:

 sysutils/fabric/Makefile |   44 ++++----------
 sysutils/fabric/PLIST    |  136 ++++++++++++----------------------------------
 sysutils/fabric/distinfo |    8 +-
 3 files changed, 55 insertions(+), 133 deletions(-)

diffs (233 lines):

diff -r 11a37dee88a3 -r d21b6af5851c sysutils/fabric/Makefile
--- a/sysutils/fabric/Makefile  Wed Jul 13 12:11:00 2022 +0000
+++ b/sysutils/fabric/Makefile  Wed Jul 13 12:13:15 2022 +0000
@@ -1,41 +1,25 @@
-# $NetBSD: Makefile,v 1.56 2022/06/30 11:18:50 nia Exp $
+# $NetBSD: Makefile,v 1.57 2022/07/13 12:13:15 adam Exp $
 
-VERSION=               1.12.0
-DISTNAME=              Fabric-${VERSION}
-PKGNAME=               ${DISTNAME:S/F/f/}
-PKGREVISION=           5
-CATEGORIES=            sysutils net
-MASTER_SITES=          ${MASTER_SITE_PYPI:=F/Fabric/}
+DISTNAME=      fabric-2.7.0
+CATEGORIES=    sysutils net python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=F/Fabric/}
 
-MAINTAINER=            gls%NetBSD.org@localhost
-HOMEPAGE=              http://fabfile.org/
-COMMENT=               Simple Pythonic remote deployment tool
-LICENSE=               2-clause-bsd
+MAINTAINER=    gls%NetBSD.org@localhost
+HOMEPAGE=      https://fabfile.org/
+COMMENT=       Simple Pythonic remote deployment tool
+LICENSE=       2-clause-bsd
 
-DEPENDS+=              ${PYPKGPREFIX}-paramiko>=1.10.0:../../security/py-paramiko
+DEPENDS+=      ${PYPKGPREFIX}-invoke>=1.3:../../sysutils/py-invoke
+DEPENDS+=      ${PYPKGPREFIX}-pathlib2-[0-9]*:../../devel/py-pathlib2
+DEPENDS+=      ${PYPKGPREFIX}-paramiko>=2.4:../../security/py-paramiko
 
-PYTHON_VERSIONS_ACCEPTED=      27 # no support yet
-
+USE_LANGUAGES=         # none
 USE_PKG_RESOURCES=     yes
-
 USE_TOOLS+=            pax
 
-INSTALLATION_DIRS+=    ${PKGMANDIR}/man1
-INSTALLATION_DIRS+=    share/doc/fabric
-INSTALLATION_DIRS+=    share/doc/fabric/api
-INSTALLATION_DIRS+=    share/doc/fabric/api/contrib
-INSTALLATION_DIRS+=    share/doc/fabric/api/core
-INSTALLATION_DIRS+=    share/doc/fabric/changes
-INSTALLATION_DIRS+=    share/doc/fabric/usage
+PYTHON_SELF_CONFLICT=  yes
 
-post-install:
-       ${INSTALL_MAN} files/fab.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
-
-       cd ${WRKSRC}/sites/docs && pax -wr -pma *.rst api/contrib/*.rst \
-               api/core/*.rst usage/* \
-               ${DESTDIR}${PREFIX}/share/doc/fabric/.
-       cd ${WRKSRC}/sites/www && pax -wr -pma *.rst \
-               ${DESTDIR}${PREFIX}/share/doc/fabric/.
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 11a37dee88a3 -r d21b6af5851c sysutils/fabric/PLIST
--- a/sysutils/fabric/PLIST     Wed Jul 13 12:11:00 2022 +0000
+++ b/sysutils/fabric/PLIST     Wed Jul 13 12:13:15 2022 +0000
@@ -1,10 +1,9 @@
-@comment $NetBSD: PLIST,v 1.18 2016/08/07 15:04:55 nils Exp $
+@comment $NetBSD: PLIST,v 1.19 2022/07/13 12:13:15 adam Exp $
 bin/fab
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/pbr.json
 ${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/fabric/__init__.py
@@ -13,109 +12,48 @@
 ${PYSITELIB}/fabric/__main__.py
 ${PYSITELIB}/fabric/__main__.pyc
 ${PYSITELIB}/fabric/__main__.pyo
-${PYSITELIB}/fabric/api.py
-${PYSITELIB}/fabric/api.pyc
-${PYSITELIB}/fabric/api.pyo
-${PYSITELIB}/fabric/auth.py
-${PYSITELIB}/fabric/auth.pyc
-${PYSITELIB}/fabric/auth.pyo
-${PYSITELIB}/fabric/colors.py
-${PYSITELIB}/fabric/colors.pyc
-${PYSITELIB}/fabric/colors.pyo
-${PYSITELIB}/fabric/context_managers.py
-${PYSITELIB}/fabric/context_managers.pyc
-${PYSITELIB}/fabric/context_managers.pyo
-${PYSITELIB}/fabric/contrib/__init__.py
-${PYSITELIB}/fabric/contrib/__init__.pyc
-${PYSITELIB}/fabric/contrib/__init__.pyo
-${PYSITELIB}/fabric/contrib/console.py
-${PYSITELIB}/fabric/contrib/console.pyc
-${PYSITELIB}/fabric/contrib/console.pyo
-${PYSITELIB}/fabric/contrib/django.py
-${PYSITELIB}/fabric/contrib/django.pyc
-${PYSITELIB}/fabric/contrib/django.pyo
-${PYSITELIB}/fabric/contrib/files.py
-${PYSITELIB}/fabric/contrib/files.pyc
-${PYSITELIB}/fabric/contrib/files.pyo
-${PYSITELIB}/fabric/contrib/project.py
-${PYSITELIB}/fabric/contrib/project.pyc
-${PYSITELIB}/fabric/contrib/project.pyo
-${PYSITELIB}/fabric/decorators.py
-${PYSITELIB}/fabric/decorators.pyc
-${PYSITELIB}/fabric/decorators.pyo
-${PYSITELIB}/fabric/docs.py
-${PYSITELIB}/fabric/docs.pyc
-${PYSITELIB}/fabric/docs.pyo
+${PYSITELIB}/fabric/_version.py
+${PYSITELIB}/fabric/_version.pyc
+${PYSITELIB}/fabric/_version.pyo
+${PYSITELIB}/fabric/config.py
+${PYSITELIB}/fabric/config.pyc
+${PYSITELIB}/fabric/config.pyo
+${PYSITELIB}/fabric/connection.py
+${PYSITELIB}/fabric/connection.pyc
+${PYSITELIB}/fabric/connection.pyo
 ${PYSITELIB}/fabric/exceptions.py
 ${PYSITELIB}/fabric/exceptions.pyc
 ${PYSITELIB}/fabric/exceptions.pyo
-${PYSITELIB}/fabric/io.py
-${PYSITELIB}/fabric/io.pyc
-${PYSITELIB}/fabric/io.pyo
-${PYSITELIB}/fabric/job_queue.py
-${PYSITELIB}/fabric/job_queue.pyc
-${PYSITELIB}/fabric/job_queue.pyo
+${PYSITELIB}/fabric/executor.py
+${PYSITELIB}/fabric/executor.pyc
+${PYSITELIB}/fabric/executor.pyo
+${PYSITELIB}/fabric/group.py
+${PYSITELIB}/fabric/group.pyc
+${PYSITELIB}/fabric/group.pyo
 ${PYSITELIB}/fabric/main.py
 ${PYSITELIB}/fabric/main.pyc
 ${PYSITELIB}/fabric/main.pyo
-${PYSITELIB}/fabric/network.py
-${PYSITELIB}/fabric/network.pyc
-${PYSITELIB}/fabric/network.pyo
-${PYSITELIB}/fabric/operations.py
-${PYSITELIB}/fabric/operations.pyc
-${PYSITELIB}/fabric/operations.pyo
-${PYSITELIB}/fabric/sftp.py
-${PYSITELIB}/fabric/sftp.pyc
-${PYSITELIB}/fabric/sftp.pyo
-${PYSITELIB}/fabric/state.py
-${PYSITELIB}/fabric/state.pyc
-${PYSITELIB}/fabric/state.pyo
-${PYSITELIB}/fabric/task_utils.py
-${PYSITELIB}/fabric/task_utils.pyc
-${PYSITELIB}/fabric/task_utils.pyo
+${PYSITELIB}/fabric/runners.py
+${PYSITELIB}/fabric/runners.pyc
+${PYSITELIB}/fabric/runners.pyo
 ${PYSITELIB}/fabric/tasks.py
 ${PYSITELIB}/fabric/tasks.pyc
 ${PYSITELIB}/fabric/tasks.pyo
-${PYSITELIB}/fabric/thread_handling.py
-${PYSITELIB}/fabric/thread_handling.pyc
-${PYSITELIB}/fabric/thread_handling.pyo
-${PYSITELIB}/fabric/utils.py
-${PYSITELIB}/fabric/utils.pyc
-${PYSITELIB}/fabric/utils.pyo
-${PYSITELIB}/fabric/version.py
-${PYSITELIB}/fabric/version.pyc
-${PYSITELIB}/fabric/version.pyo
-man/man1/fab.1
-share/doc/fabric/api/contrib/console.rst
-share/doc/fabric/api/contrib/django.rst
-share/doc/fabric/api/contrib/files.rst
-share/doc/fabric/api/contrib/project.rst
-share/doc/fabric/api/core/colors.rst
-share/doc/fabric/api/core/context_managers.rst
-share/doc/fabric/api/core/decorators.rst
-share/doc/fabric/api/core/docs.rst
-share/doc/fabric/api/core/network.rst
-share/doc/fabric/api/core/operations.rst
-share/doc/fabric/api/core/tasks.rst
-share/doc/fabric/api/core/utils.rst
-share/doc/fabric/changelog.rst
-share/doc/fabric/contact.rst
-share/doc/fabric/development.rst
-share/doc/fabric/faq.rst
-share/doc/fabric/index.rst
-share/doc/fabric/installing.rst
-share/doc/fabric/roadmap.rst
-share/doc/fabric/running_tests.rst
-share/doc/fabric/troubleshooting.rst
-share/doc/fabric/tutorial.rst
-share/doc/fabric/usage/env.rst
-share/doc/fabric/usage/execution.rst
-share/doc/fabric/usage/fab.rst
-share/doc/fabric/usage/fabfiles.rst
-share/doc/fabric/usage/interactivity.rst
-share/doc/fabric/usage/library.rst
-share/doc/fabric/usage/output_controls.rst
-share/doc/fabric/usage/parallel.rst
-share/doc/fabric/usage/ssh.rst
-share/doc/fabric/usage/tasks.rst
-@pkgdir share/doc/fabric/changes
+${PYSITELIB}/fabric/testing/__init__.py
+${PYSITELIB}/fabric/testing/__init__.pyc
+${PYSITELIB}/fabric/testing/__init__.pyo
+${PYSITELIB}/fabric/testing/base.py
+${PYSITELIB}/fabric/testing/base.pyc
+${PYSITELIB}/fabric/testing/base.pyo
+${PYSITELIB}/fabric/testing/fixtures.py
+${PYSITELIB}/fabric/testing/fixtures.pyc
+${PYSITELIB}/fabric/testing/fixtures.pyo
+${PYSITELIB}/fabric/transfer.py
+${PYSITELIB}/fabric/transfer.pyc
+${PYSITELIB}/fabric/transfer.pyo
+${PYSITELIB}/fabric/tunnels.py
+${PYSITELIB}/fabric/tunnels.pyc
+${PYSITELIB}/fabric/tunnels.pyo
+${PYSITELIB}/fabric/util.py
+${PYSITELIB}/fabric/util.pyc
+${PYSITELIB}/fabric/util.pyo
diff -r 11a37dee88a3 -r d21b6af5851c sysutils/fabric/distinfo
--- a/sysutils/fabric/distinfo  Wed Jul 13 12:11:00 2022 +0000
+++ b/sysutils/fabric/distinfo  Wed Jul 13 12:13:15 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.32 2021/10/26 11:19:34 nia Exp $
+$NetBSD: distinfo,v 1.33 2022/07/13 12:13:15 adam Exp $
 
-BLAKE2s (Fabric-1.12.0.tar.gz) = 30c7c26b5bbbebb8531ca7d0b3fd0b00eb9dcc24924e7e243f6a186ebc631717
-SHA512 (Fabric-1.12.0.tar.gz) = cc07e811873c296c7e33ddadb00af3b4cbd1a87b2617b82505758e6b646e20e55edafe76cd969f3b2a7931a2deb4daefe8e44a7d6fe6ec67e5d9923d6c64e95e
-Size (Fabric-1.12.0.tar.gz) = 232840 bytes
+BLAKE2s (fabric-2.7.0.tar.gz) = ce3dafc1d7dd4f1282d29c4b22a1662cb258bee3e2560fa693ca0412afabe4dd
+SHA512 (fabric-2.7.0.tar.gz) = 1b20c422898b6181dd30aba161d3193abf434f1a58acce8e7e69a56a7fb1c645ab34c5aa6882d457d075f27d6169e6c8c3587aec2b9d8d583bf84a74f7f15418
+Size (fabric-2.7.0.tar.gz) = 166019 bytes


Home | Main Index | Thread Index | Old Index