Update fabric to 0.9.3 Pkgsrc changes: - add depends to py-crypto Upstream changes: 0.9.3 ===== Feature additions * #255: Added stderr and succeeded attributes to local. * #254: Backported the .stderr and .succeeded attributes on run/sudo return values, from the Git master/pre-1.0 branch. Please see those functions? API docs for details. Bugfixes * #228: We discovered that the pip + PyCrypto installation problem was limited to Python 2.5 only, and have updated our setup.py accordingly. * #230: Arbitrary or remainder commands (fab <opts> -- <run command here>) will no longer blow up when invoked with no fabfile present. Thanks to IRC user orkaa for the report. * #242: Empty string values in task CLI args now parse correctly. Thanks to Aaron Levy for the catch + patch. Documentation updates * #239: Fixed typo in execution usage docs. Thanks to Pradeep Gowda and Turicas for the catch. 0.9.2 ===== Feature additions * The reboot operation has been added, providing a way for Fabric to issue a reboot command and then reconnect after the system has restarted. * python setup.py test now runs Fabric?s test suite (provided you have all the prerequisites from the requirements.txt installed). Thanks to Eric Holscher for the patch. * Added functionality for loading fabfiles which are Python packages (directories) instead of just modules (single files.) See Fabfile discovery. * Added output lines informing the user of which tasks are being executed (e.g. [myserver] Executing task 'foo'.) * Added support for lazy (callable) role definition values in env.roledefs. * Added contrib.django module with basic Django integration. * env.local_user was added, providing easy and permanent access to the local system username, even if an alternate remote username has been specified. * #29: Added support for arbitrary command-line-driven anonymous tasks via fab [options] -- [shell command]. See Arbitrary remote shell commands. * #52: Full tracebacks during aborts are now displayed if the user has opted to see debug-level output. * #101: Added colors module with basic color output support. (#101 is still open: we plan to leverage the new module in Fabric?s own output in the future.) * #137: Commas used to separate per-task arguments may now be escaped with a backslash. Thanks to Erich Heine for the patch. * #144: hosts (and roles) will now expand a single, iterable argument instead of requiring one to use e.g. @hosts(*iterable). * #151: Added a puts utility function, which allows greater control over fabfile-generated (as opposed to Fabric-generated) output. Also added fastprint, an alias to puts allowing for convenient unbuffered, non-newline-terminated printing. * #208: Users rolling their own shell completion or who otherwise find themselves performing text manipulation on the output of --list may now use --shortlist to get a plain, newline-separated list of task names. Bugfixes * The interactive ?what host to connect to?? prompt now correctly updates the appropriate environment variables (hostname, username, port) based on user input. * Fixed a bug where Fabric?s own internal fabfile would pre-empt the user?s fabfile due to a PYTHONPATH order issue. User fabfiles are now always loaded at the front of the PYTHONPATH during import. * Disabled some DeprecationWarnings thrown by Paramiko when that library is imported into Fabric under Python 2.6. * #44, #63: Modified rsync_project to honor the SSH port and identity file settings. Thanks to Mitch Matuson and Morgan Goose. * #123: Removed Cygwin from the ?are we on Windows? test; now, only Python installs whose sys.platform says 'win32' will use Windows-only code paths (e.g. importing of pywin32). Documentation updates * Added a few new items to the FAQ. * #173: Simple but rather embarrassing typo fix in README. Thanks to Ted Nyman for the catch. * #194: Added a note to the install docs about a possible edge case some Windows 64-bit Python users may encounter. * #216: Overhauled the process backgrounding FAQ to include additional techniques and be more holistic. Packaging updates * #86, #158: Removed the bundled Paramiko 1.7.4 and updated the setup.py to require Paramiko >=1.7.6. This lets us skip the known-buggy Paramiko 1.7.5 while getting some much needed bugfixes in Paramiko 1.7.6.diff -r1.5 -r1.6 pkgsrc/sysutils/fabric/Makefile
(gls)
@@ -1,40 +1,41 @@ | @@ -1,40 +1,41 @@ | |||
1 | # $NetBSD: Makefile,v 1.5 2010/06/28 18:45:21 gls Exp $ | 1 | # $NetBSD: Makefile,v 1.6 2010/12/06 23:12:34 gls Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | VERSION= 0.9.1 | 4 | VERSION= 0.9.3 | |
5 | DISTNAME= Fabric-${VERSION} | 5 | DISTNAME= Fabric-${VERSION} | |
6 | PKGNAME= ${DISTNAME:S/F/f/} | 6 | PKGNAME= ${DISTNAME:S/F/f/} | |
7 | CATEGORIES= sysutils net | 7 | CATEGORIES= sysutils net | |
8 | MASTER_SITES= http://code.fabfile.org/projects/fabric/files/ | 8 | MASTER_SITES= http://code.fabfile.org/projects/fabric/files/ | |
9 | 9 | |||
10 | MAINTAINER= gls@NetBSD.org | 10 | MAINTAINER= gls@NetBSD.org | |
11 | HOMEPAGE= http://fabfile.org/ | 11 | HOMEPAGE= http://fabfile.org/ | |
12 | COMMENT= Simple Pythonic remote deployment tool | 12 | COMMENT= Simple Pythonic remote deployment tool | |
13 | LICENSE= 2-clause-bsd | 13 | LICENSE= 2-clause-bsd | |
14 | 14 | |||
15 | PKG_DESTDIR_SUPPORT= user-destdir | 15 | PKG_DESTDIR_SUPPORT= user-destdir | |
16 | 16 | |||
17 | DEPENDS+= ${PYPKGPREFIX}-paramiko>=1.7:../../security/py-paramiko | 17 | DEPENDS+= ${PYPKGPREFIX}-paramiko>=1.7:../../security/py-paramiko | |
18 | DEPENDS+= ${PYPKGPREFIX}-crypto>=2.1:../../security/py-crypto | |||
18 | 19 | |||
19 | USE_TOOLS+= pax | 20 | USE_TOOLS+= pax | |
20 | 21 | |||
21 | INSTALLATION_DIRS+= ${PKGMANDIR}/man1 | 22 | INSTALLATION_DIRS+= ${PKGMANDIR}/man1 | |
22 | INSTALLATION_DIRS+= share/doc/fabric | 23 | INSTALLATION_DIRS+= share/doc/fabric | |
23 | INSTALLATION_DIRS+= share/doc/fabric/api | 24 | INSTALLATION_DIRS+= share/doc/fabric/api | |
24 | INSTALLATION_DIRS+= share/doc/fabric/api/contrib | 25 | INSTALLATION_DIRS+= share/doc/fabric/api/contrib | |
25 | INSTALLATION_DIRS+= share/doc/fabric/api/core | 26 | INSTALLATION_DIRS+= share/doc/fabric/api/core | |
26 | INSTALLATION_DIRS+= share/doc/fabric/changes | 27 | INSTALLATION_DIRS+= share/doc/fabric/changes | |
27 | INSTALLATION_DIRS+= share/doc/fabric/usage | 28 | INSTALLATION_DIRS+= share/doc/fabric/usage | |
28 | 29 | |||
29 | post-extract: | 30 | #post-extract: | |
30 | ${RM} -r ${WRKSRC}/paramiko | 31 | # ${RM} -r ${WRKSRC}/paramiko | |
31 | 32 | |||
32 | post-install: | 33 | post-install: | |
33 | ${INSTALL_MAN} files/fab.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ | 34 | ${INSTALL_MAN} files/fab.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ | |
34 | 35 | |||
35 | cd ${WRKSRC}/docs && pax -wr -pma *.rst api/contrib/*.rst \ | 36 | cd ${WRKSRC}/docs && pax -wr -pma *.rst api/contrib/*.rst \ | |
36 | api/core/*.rst changes/* usage/* \ | 37 | api/core/*.rst changes/* usage/* \ | |
37 | ${DESTDIR}${PREFIX}/share/doc/fabric/. | 38 | ${DESTDIR}${PREFIX}/share/doc/fabric/. | |
38 | 39 | |||
39 | .include "../../lang/python/egg.mk" | 40 | .include "../../lang/python/egg.mk" | |
40 | .include "../../mk/bsd.pkg.mk" | 41 | .include "../../mk/bsd.pkg.mk" |
@@ -1,35 +1,41 @@ | @@ -1,35 +1,41 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.2 2010/06/28 18:45:21 gls Exp $ | 1 | @comment $NetBSD: PLIST,v 1.3 2010/12/06 23:12:34 gls Exp $ | |
2 | bin/fab | 2 | bin/fab | |
3 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | 3 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | |
4 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | 4 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | |
5 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | 5 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | |
6 | ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt | 6 | ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt | |
7 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | 7 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | |
8 | ${PYSITELIB}/fabric/__init__.py | 8 | ${PYSITELIB}/fabric/__init__.py | |
9 | ${PYSITELIB}/fabric/__init__.pyc | 9 | ${PYSITELIB}/fabric/__init__.pyc | |
10 | ${PYSITELIB}/fabric/__init__.pyo | 10 | ${PYSITELIB}/fabric/__init__.pyo | |
11 | ${PYSITELIB}/fabric/api.py | 11 | ${PYSITELIB}/fabric/api.py | |
12 | ${PYSITELIB}/fabric/api.pyc | 12 | ${PYSITELIB}/fabric/api.pyc | |
13 | ${PYSITELIB}/fabric/api.pyo | 13 | ${PYSITELIB}/fabric/api.pyo | |
14 | ${PYSITELIB}/fabric/colors.py | |||
15 | ${PYSITELIB}/fabric/colors.pyc | |||
16 | ${PYSITELIB}/fabric/colors.pyo | |||
14 | ${PYSITELIB}/fabric/context_managers.py | 17 | ${PYSITELIB}/fabric/context_managers.py | |
15 | ${PYSITELIB}/fabric/context_managers.pyc | 18 | ${PYSITELIB}/fabric/context_managers.pyc | |
16 | ${PYSITELIB}/fabric/context_managers.pyo | 19 | ${PYSITELIB}/fabric/context_managers.pyo | |
17 | ${PYSITELIB}/fabric/contrib/__init__.py | 20 | ${PYSITELIB}/fabric/contrib/__init__.py | |
18 | ${PYSITELIB}/fabric/contrib/__init__.pyc | 21 | ${PYSITELIB}/fabric/contrib/__init__.pyc | |
19 | ${PYSITELIB}/fabric/contrib/__init__.pyo | 22 | ${PYSITELIB}/fabric/contrib/__init__.pyo | |
20 | ${PYSITELIB}/fabric/contrib/console.py | 23 | ${PYSITELIB}/fabric/contrib/console.py | |
21 | ${PYSITELIB}/fabric/contrib/console.pyc | 24 | ${PYSITELIB}/fabric/contrib/console.pyc | |
22 | ${PYSITELIB}/fabric/contrib/console.pyo | 25 | ${PYSITELIB}/fabric/contrib/console.pyo | |
26 | ${PYSITELIB}/fabric/contrib/django.py | |||
27 | ${PYSITELIB}/fabric/contrib/django.pyc | |||
28 | ${PYSITELIB}/fabric/contrib/django.pyo | |||
23 | ${PYSITELIB}/fabric/contrib/files.py | 29 | ${PYSITELIB}/fabric/contrib/files.py | |
24 | ${PYSITELIB}/fabric/contrib/files.pyc | 30 | ${PYSITELIB}/fabric/contrib/files.pyc | |
25 | ${PYSITELIB}/fabric/contrib/files.pyo | 31 | ${PYSITELIB}/fabric/contrib/files.pyo | |
26 | ${PYSITELIB}/fabric/contrib/project.py | 32 | ${PYSITELIB}/fabric/contrib/project.py | |
27 | ${PYSITELIB}/fabric/contrib/project.pyc | 33 | ${PYSITELIB}/fabric/contrib/project.pyc | |
28 | ${PYSITELIB}/fabric/contrib/project.pyo | 34 | ${PYSITELIB}/fabric/contrib/project.pyo | |
29 | ${PYSITELIB}/fabric/decorators.py | 35 | ${PYSITELIB}/fabric/decorators.py | |
30 | ${PYSITELIB}/fabric/decorators.pyc | 36 | ${PYSITELIB}/fabric/decorators.pyc | |
31 | ${PYSITELIB}/fabric/decorators.pyo | 37 | ${PYSITELIB}/fabric/decorators.pyo | |
32 | ${PYSITELIB}/fabric/main.py | 38 | ${PYSITELIB}/fabric/main.py | |
33 | ${PYSITELIB}/fabric/main.pyc | 39 | ${PYSITELIB}/fabric/main.pyc | |
34 | ${PYSITELIB}/fabric/main.pyo | 40 | ${PYSITELIB}/fabric/main.pyo | |
35 | ${PYSITELIB}/fabric/network.py | 41 | ${PYSITELIB}/fabric/network.py | |
@@ -39,32 +45,36 @@ ${PYSITELIB}/fabric/operations.py | @@ -39,32 +45,36 @@ ${PYSITELIB}/fabric/operations.py | |||
39 | ${PYSITELIB}/fabric/operations.pyc | 45 | ${PYSITELIB}/fabric/operations.pyc | |
40 | ${PYSITELIB}/fabric/operations.pyo | 46 | ${PYSITELIB}/fabric/operations.pyo | |
41 | ${PYSITELIB}/fabric/state.py | 47 | ${PYSITELIB}/fabric/state.py | |
42 | ${PYSITELIB}/fabric/state.pyc | 48 | ${PYSITELIB}/fabric/state.pyc | |
43 | ${PYSITELIB}/fabric/state.pyo | 49 | ${PYSITELIB}/fabric/state.pyo | |
44 | ${PYSITELIB}/fabric/utils.py | 50 | ${PYSITELIB}/fabric/utils.py | |
45 | ${PYSITELIB}/fabric/utils.pyc | 51 | ${PYSITELIB}/fabric/utils.pyc | |
46 | ${PYSITELIB}/fabric/utils.pyo | 52 | ${PYSITELIB}/fabric/utils.pyo | |
47 | ${PYSITELIB}/fabric/version.py | 53 | ${PYSITELIB}/fabric/version.py | |
48 | ${PYSITELIB}/fabric/version.pyc | 54 | ${PYSITELIB}/fabric/version.pyc | |
49 | ${PYSITELIB}/fabric/version.pyo | 55 | ${PYSITELIB}/fabric/version.pyo | |
50 | man/man1/fab.1 | 56 | man/man1/fab.1 | |
51 | share/doc/fabric/api/contrib/console.rst | 57 | share/doc/fabric/api/contrib/console.rst | |
58 | share/doc/fabric/api/contrib/django.rst | |||
52 | share/doc/fabric/api/contrib/files.rst | 59 | share/doc/fabric/api/contrib/files.rst | |
53 | share/doc/fabric/api/contrib/project.rst | 60 | share/doc/fabric/api/contrib/project.rst | |
61 | share/doc/fabric/api/core/colors.rst | |||
54 | share/doc/fabric/api/core/context_managers.rst | 62 | share/doc/fabric/api/core/context_managers.rst | |
55 | share/doc/fabric/api/core/decorators.rst | 63 | share/doc/fabric/api/core/decorators.rst | |
56 | share/doc/fabric/api/core/operations.rst | 64 | share/doc/fabric/api/core/operations.rst | |
57 | share/doc/fabric/api/core/utils.rst | 65 | share/doc/fabric/api/core/utils.rst | |
66 | share/doc/fabric/changes/0.9.1.rst | |||
67 | share/doc/fabric/changes/0.9.2.rst | |||
58 | share/doc/fabric/changes/${PKGVERSION}.rst | 68 | share/doc/fabric/changes/${PKGVERSION}.rst | |
59 | share/doc/fabric/changes/0.9.rst | 69 | share/doc/fabric/changes/0.9.rst | |
60 | share/doc/fabric/development.rst | 70 | share/doc/fabric/development.rst | |
61 | share/doc/fabric/faq.rst | 71 | share/doc/fabric/faq.rst | |
62 | share/doc/fabric/index.rst | 72 | share/doc/fabric/index.rst | |
63 | share/doc/fabric/installation.rst | 73 | share/doc/fabric/installation.rst | |
64 | share/doc/fabric/tutorial.rst | 74 | share/doc/fabric/tutorial.rst | |
65 | share/doc/fabric/usage/env.rst | 75 | share/doc/fabric/usage/env.rst | |
66 | share/doc/fabric/usage/execution.rst | 76 | share/doc/fabric/usage/execution.rst | |
67 | share/doc/fabric/usage/fab.rst | 77 | share/doc/fabric/usage/fab.rst | |
68 | share/doc/fabric/usage/fabfiles.rst | 78 | share/doc/fabric/usage/fabfiles.rst | |
69 | share/doc/fabric/usage/output_controls.rst | 79 | share/doc/fabric/usage/output_controls.rst | |
70 | share/doc/fabric/usage/ssh.rst | 80 | share/doc/fabric/usage/ssh.rst |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.2 2010/06/28 18:45:21 gls Exp $ | 1 | $NetBSD: distinfo,v 1.3 2010/12/06 23:12:34 gls Exp $ | |
2 | 2 | |||
3 | SHA1 (Fabric-0.9.1.tar.gz) = c7845346f742beafc01276a6ad25c2460e82c5cb | 3 | SHA1 (Fabric-0.9.3.tar.gz) = 469820558a2cc67acd09ddeed7a5b79e0803bf4e | |
4 | RMD160 (Fabric-0.9.1.tar.gz) = afdec80ba52c7de7b0aac4d1db3f71bc017838df | 4 | RMD160 (Fabric-0.9.3.tar.gz) = 8739963f34a0e804b24c977e68375b1445474fbb | |
5 | Size (Fabric-0.9.1.tar.gz) = 184256 bytes | 5 | Size (Fabric-0.9.3.tar.gz) = 89973 bytes | |
6 | SHA1 (patch-aa) = f6927f0446418782629b4b347884561c72e76ea2 | 6 | SHA1 (patch-aa) = 2fe723c5213965a95befdc4ab1e01616d2032827 |
@@ -1,16 +1,15 @@ | @@ -1,16 +1,15 @@ | |||
1 | $NetBSD: patch-aa,v 1.1.1.1 2010/05/26 18:26:20 gls Exp $ | 1 | $NetBSD: patch-aa,v 1.2 2010/12/06 23:12:34 gls Exp $ | |
2 | 2 | |||
3 | Disable setuptools usage | 3 | Disable setuptools usage | |
4 | 4 | |||
5 | --- setup.py.orig 2009-11-08 23:17:10.000000000 +0000 | 5 | --- setup.py.orig 2010-11-12 20:57:34.000000000 +0000 | |
6 | +++ setup.py | 6 | +++ setup.py | |
7 | @@ -15,8 +15,8 @@ For more information, please see the Fab | 7 | @@ -38,7 +38,7 @@ setup( | |
8 | author='Jeff Forcier', | |||
9 | author_email='jeff@bitprophet.org', | |||
10 | url='http://fabfile.org', | |||
11 | packages=find_packages(), | 8 | packages=find_packages(), | |
12 | - install_requires=['pycrypto >=1.9'], | 9 | test_suite='nose.collector', | |
13 | +# install_requires=['pycrypto >=1.9'], | 10 | tests_require=['nose', 'fudge'], | |
11 | - install_requires=['pycrypto %s' % PYCRYPTO, 'paramiko >=1.7.6'], | |||
12 | +# install_requires=['pycrypto %s' % PYCRYPTO, 'paramiko >=1.7.6'], | |||
14 | entry_points={ | 13 | entry_points={ | |
15 | 'console_scripts': [ | 14 | 'console_scripts': [ | |
16 | 'fab = fabric.main:main', | 15 | 'fab = fabric.main:main', |