summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/python-lz4/README12
-rw-r--r--python/python2-lz4/README12
-rw-r--r--python/python2-lz4/python2-lz4.SlackBuild (renamed from python/python-lz4/python-lz4.SlackBuild)4
-rw-r--r--python/python2-lz4/python2-lz4.info (renamed from python/python-lz4/python-lz4.info)2
-rw-r--r--python/python2-lz4/slack-desc (renamed from python/python-lz4/slack-desc)24
5 files changed, 27 insertions, 27 deletions
diff --git a/python/python-lz4/README b/python/python-lz4/README
deleted file mode 100644
index b3ddbb25ae..0000000000
--- a/python/python-lz4/README
+++ /dev/null
@@ -1,12 +0,0 @@
-python-lz4: provides python bindings for the LZ4 compression library.
-
-The bindings provided in this package cover the frame format and the block
-format specifications. The frame format bindings are the recommended ones to
-use, as this guarantees interoperability with other implementations and
-language bindings.
-
-The API provided by the frame format bindings follows that of the LZMA, zlib,
-gzip and bzip2 compression libraries which are provided with the Python
-standard library. As such, these LZ4 bindings should provide a drop-in
-alternative to the compression libraries shipped with Python. The package
-provides context managers and file handler support.
diff --git a/python/python2-lz4/README b/python/python2-lz4/README
new file mode 100644
index 0000000000..5fb6401511
--- /dev/null
+++ b/python/python2-lz4/README
@@ -0,0 +1,12 @@
+python-lz4: provides python bindings for the LZ4 compression library.
+
+The bindings provided in this package cover the frame format and the
+block format specifications. The frame format bindings are the
+recommended ones to use, as this guarantees interoperability with other
+implementations and language bindings.
+
+The API provided by the frame format bindings follows that of the LZMA,
+zlib, gzip and bzip2 compression libraries which are provided with the
+Python standard library. As such, these LZ4 bindings should provide a
+drop-in alternative to the compression libraries shipped with Python.
+The package provides context managers and file handler support.
diff --git a/python/python-lz4/python-lz4.SlackBuild b/python/python2-lz4/python2-lz4.SlackBuild
index 17c1dc269e..25a8a7cb41 100644
--- a/python/python-lz4/python-lz4.SlackBuild
+++ b/python/python2-lz4/python2-lz4.SlackBuild
@@ -24,7 +24,7 @@
#
# New Submission, version 2.1.6 Jan 2019
-PRGNAM=python-lz4
+PRGNAM=python2-lz4
TARNAM=lz4
VERSION=${VERSION:-2.1.6}
BUILD=${BUILD:-1}
@@ -72,7 +72,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-lz4/python-lz4.info b/python/python2-lz4/python2-lz4.info
index ee56ac9c40..f810514757 100644
--- a/python/python-lz4/python-lz4.info
+++ b/python/python2-lz4/python2-lz4.info
@@ -1,4 +1,4 @@
-PRGNAM="python-lz4"
+PRGNAM="python2-lz4"
VERSION="2.1.6"
HOMEPAGE="https://github.com/python-lz4/python-lz4"
DOWNLOAD="https://files.pythonhosted.org/packages/b3/48/ef32029fc6ae23fb37568972216646deeaaf9f833c237afdf37c0d975bff/lz4-2.1.6.tar.gz"
diff --git a/python/python-lz4/slack-desc b/python/python2-lz4/slack-desc
index c9c73e5fa0..ed5abcc619 100644
--- a/python/python-lz4/slack-desc
+++ b/python/python2-lz4/slack-desc
@@ -5,15 +5,15 @@
# 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-lz4: python-lz4 (python bindings for lz4 compression library)
-python-lz4:
-python-lz4: These lz4 bindings provide a drop-in alternative to the
-python-lz4: compression libraries shipped with Python.
-python-lz4:
-python-lz4:
-python-lz4:
-python-lz4:
-python-lz4:
-python-lz4:
-python-lz4:
+ |-----handy-ruler------------------------------------------------------|
+python2-lz4: python2-lz4 (python bindings for lz4 compression library)
+python2-lz4:
+python2-lz4: These lz4 bindings provide a drop-in alternative to the
+python2-lz4: compression libraries shipped with Python.
+python2-lz4:
+python2-lz4:
+python2-lz4:
+python2-lz4:
+python2-lz4:
+python2-lz4:
+python2-lz4: