svn commit: r511379 - in head: . devel/py-fabric devel/py-fabric/files
Danilo G. Baio
dbaio at FreeBSD.org
Fri Sep 6 23:25:55 UTC 2019
Author: dbaio
Date: Fri Sep 6 23:25:53 2019
New Revision: 511379
URL: https://svnweb.freebsd.org/changeset/ports/511379
Log:
devel/py-fabric: Update to 2.5.0
Fabric 2 is not at 100% feature parity with 1.x! Some features have been
explicitly dropped, but others simply have not been ported over yet,
either due to time constraints or because said features need to be
re-examined in a modern context.
More information at:
https://www.fabfile.org/upgrading.html#upgrading
https://www.fabfile.org/upgrading.html#upgrade-specifics
Changelog: https://www.fabfile.org/changelog.html
Reviewed by: koobs (maintainer)
Approved by: koobs (maintainer)
Differential Revision: https://reviews.freebsd.org/D20683
Deleted:
head/devel/py-fabric/files/
Modified:
head/UPDATING
head/devel/py-fabric/Makefile
head/devel/py-fabric/distinfo
head/devel/py-fabric/pkg-descr
Modified: head/UPDATING
==============================================================================
--- head/UPDATING Fri Sep 6 23:23:09 2019 (r511378)
+++ head/UPDATING Fri Sep 6 23:25:53 2019 (r511379)
@@ -5,6 +5,28 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
+20190906:
+ AFFECTS: users of devel/py-fabric
+ AUTHOR: dbaio at FreeBSD.org
+
+ Fabric (devel/py-fabric) was upgraded to 2.5.0, Fabric (2+) represents
+ a near-total reimplementation and reorganization of the software.
+
+ Fabric 2 is not at 100% feature parity with 1.x! Some features have been
+ explicitly dropped, but others simply have not been ported over yet,
+ either due to time constraints or because said features need to be
+ re-examined in a modern context.
+
+ More information at:
+ https://www.fabfile.org/upgrading.html#upgrading
+ https://www.fabfile.org/upgrading.html#upgrade-specifics
+
+ If you would like to keep using 1.x, please run the following command to
+ update pkg database:
+
+ pkg set -n py27-fabric:py27-fabric1
+ pkg set -o devel/py-fabric:devel/py-fabric1
+
20190830:
AFFECTS: users of www/gitlab-ce
AUTHOR: mfechner at FreeBSD.org
Modified: head/devel/py-fabric/Makefile
==============================================================================
--- head/devel/py-fabric/Makefile Fri Sep 6 23:23:09 2019 (r511378)
+++ head/devel/py-fabric/Makefile Fri Sep 6 23:25:53 2019 (r511379)
@@ -2,31 +2,34 @@
# $FreeBSD$
PORTNAME= fabric
-PORTVERSION= 1.14.1
+PORTVERSION= 2.5.0
PORTEPOCH= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= Fabric-${DISTVERSION}
MAINTAINER= koobs at FreeBSD.org
-COMMENT= Simple, Pythonic remote execution and deployment
+COMMENT= High level SSH command execution
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}paramiko>=1.10:security/py-paramiko@${PY_FLAVOR} # <3.0
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}fudge>0:devel/py-fudge@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}paramiko>=2.4:security/py-paramiko@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}invoke>=1.1,<2.0:devel/py-invoke@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}cryptography>=1.1:security/py-cryptography@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.2.5:devel/py-pytest@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}mock>=2.0.0:devel/py-mock@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest-relaxed>0:devel/py-pytest-relaxed@${PY_FLAVOR}
-USES= python:2.7
+USES= python
USE_PYTHON= distutils concurrent autoplist
+CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}fabric1
+
NO_ARCH= yes
do-test:
- @cd ${WRKSRC} && ${PYTHON_CMD} -m nose -v \
- --exclude=test_nested_execution_with_explicit_ports
+ @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs \
+ -k 'not python_dash_m_acts_like_fab'
.include <bsd.port.mk>
Modified: head/devel/py-fabric/distinfo
==============================================================================
--- head/devel/py-fabric/distinfo Fri Sep 6 23:23:09 2019 (r511378)
+++ head/devel/py-fabric/distinfo Fri Sep 6 23:25:53 2019 (r511379)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1554010618
-SHA256 (Fabric-1.14.1.tar.gz) = 66097883bb3e5beecacae92b82b2bd489d10a8fd4f06ce1cb27019de2e6d76a8
-SIZE (Fabric-1.14.1.tar.gz) = 220463
+TIMESTAMP = 1565561659
+SHA256 (fabric-2.5.0.tar.gz) = 24842d7d51556adcabd885ac3cf5e1df73fc622a1708bf3667bf5927576cdfa6
+SIZE (fabric-2.5.0.tar.gz) = 161421
Modified: head/devel/py-fabric/pkg-descr
==============================================================================
--- head/devel/py-fabric/pkg-descr Fri Sep 6 23:23:09 2019 (r511378)
+++ head/devel/py-fabric/pkg-descr Fri Sep 6 23:25:53 2019 (r511379)
@@ -1,10 +1,8 @@
-Fabric is a simple pythonic remote deployment tool.
+Fabric is a high level Python library designed to execute shell commands
+remotely over SSH, yielding useful Python objects in return.
-It is designed to upload files to, and run shell commands on, a number
-of servers in parallel or serially. These commands are grouped in tasks
-(regular python functions) and specified in a 'fabfile.'
-
-This is called remote automation, and the primary use case is deploying
-applications to multiple similar hosts.
+It builds on top of Invoke (subprocess command execution and command-line
+features) and Paramiko (SSH protocol implementation), extending their APIs
+to complement one another and provide additional functionality.
WWW: https://www.fabfile.org
More information about the svn-ports-head
mailing list