summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-01-24 13:58:17 +0000
committeradam <adam@pkgsrc.org>2019-01-24 13:58:17 +0000
commit6c9c002c49e41f1d82fc08a8def49b07d2fe13e5 (patch)
treea3b8abae91dae999ebc3c1252e56173ca7eb0ca0
parent9545c3f72596eecccfa8633be6db7363f746ad57 (diff)
downloadpkgsrc-6c9c002c49e41f1d82fc08a8def49b07d2fe13e5.tar.gz
py-salt-pepper: added version 0.7.5
Pepper contains a Python library and CLI scripts for accessing a remote salt-api instance. pepperlib abstracts the HTTP calls to salt-api so existing Python projects can easily integrate with a remote Salt installation just by instantiating a class. The pepper CLI script allows users to execute Salt commands from computers that are external to computers running the salt-master or salt-minion daemons as though they were running Salt locally. The long-term goal is to add additional CLI scripts maintain the same interface as Salt's own CLI scripts (salt, salt-run, salt-key, etc).
-rw-r--r--sysutils/Makefile3
-rw-r--r--sysutils/py-salt-pepper/ALTERNATIVES1
-rw-r--r--sysutils/py-salt-pepper/DESCR11
-rw-r--r--sysutils/py-salt-pepper/Makefile22
-rw-r--r--sysutils/py-salt-pepper/PLIST24
-rw-r--r--sysutils/py-salt-pepper/distinfo6
6 files changed, 66 insertions, 1 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 273fe5f2285..d54c32c70de 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.796 2019/01/22 17:19:07 martin Exp $
+# $NetBSD: Makefile,v 1.797 2019/01/24 13:58:17 adam Exp $
#
COMMENT= System utilities
@@ -485,6 +485,7 @@ SUBDIR+= py-pefile
SUBDIR+= py-psutil
SUBDIR+= py-ptyprocess
SUBDIR+= py-pyinotify
+SUBDIR+= py-salt-pepper
SUBDIR+= py-setconf
SUBDIR+= py-setproctitle
SUBDIR+= py-structlog
diff --git a/sysutils/py-salt-pepper/ALTERNATIVES b/sysutils/py-salt-pepper/ALTERNATIVES
new file mode 100644
index 00000000000..e10b8aea5d2
--- /dev/null
+++ b/sysutils/py-salt-pepper/ALTERNATIVES
@@ -0,0 +1 @@
+bin/pepper @PREFIX@/bin/pepper-@PYVERSSUFFIX@
diff --git a/sysutils/py-salt-pepper/DESCR b/sysutils/py-salt-pepper/DESCR
new file mode 100644
index 00000000000..984ce11682a
--- /dev/null
+++ b/sysutils/py-salt-pepper/DESCR
@@ -0,0 +1,11 @@
+Pepper contains a Python library and CLI scripts for accessing a remote
+salt-api instance.
+
+pepperlib abstracts the HTTP calls to salt-api so existing Python projects can
+easily integrate with a remote Salt installation just by instantiating a class.
+
+The pepper CLI script allows users to execute Salt commands from computers that
+are external to computers running the salt-master or salt-minion daemons as
+though they were running Salt locally. The long-term goal is to add additional
+CLI scripts maintain the same interface as Salt's own CLI scripts (salt,
+salt-run, salt-key, etc).
diff --git a/sysutils/py-salt-pepper/Makefile b/sysutils/py-salt-pepper/Makefile
new file mode 100644
index 00000000000..4d56f78b46b
--- /dev/null
+++ b/sysutils/py-salt-pepper/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2019/01/24 13:58:17 adam Exp $
+
+DISTNAME= salt-pepper-0.7.5
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= sysutils python
+MASTER_SITES= ${MASTER_SITE_PYPI:=s/salt-pepper/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/saltstack/pepper
+COMMENT= CLI front-end to a running salt-api system
+LICENSE= apache-2.0
+
+BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+
+USE_LANGUAGES= # none
+
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} pepper pepper-${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/py-salt-pepper/PLIST b/sysutils/py-salt-pepper/PLIST
new file mode 100644
index 00000000000..b62e8a09963
--- /dev/null
+++ b/sysutils/py-salt-pepper/PLIST
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1 2019/01/24 13:58:17 adam Exp $
+bin/pepper-${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/pepper/__init__.py
+${PYSITELIB}/pepper/__init__.pyc
+${PYSITELIB}/pepper/__init__.pyo
+${PYSITELIB}/pepper/cli.py
+${PYSITELIB}/pepper/cli.pyc
+${PYSITELIB}/pepper/cli.pyo
+${PYSITELIB}/pepper/exceptions.py
+${PYSITELIB}/pepper/exceptions.pyc
+${PYSITELIB}/pepper/exceptions.pyo
+${PYSITELIB}/pepper/libpepper.py
+${PYSITELIB}/pepper/libpepper.pyc
+${PYSITELIB}/pepper/libpepper.pyo
+${PYSITELIB}/pepper/retcode.py
+${PYSITELIB}/pepper/retcode.pyc
+${PYSITELIB}/pepper/retcode.pyo
+${PYSITELIB}/pepper/script.py
+${PYSITELIB}/pepper/script.pyc
+${PYSITELIB}/pepper/script.pyo
diff --git a/sysutils/py-salt-pepper/distinfo b/sysutils/py-salt-pepper/distinfo
new file mode 100644
index 00000000000..a46f8f3b338
--- /dev/null
+++ b/sysutils/py-salt-pepper/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/01/24 13:58:17 adam Exp $
+
+SHA1 (salt-pepper-0.7.5.tar.gz) = 9514242be551752eaae23115e835bdbade2de3fe
+RMD160 (salt-pepper-0.7.5.tar.gz) = d27939d8d870d6be0858a17170b303342a088ec2
+SHA512 (salt-pepper-0.7.5.tar.gz) = 740395fc01ead459e26b1445449ab6f46ccc65947a151dbd1f644c126d00f0486b6ae45ae16d835e0192f152c503081f3a3828b89f07bbcd7fe8659401799c31
+Size (salt-pepper-0.7.5.tar.gz) = 21742 bytes