summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Arn02022-03-14 13:12:50 +0100
committer Willy Sudiarto Raharjo2022-03-17 18:26:03 +0100
commit3e2c5706392ffa54c7b87d824b13608b874be00e (patch)
treeb5b47ad7ff282180fcb1f996ef63f2eeed918b04
parentd15fbc1c8755e0e907e4d279276342c60736f415 (diff)
downloadslackbuilds-3e2c5706392ffa54c7b87d824b13608b874be00e.tar.gz
python/python2-pyzmq: renamed from pyzmq
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python2-pyzmq/README (renamed from python/pyzmq/README)0
-rw-r--r--python/python2-pyzmq/python2-pyzmq.SlackBuild (renamed from python/pyzmq/pyzmq.SlackBuild)11
-rw-r--r--python/python2-pyzmq/python2-pyzmq.info (renamed from python/pyzmq/pyzmq.info)2
-rw-r--r--python/python2-pyzmq/slack-desc19
-rw-r--r--python/pyzmq/slack-desc19
5 files changed, 26 insertions, 25 deletions
diff --git a/python/pyzmq/README b/python/python2-pyzmq/README
index 64b64d9d84..64b64d9d84 100644
--- a/python/pyzmq/README
+++ b/python/python2-pyzmq/README
diff --git a/python/pyzmq/pyzmq.SlackBuild b/python/python2-pyzmq/python2-pyzmq.SlackBuild
index 9bcd706991..03f9068313 100644
--- a/python/pyzmq/pyzmq.SlackBuild
+++ b/python/python2-pyzmq/python2-pyzmq.SlackBuild
@@ -25,7 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
-PRGNAM=pyzmq
+PRGNAM=python2-pyzmq
+SRCNAM=${PRGNAM#python2-*}
VERSION=${VERSION:-19.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,9 +71,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -80,7 +81,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/pyzmq/pyzmq.info b/python/python2-pyzmq/python2-pyzmq.info
index b7cf05dc42..3617903c95 100644
--- a/python/pyzmq/pyzmq.info
+++ b/python/python2-pyzmq/python2-pyzmq.info
@@ -1,4 +1,4 @@
-PRGNAM="pyzmq"
+PRGNAM="python2-pyzmq"
VERSION="19.0.2"
HOMEPAGE="https://github.com/zeromq/pyzmq"
DOWNLOAD="https://github.com/zeromq/pyzmq/archive/v19.0.2/pyzmq-19.0.2.tar.gz"
diff --git a/python/python2-pyzmq/slack-desc b/python/python2-pyzmq/slack-desc
new file mode 100644
index 0000000000..586efa87e7
--- /dev/null
+++ b/python/python2-pyzmq/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-pyzmq: python2-pyzmq (Python bindings for 0MQ)
+python2-pyzmq:
+python2-pyzmq: PyZMQ contains Python bindings for 0MQ, a lightweight and fast
+python2-pyzmq: messaging implementation.
+python2-pyzmq:
+python2-pyzmq: Homepage: https://github.com/zeromq/pyzmq
+python2-pyzmq:
+python2-pyzmq:
+python2-pyzmq:
+python2-pyzmq:
+python2-pyzmq:
diff --git a/python/pyzmq/slack-desc b/python/pyzmq/slack-desc
deleted file mode 100644
index cbbd29dacb..0000000000
--- a/python/pyzmq/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------------------------------------------------------|
-pyzmq: pyzmq (Python bindings for 0MQ)
-pyzmq:
-pyzmq: PyZMQ contains Python bindings for 0MQ, a lightweight and fast
-pyzmq: messaging implementation.
-pyzmq:
-pyzmq: Homepage: https://github.com/zeromq/pyzmq
-pyzmq:
-pyzmq:
-pyzmq:
-pyzmq:
-pyzmq: