summaryrefslogtreecommitdiffstats
path: root/source/n/pssh
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/pssh')
-rwxr-xr-xsource/n/pssh/pssh.SlackBuild5
-rw-r--r--source/n/pssh/setup.py45
2 files changed, 49 insertions, 1 deletions
diff --git a/source/n/pssh/pssh.SlackBuild b/source/n/pssh/pssh.SlackBuild
index faa063ff2..42cb8371c 100755
--- a/source/n/pssh/pssh.SlackBuild
+++ b/source/n/pssh/pssh.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=pssh
VERSION=${VERSION:-$(echo pssh*.tar.?z | cut -d - -f 2 | rev | cut -f 3- -d . | rev)}
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -70,6 +70,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
+cp -a $CWD/setup.py .
+chmod 755 setup.py
+
# Install
python3 setup.py build install --root=$PKG
diff --git a/source/n/pssh/setup.py b/source/n/pssh/setup.py
new file mode 100644
index 000000000..fd19afd8a
--- /dev/null
+++ b/source/n/pssh/setup.py
@@ -0,0 +1,45 @@
+#!/usr/bin/env python
+
+import os
+
+from setuptools import setup
+
+from psshlib import version
+
+long_description = """PSSH (Parallel SSH) provides parallel versions of OpenSSH and related tools, including pssh, pscp, prsync, pnuke, and pslurp. The project includes psshlib which can be used within custom applications."""
+
+setup(
+ name = "pssh",
+ version = version.VERSION,
+ author = "Andrew McNabb",
+ author_email = "amcnabb@mcnabbs.org",
+ url = "https://github.com/lilydjwg/pssh",
+ description = "Parallel version of OpenSSH and related tools",
+ long_description = long_description,
+ license = "BSD",
+ platforms = ['linux'],
+
+ classifiers = [
+ "Development Status :: 5 - Production/Stable",
+ "Intended Audience :: System Administrators",
+ "License :: OSI Approved :: BSD License",
+ "Operating System :: POSIX",
+ "Programming Language :: Python",
+ "Programming Language :: Python :: 3",
+ "Programming Language :: Python :: 3.5",
+ "Programming Language :: Python :: 3.6",
+ "Programming Language :: Python :: 3.7",
+ "Programming Language :: Python :: 3.8",
+ "Topic :: Software Development :: Libraries :: Python Modules",
+ "Topic :: System :: Clustering",
+ "Topic :: System :: Networking",
+ "Topic :: System :: Systems Administration",
+ ],
+
+ packages = ['psshlib'],
+ scripts = [os.path.join("bin", p) for p in ["pssh", "pnuke", "prsync", "pslurp", "pscp", "pssh-askpass"]],
+ data_files = [('share/man/man1', [
+ 'man/man1/pssh.1', 'man/man1/pscp.1',
+ 'man/man1/prsync.1', 'man/man1/pslurp.1', 'man/man1/pnuke.1',
+ ])],
+)