summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
author Dave Woodfall2021-05-14 22:34:38 +0200
committer Willy Sudiarto Raharjo2021-05-19 13:40:00 +0200
commitb13eb3db5d307b714e52b6e289e9507262b96317 (patch)
treee1cdd19c4377753da29b00b14b1dfbfe51ae1959 /python
parent5e9e1e6a35fce481036a99d9ccc38c8fc74ca4a4 (diff)
downloadslackbuilds-b13eb3db5d307b714e52b6e289e9507262b96317.tar.gz
python/python-keyutils: Renamed python2-keyutils.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/python-keyutils/slack-desc19
-rw-r--r--python/python2-keyutils/README (renamed from python/python-keyutils/README)0
-rw-r--r--python/python2-keyutils/python2-keyutils.SlackBuild (renamed from python/python-keyutils/python-keyutils.SlackBuild)6
-rw-r--r--python/python2-keyutils/python2-keyutils.info (renamed from python/python-keyutils/python-keyutils.info)2
-rw-r--r--python/python2-keyutils/slack-desc19
5 files changed, 23 insertions, 23 deletions
diff --git a/python/python-keyutils/slack-desc b/python/python-keyutils/slack-desc
deleted file mode 100644
index 2540e2d88d..0000000000
--- a/python/python-keyutils/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-python-keyutils: python-keyutils (keyutils bindings for Python)
-python-keyutils:
-python-keyutils: python-keyutils is a set of python bindings for keyutils a key
-python-keyutils: management suite that leverages the infrastructure provided by
-python-keyutils: the Linux kernel for safely storing and retrieving sensitive
-python-keyutils: infromation in your programs.
-python-keyutils:
-python-keyutils: Homepage: https://github.com/sassoftware/python-keyutils
-python-keyutils:
-python-keyutils:
-python-keyutils:
diff --git a/python/python-keyutils/README b/python/python2-keyutils/README
index 4ec1441822..4ec1441822 100644
--- a/python/python-keyutils/README
+++ b/python/python2-keyutils/README
diff --git a/python/python-keyutils/python-keyutils.SlackBuild b/python/python2-keyutils/python2-keyutils.SlackBuild
index f5ac800a2f..e1ad17cfd7 100644
--- a/python/python-keyutils/python-keyutils.SlackBuild
+++ b/python/python2-keyutils/python2-keyutils.SlackBuild
@@ -22,8 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=python-keyutils
-SRCNAM=$(echo $PRGNAM | cut -c8-15)
+PRGNAM=python2-keyutils
+SRCNAM=$( echo $PRGNAM | cut -d- -f2- )
VERSION=${VERSION:-0.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,7 +70,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python2 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/python/python-keyutils/python-keyutils.info b/python/python2-keyutils/python2-keyutils.info
index 7ea024df1c..bd39b4699b 100644
--- a/python/python-keyutils/python-keyutils.info
+++ b/python/python2-keyutils/python2-keyutils.info
@@ -1,4 +1,4 @@
-PRGNAM="python-keyutils"
+PRGNAM="python2-keyutils"
VERSION="0.5"
HOMEPAGE="https://github.com/sassoftware/python-keyutils"
DOWNLOAD="https://pypi.python.org/packages/10/5f/685e3525cef6f276fd29a949b293d190a695b2812333057ad45d82a24918/keyutils-0.5.tar.gz"
diff --git a/python/python2-keyutils/slack-desc b/python/python2-keyutils/slack-desc
new file mode 100644
index 0000000000..d2168ab06c
--- /dev/null
+++ b/python/python2-keyutils/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+python2-keyutils: python2-keyutils (keyutils bindings for Python)
+python2-keyutils:
+python2-keyutils: python2-keyutils is a set of python bindings for keyutils a key
+python2-keyutils: management suite that leverages the infrastructure provided by
+python2-keyutils: the Linux kernel for safely storing and retrieving sensitive
+python2-keyutils: infromation in your programs.
+python2-keyutils:
+python2-keyutils: Homepage: https://github.com/sassoftware/python-keyutils
+python2-keyutils:
+python2-keyutils:
+python2-keyutils: