mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +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:
parent
21682067f4
commit
f5b710c4d6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=311080
@ -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
|
||||
|
30
sysutils/py-salt-api/Makefile
Normal file
30
sysutils/py-salt-api/Makefile
Normal 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>
|
2
sysutils/py-salt-api/distinfo
Normal file
2
sysutils/py-salt-api/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (salt-api-0.7.5.tar.gz) = 5057c2468aea492607addf694033f8d36796cf55bfd6ff7abfc277842edb51a1
|
||||
SIZE (salt-api-0.7.5.tar.gz) = 33401
|
14
sysutils/py-salt-api/files/patch-setup.py
Normal file
14
sysutils/py-salt-api/files/patch-setup.py
Normal 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)
|
7
sysutils/py-salt-api/pkg-descr
Normal file
7
sysutils/py-salt-api/pkg-descr
Normal 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
|
31
sysutils/py-salt-api/pkg-plist
Normal file
31
sysutils/py-salt-api/pkg-plist
Normal 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
|
Loading…
Reference in New Issue
Block a user