summaryrefslogtreecommitdiffstats
path: root/python/python-zipp
diff options
context:
space:
mode:
author fourtysixandtwo <fourtysixandtwo@sliderr.net>2023-09-13 16:34:24 -0600
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-09-17 00:10:33 +0700
commit3f95cf56e7f62a74a911d39b5485812d28b88030 (patch)
tree2fb4a7422d4fc7413c43cd3c2d2cf5931d4cfc32 /python/python-zipp
parentb37bbe55ecddc90db2f2b587c07a6316ff742150 (diff)
downloadslackbuilds-3f95cf56e7f62a74a911d39b5485812d28b88030.tar.gz
slackbuilds-3f95cf56e7f62a74a911d39b5485812d28b88030.tar.xz
python/python-zipp: New maintainer.
With permission from Dimitris Z. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python-zipp')
-rw-r--r--python/python-zipp/python-zipp.SlackBuild11
-rw-r--r--python/python-zipp/python-zipp.info4
2 files changed, 8 insertions, 7 deletions
diff --git a/python/python-zipp/python-zipp.SlackBuild b/python/python-zipp/python-zipp.SlackBuild
index 3f39269b22..9c503b35d4 100644
--- a/python/python-zipp/python-zipp.SlackBuild
+++ b/python/python-zipp/python-zipp.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for python-zipp
+# Copyright 2023 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# Copyright 2019-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# Copyright 2022 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
@@ -41,9 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -62,6 +60,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -79,9 +80,9 @@ cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
sed -i "s,^name =.*$,&\nversion = $VERSION," setup.cfg
diff --git a/python/python-zipp/python-zipp.info b/python/python-zipp/python-zipp.info
index 6fb99df1bd..7616992117 100644
--- a/python/python-zipp/python-zipp.info
+++ b/python/python-zipp/python-zipp.info
@@ -6,5 +6,5 @@ MD5SUM="8864ff5ed01cd28755cc87f1443dbc67"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+MAINTAINER="fourtysixandtwo"
+EMAIL="fourtysixandtwo@sliderr.net"