diff options
Diffstat (limited to 'python')
-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-desc | 19 | ||||
-rw-r--r-- | python/pyzmq/slack-desc | 19 |
5 files changed, 26 insertions, 25 deletions
diff --git a/python/pyzmq/README b/python/python2-pyzmq/README index 64b64d9d84457..64b64d9d84457 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 9bcd7069911a4..03f9068313c5b 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 b7cf05dc42e1c..3617903c95de2 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 0000000000000..586efa87e7463 --- /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 cbbd29dacb907..0000000000000 --- 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: |