1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

- 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
This commit is contained in:
Jason Helfman 2013-01-27 21:07:09 +00:00
parent 21682067f4
commit f5b710c4d6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=311080
6 changed files with 85 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1,2 @@
SHA256 (salt-api-0.7.5.tar.gz) = 5057c2468aea492607addf694033f8d36796cf55bfd6ff7abfc277842edb51a1
SIZE (salt-api-0.7.5.tar.gz) = 33401

View File

@ -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)

View File

@ -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

View File

@ -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