Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jan 2013 21:07:09 +0000 (UTC)
From:      Jason Helfman <jgh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r311080 - in head/sysutils: . py-salt-api py-salt-api/files
Message-ID:  <201301272107.r0RL79Gw086620@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jgh
Date: Sun Jan 27 21:07:09 2013
New Revision: 311080
URL: http://svnweb.freebsd.org/changeset/ports/311080

Log:
  - add new port: sysutils/py-salt-api
  
  Salt API : Expose the fundamental aspects of Salt control to external sources
  =============================================================================
  
  Salt API is a modular interface on top of Salt that can provide a variety of
  entry points into a running Salt system.
  
  WWW: http://saltstack.org
  
  PR:		175512
  Submitted by:	christer.edwards@gmail.com

Added:
  head/sysutils/py-salt-api/
  head/sysutils/py-salt-api/Makefile   (contents, props changed)
  head/sysutils/py-salt-api/distinfo   (contents, props changed)
  head/sysutils/py-salt-api/files/
  head/sysutils/py-salt-api/files/patch-setup.py   (contents, props changed)
  head/sysutils/py-salt-api/pkg-descr   (contents, props changed)
  head/sysutils/py-salt-api/pkg-plist   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Sun Jan 27 21:04:35 2013	(r311079)
+++ head/sysutils/Makefile	Sun Jan 27 21:07:09 2013	(r311080)
@@ -728,6 +728,7 @@
     SUBDIR += py-psutil
     SUBDIR += py-ranger
     SUBDIR += py-salt
+    SUBDIR += py-salt-api
     SUBDIR += py-salt-cloud
     SUBDIR += py-stdiff
     SUBDIR += py-supervisor

Added: head/sysutils/py-salt-api/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/py-salt-api/Makefile	Sun Jan 27 21:07:09 2013	(r311080)
@@ -0,0 +1,30 @@
+# $FreeBSD$
+
+PORTNAME=	salt-api
+PORTVERSION=	0.7.5
+CATEGORIES=	sysutils python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	christer.edwards@gmail.com
+COMMENT=	Exposes the fundamental aspects of Salt control to external sources
+
+LICENSE=	AL2
+
+FETCH_ARGS=	-pRr
+USE_PYTHON=	2.6-2.7
+USE_PYDISTUTILS=	yes
+
+SUB_LIST+=	PYTHON_CMD=${PYTHON_CMD}
+
+MAN1=	salt-api.1
+MAN7=	salt-api.7
+
+BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}salt:${PORTSDIR}/sysutils/py-salt
+
+RUN_DEPENDS:=	${BUILD_DEPENDS}
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/setup.py
+
+.include <bsd.port.mk>

Added: head/sysutils/py-salt-api/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/py-salt-api/distinfo	Sun Jan 27 21:07:09 2013	(r311080)
@@ -0,0 +1,2 @@
+SHA256 (salt-api-0.7.5.tar.gz) = 5057c2468aea492607addf694033f8d36796cf55bfd6ff7abfc277842edb51a1
+SIZE (salt-api-0.7.5.tar.gz) = 33401

Added: head/sysutils/py-salt-api/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/py-salt-api/files/patch-setup.py	Sun Jan 27 21:07:09 2013	(r311080)
@@ -0,0 +1,14 @@
+--- setup.py	2013-01-22 09:29:51.251688608 -0700
++++ setup.py-new	2013-01-22 09:35:20.608700323 -0700
+@@ -43,9 +43,9 @@
+         ],
+     package_data={
+         'saltapi.netapi.rest_cherrypy': ['tmpl/*']},
+-    data_files=[('share/man/man1',
++    data_files=[('man/man1',
+         ['doc/man/salt-api.1']),
+-        ('share/man/man7',
++        ('man/man7',
+         ['doc/man/salt-api.7'])],
+     scripts=['scripts/salt-api'],
+     test_suite='unittest2.collector' if 'unittest2' in locals() else None)

Added: head/sysutils/py-salt-api/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/py-salt-api/pkg-descr	Sun Jan 27 21:07:09 2013	(r311080)
@@ -0,0 +1,7 @@
+Salt API : Expose the fundamental aspects of Salt control to external sources
+=============================================================================
+
+Salt API is a modular interface on top of Salt that can provide a variety of 
+entry points into a running Salt system.
+
+WWW: http://saltstack.org

Added: head/sysutils/py-salt-api/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/py-salt-api/pkg-plist	Sun Jan 27 21:07:09 2013	(r311080)
@@ -0,0 +1,31 @@
+bin/salt-api
+%%PYTHON_SITELIBDIR%%/saltapi/__init__.py
+%%PYTHON_SITELIBDIR%%/saltapi/__init__.pyc
+%%PYTHON_SITELIBDIR%%/saltapi/__init__.pyo
+%%PYTHON_SITELIBDIR%%/saltapi/cli.py
+%%PYTHON_SITELIBDIR%%/saltapi/cli.pyc
+%%PYTHON_SITELIBDIR%%/saltapi/cli.pyo
+%%PYTHON_SITELIBDIR%%/saltapi/client.py
+%%PYTHON_SITELIBDIR%%/saltapi/client.pyc
+%%PYTHON_SITELIBDIR%%/saltapi/client.pyo
+%%PYTHON_SITELIBDIR%%/saltapi/config.py
+%%PYTHON_SITELIBDIR%%/saltapi/config.pyc
+%%PYTHON_SITELIBDIR%%/saltapi/config.pyo
+%%PYTHON_SITELIBDIR%%/saltapi/loader.py
+%%PYTHON_SITELIBDIR%%/saltapi/loader.pyc
+%%PYTHON_SITELIBDIR%%/saltapi/loader.pyo
+%%PYTHON_SITELIBDIR%%/saltapi/netapi/__init__.py
+%%PYTHON_SITELIBDIR%%/saltapi/netapi/__init__.pyc
+%%PYTHON_SITELIBDIR%%/saltapi/netapi/__init__.pyo
+%%PYTHON_SITELIBDIR%%/saltapi/netapi/rest_cherrypy/__init__.py
+%%PYTHON_SITELIBDIR%%/saltapi/netapi/rest_cherrypy/__init__.pyc
+%%PYTHON_SITELIBDIR%%/saltapi/netapi/rest_cherrypy/__init__.pyo
+%%PYTHON_SITELIBDIR%%/saltapi/netapi/rest_flask.py
+%%PYTHON_SITELIBDIR%%/saltapi/netapi/rest_flask.pyc
+%%PYTHON_SITELIBDIR%%/saltapi/netapi/rest_flask.pyo
+%%PYTHON_SITELIBDIR%%/saltapi/version.py
+%%PYTHON_SITELIBDIR%%/saltapi/version.pyc
+%%PYTHON_SITELIBDIR%%/saltapi/version.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/saltapi/netapi
+@dirrm %%PYTHON_SITELIBDIR%%/saltapi/netapi/rest_cherrypy
+@dirrm %%PYTHON_SITELIBDIR%%/saltapi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301272107.r0RL79Gw086620>