pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils py-salt-pepper: added version 0.7.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/849fe9172964
branches:  trunk
changeset: 318370:849fe9172964
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Jan 24 13:58:17 2019 +0000

description:
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).

diffstat:

 sysutils/Makefile                    |   3 ++-
 sysutils/py-salt-pepper/ALTERNATIVES |   1 +
 sysutils/py-salt-pepper/DESCR        |  11 +++++++++++
 sysutils/py-salt-pepper/Makefile     |  22 ++++++++++++++++++++++
 sysutils/py-salt-pepper/PLIST        |  24 ++++++++++++++++++++++++
 sysutils/py-salt-pepper/distinfo     |   6 ++++++
 6 files changed, 66 insertions(+), 1 deletions(-)

diffs (101 lines):

diff -r e29ffba2a407 -r 849fe9172964 sysutils/Makefile
--- a/sysutils/Makefile Thu Jan 24 13:46:40 2019 +0000
+++ b/sysutils/Makefile Thu Jan 24 13:58:17 2019 +0000
@@ -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-psutil
 SUBDIR+=       py-ptyprocess
 SUBDIR+=       py-pyinotify
+SUBDIR+=       py-salt-pepper
 SUBDIR+=       py-setconf
 SUBDIR+=       py-setproctitle
 SUBDIR+=       py-structlog
diff -r e29ffba2a407 -r 849fe9172964 sysutils/py-salt-pepper/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-salt-pepper/ALTERNATIVES      Thu Jan 24 13:58:17 2019 +0000
@@ -0,0 +1,1 @@
+bin/pepper @PREFIX@/bin/pepper-@PYVERSSUFFIX@
diff -r e29ffba2a407 -r 849fe9172964 sysutils/py-salt-pepper/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-salt-pepper/DESCR     Thu Jan 24 13:58:17 2019 +0000
@@ -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 -r e29ffba2a407 -r 849fe9172964 sysutils/py-salt-pepper/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-salt-pepper/Makefile  Thu Jan 24 13:58:17 2019 +0000
@@ -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@localhost
+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 -r e29ffba2a407 -r 849fe9172964 sysutils/py-salt-pepper/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-salt-pepper/PLIST     Thu Jan 24 13:58:17 2019 +0000
@@ -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 -r e29ffba2a407 -r 849fe9172964 sysutils/py-salt-pepper/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-salt-pepper/distinfo  Thu Jan 24 13:58:17 2019 +0000
@@ -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



Home | Main Index | Thread Index | Old Index