Bug 175512 - New Port: sysutils/salt-api - Expose fundamental aspects of Salt control to external sources
Summary: New Port: sysutils/salt-api - Expose fundamental aspects of Salt control to e...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jason Helfman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-22 17:20 UTC by Christer Edwards
Modified: 2013-01-27 21:10 UTC (History)
0 users

See Also:


Attachments
file.shar (4.07 KB, text/plain)
2013-01-22 17:20 UTC, Christer Edwards
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christer Edwards 2013-01-22 17:20:03 UTC
New Port: sysutils/salt-api - Expose fundamental aspects of Salt control to external sources

Fix: New Port: sysutils/salt-api - Expose fundamental aspects of Salt control to external sources

Patch attached with submission follows:
How-To-Repeat: New Port: sysutils/salt-api - Expose fundamental aspects of Salt control to external sources
Comment 1 Jason Helfman freebsd_committer freebsd_triage 2013-01-22 22:52:23 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jgh

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-01-27 21:07:17 UTC
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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Jason Helfman freebsd_committer freebsd_triage 2013-01-27 21:07:20 UTC
State Changed
From-To: open->closed

New port added, with minor changes. Thanks!