aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-06 17:11:47 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-08 01:41:52 +0700
commitb54746b77dd18736d92a2d98b7c3d6d01a00e1f9 (patch)
tree2b1366c7382eed2fd1912b13d72ba8486f1714a3
parent6f64e7cbecf2e55dad4c8a5ffd93e1b040e896cb (diff)
python/python-x11_hash: Renamed python2-x11_hash.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python2-x11_hash/README (renamed from python/python-x11_hash/README)0
-rw-r--r--python/python2-x11_hash/python2-x11_hash.SlackBuild (renamed from python/python-x11_hash/python-x11_hash.SlackBuild)4
-rw-r--r--python/python2-x11_hash/python2-x11_hash.info (renamed from python/python-x11_hash/python-x11_hash.info)2
-rw-r--r--python/python2-x11_hash/slack-desc (renamed from python/python-x11_hash/slack-desc)24
4 files changed, 15 insertions, 15 deletions
diff --git a/python/python-x11_hash/README b/python/python2-x11_hash/README
index 985520cd1851..985520cd1851 100644
--- a/python/python-x11_hash/README
+++ b/python/python2-x11_hash/README
diff --git a/python/python-x11_hash/python-x11_hash.SlackBuild b/python/python2-x11_hash/python2-x11_hash.SlackBuild
index 9c8db2017fd6..485ff06fc267 100644
--- a/python/python-x11_hash/python-x11_hash.SlackBuild
+++ b/python/python2-x11_hash/python2-x11_hash.SlackBuild
@@ -22,7 +22,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=python-x11_hash
+PRGNAM=python2-x11_hash
SRCNAM=x11_hash
VERSION=${VERSION:-1.4}
BUILD=${BUILD:-1}
@@ -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-x11_hash/python-x11_hash.info b/python/python2-x11_hash/python2-x11_hash.info
index f643d1487f84..ac7a2160f3ad 100644
--- a/python/python-x11_hash/python-x11_hash.info
+++ b/python/python2-x11_hash/python2-x11_hash.info
@@ -1,4 +1,4 @@
-PRGNAM="python-x11_hash"
+PRGNAM="python2-x11_hash"
VERSION="1.4"
HOMEPAGE="https://github.com/mazaclub/x11_hash"
DOWNLOAD="https://github.com/mazaclub/x11_hash/archive/1.4/x11_hash-1.4.tar.gz"
diff --git a/python/python-x11_hash/slack-desc b/python/python2-x11_hash/slack-desc
index 0d8fe304d029..c1be6647393a 100644
--- a/python/python-x11_hash/slack-desc
+++ b/python/python2-x11_hash/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-x11_hash: python-x11_hash (python module for Dash's X11 hashing)
-python-x11_hash:
-python-x11_hash: Python module for Dash's X11 hashing.
-python-x11_hash:
-python-x11_hash:
-python-x11_hash:
-python-x11_hash:
-python-x11_hash:
-python-x11_hash:
-python-x11_hash:
-python-x11_hash:
+ |-----handy-ruler------------------------------------------------------|
+python2-x11_hash: python2-x11_hash (python module for Dash's X11 hashing)
+python2-x11_hash:
+python2-x11_hash: Python module for Dash's X11 hashing.
+python2-x11_hash:
+python2-x11_hash:
+python2-x11_hash:
+python2-x11_hash:
+python2-x11_hash:
+python2-x11_hash:
+python2-x11_hash:
+python2-x11_hash: