pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/fabric Import fabric-0.9.0 as sysutils/fabric.
details: https://anonhg.NetBSD.org/pkgsrc/rev/8cb413dab051
branches: trunk
changeset: 575966:8cb413dab051
user: gls <gls%pkgsrc.org@localhost>
date: Wed May 26 18:26:20 2010 +0000
description:
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:
sysutils/fabric/DESCR | 7 ++++
sysutils/fabric/Makefile | 50 +++++++++++++++++++++++++++++
sysutils/fabric/PLIST | 68 ++++++++++++++++++++++++++++++++++++++++
sysutils/fabric/distinfo | 6 +++
sysutils/fabric/files/fab.1 | 41 ++++++++++++++++++++++++
sysutils/fabric/patches/patch-aa | 16 +++++++++
6 files changed, 188 insertions(+), 0 deletions(-)
diffs (212 lines):
diff -r 322bd8237ebf -r 8cb413dab051 sysutils/fabric/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/fabric/DESCR Wed May 26 18:26:20 2010 +0000
@@ -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 -r 322bd8237ebf -r 8cb413dab051 sysutils/fabric/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/fabric/Makefile Wed May 26 18:26:20 2010 +0000
@@ -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@localhost
+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 -r 322bd8237ebf -r 8cb413dab051 sysutils/fabric/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/fabric/PLIST Wed May 26 18:26:20 2010 +0000
@@ -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 -r 322bd8237ebf -r 8cb413dab051 sysutils/fabric/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/fabric/distinfo Wed May 26 18:26:20 2010 +0000
@@ -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 -r 322bd8237ebf -r 8cb413dab051 sysutils/fabric/files/fab.1
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/fabric/files/fab.1 Wed May 26 18:26:20 2010 +0000
@@ -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@localhost>.
+.PP
+This stub manual page was written by Chris Lamb <lamby%debian.org@localhost> for the
+Debian project (but may be used by others).
+.SH "SEE ALSO"
+.IP
+\fBssh\fP\fB(1)\fP
diff -r 322bd8237ebf -r 8cb413dab051 sysutils/fabric/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/fabric/patches/patch-aa Wed May 26 18:26:20 2010 +0000
@@ -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@localhost',
+ 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',
Home |
Main Index |
Thread Index |
Old Index