diff options
author | gls <gls> | 2010-05-26 18:26:20 +0000 |
---|---|---|
committer | gls <gls> | 2010-05-26 18:26:20 +0000 |
commit | 733addc51436b5936e46b23a9f72a3c98b85c7cf (patch) | |
tree | 44d8567d7dd73f7ea7069fa4c0345302d2a78ed2 /sysutils | |
parent | ccdf700763e88d534318268aae49260f5657d606 (diff) | |
download | pkgsrc-733addc51436b5936e46b23a9f72a3c98b85c7cf.tar.gz |
Import fabric-0.9.0 as sysutils/fabric.
Fabric is a Python library and command-line tool for streamlining the use
of SSH for application deployment or systems administration tasks.
It provides a basic suite of operations for executing local or remote shell
commands (normally or via sudo) and uploading/downloading files, as well as
auxiliary functionality such as prompting the running user for input, or
aborting execution.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/fabric/DESCR | 7 | ||||
-rw-r--r-- | sysutils/fabric/Makefile | 50 | ||||
-rw-r--r-- | sysutils/fabric/PLIST | 68 | ||||
-rw-r--r-- | sysutils/fabric/distinfo | 6 | ||||
-rw-r--r-- | sysutils/fabric/files/fab.1 | 41 | ||||
-rw-r--r-- | sysutils/fabric/patches/patch-aa | 16 |
6 files changed, 188 insertions, 0 deletions
diff --git a/sysutils/fabric/DESCR b/sysutils/fabric/DESCR new file mode 100644 index 00000000000..3395386d609 --- /dev/null +++ b/sysutils/fabric/DESCR @@ -0,0 +1,7 @@ +Fabric is a Python library and command-line tool for streamlining the use of SSH +for application deployment or systems administration tasks. + +It provides a basic suite of operations for executing local or remote shell +commands (normally or via sudo) and uploading/downloading files, as well as +auxiliary functionality such as prompting the running user for input, or +aborting execution. diff --git a/sysutils/fabric/Makefile b/sysutils/fabric/Makefile new file mode 100644 index 00000000000..2c83a72db90 --- /dev/null +++ b/sysutils/fabric/Makefile @@ -0,0 +1,50 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/05/26 18:26:20 gls Exp $ +# + +VERSION= 0.9.0 +DISTNAME= Fabric-${VERSION} +PKGNAME= ${DISTNAME:S/F/f/} +CATEGORIES= www +MASTER_SITES= http://code.fabfile.org/projects/fabric/files/ + +MAINTAINER= gls@NetBSD.org +HOMEPAGE= http://code.fabfile.org/projects/fabric +COMMENT= Simple Pythonic remote deployment tool +LICENSE= 2-clause-bsd + +PKG_DESTDIR_SUPPORT= user-destdir + +DEPENDS+= ${PYPKGPREFIX}-paramiko>=1.7:../../security/py-paramiko + +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 + +post-extract: + ${RM} -r ${WRKSRC}/paramiko + +post-install: + ${INSTALL_MAN} files/fab.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ +# ${INSTALL_DATA} ${WRKSRC}/docs/*.rst \ +# ${DESTDIR}${PREFIX}/share/doc/fabric +# ${INSTALL_DATA} ${WRKSRC}/docs/api/contrib/*.rst \ +# ${DESTDIR}${PREFIX}/share/doc/fabric/api/contrib +# ${INSTALL_DATA} ${WRKSRC}/docs/api/core/*.rst \ +# ${DESTDIR}${PREFIX}/share/doc/fabric/api/core +# ${INSTALL_DATA} ${WRKSRC}/docs/changes/* \ +# ${DESTDIR}${PREFIX}/share/doc/fabric/changes +# ${INSTALL_DATA} ${WRKSRC}/docs/usage/* \ +# ${DESTDIR}${PREFIX}/share/doc/fabric/usage +# + cd ${WRKSRC}/docs && pax -wr -pma *.rst api/contrib/*.rst \ + api/core/*.rst changes/* usage/* \ + ${DESTDIR}${PREFIX}/share/doc/fabric/. + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/fabric/PLIST b/sysutils/fabric/PLIST new file mode 100644 index 00000000000..b6c5b27fec1 --- /dev/null +++ b/sysutils/fabric/PLIST @@ -0,0 +1,68 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/05/26 18:26:20 gls 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}/top_level.txt +${PYSITELIB}/fabric/__init__.py +${PYSITELIB}/fabric/__init__.pyc +${PYSITELIB}/fabric/__init__.pyo +${PYSITELIB}/fabric/api.py +${PYSITELIB}/fabric/api.pyc +${PYSITELIB}/fabric/api.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/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/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/state.py +${PYSITELIB}/fabric/state.pyc +${PYSITELIB}/fabric/state.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/files.rst +share/doc/fabric/api/contrib/project.rst +share/doc/fabric/api/core/context_managers.rst +share/doc/fabric/api/core/decorators.rst +share/doc/fabric/api/core/operations.rst +share/doc/fabric/api/core/utils.rst +share/doc/fabric/changes/0.9.rst +share/doc/fabric/development.rst +share/doc/fabric/index.rst +share/doc/fabric/installation.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/output_controls.rst +share/doc/fabric/usage/ssh.rst diff --git a/sysutils/fabric/distinfo b/sysutils/fabric/distinfo new file mode 100644 index 00000000000..ea43ec9de58 --- /dev/null +++ b/sysutils/fabric/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/05/26 18:26:20 gls Exp $ + +SHA1 (Fabric-0.9.0.tar.gz) = bacc51ad35c1ecf7fceb98ac487b049c189f5c44 +RMD160 (Fabric-0.9.0.tar.gz) = 0264ba7c748d6d28deefc5d66ef0e7e559426b49 +Size (Fabric-0.9.0.tar.gz) = 179999 bytes +SHA1 (patch-aa) = f6927f0446418782629b4b347884561c72e76ea2 diff --git a/sysutils/fabric/files/fab.1 b/sysutils/fabric/files/fab.1 new file mode 100644 index 00000000000..4858ac0c585 --- /dev/null +++ b/sysutils/fabric/files/fab.1 @@ -0,0 +1,41 @@ +.TH FAB 1 "November 8, 2008" +.SH NAME +fab - Simple Pythonic remote deployment tool +.SH SYNOPSIS +.PP +\fB \fr\fIfab\fR \fR\fI[commands ...]\fR +.SH DESCRIPTION +.PP +Fabric is designed to upload files and run shell commands on a number of +servers in parallel or serially. These commands are grouped in tasks +(which are regular Python functions) and specified in a 'fabfile.' It is +similar to Capistrano, except it's implemented in Python and doesn't expect +you to be deploying Rails applications. +.SH COMMANDS +.TP +.B help +Display Fabric usage help, or help for a given command. +.TP +.B license +Display the Fabric distribution license text. +.TP +.B list +Display a list of commands with descriptions. +.TP +.B set +Set a Fabric variable. +.TP +.B shell +Start an interactive shell connection to the specified hosts. +.TP +.B warranty +Display warranty information for the Fabric software. +.SH "AUTHOR" +.PP +Fabric was written by Christian Vest Hansen <karmazilla@gmail.com>. +.PP +This stub manual page was written by Chris Lamb <lamby@debian.org> for the +Debian project (but may be used by others). +.SH "SEE ALSO" +.IP +\fBssh\fP\fB(1)\fP diff --git a/sysutils/fabric/patches/patch-aa b/sysutils/fabric/patches/patch-aa new file mode 100644 index 00000000000..ac811539ac6 --- /dev/null +++ b/sysutils/fabric/patches/patch-aa @@ -0,0 +1,16 @@ +$NetBSD: patch-aa,v 1.1.1.1 2010/05/26 18:26:20 gls Exp $ + +Disable setuptools usage + +--- setup.py.orig 2009-11-08 23:17:10.000000000 +0000 ++++ setup.py +@@ -15,8 +15,8 @@ For more information, please see the Fab + author='Jeff Forcier', + author_email='jeff@bitprophet.org', + url='http://fabfile.org', + packages=find_packages(), +- install_requires=['pycrypto >=1.9'], ++# install_requires=['pycrypto >=1.9'], + entry_points={ + 'console_scripts': [ + 'fab = fabric.main:main', |