aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2023-08-31 09:49:56 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-09-02 18:02:36 +0700
commitd915254c2ff116170bbc31de88e46999dc99fad5 (patch)
treed455f890e8ef81c0f5359a26b0dbe0016991da86
parentfbf3d6947e81824edb210dca6e370150f2b09875 (diff)
office/python3-xlsx2csv: Updated for version 0.8.1.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--office/python3-xlsx2csv/python3-xlsx2csv.SlackBuild13
-rw-r--r--office/python3-xlsx2csv/python3-xlsx2csv.info8
2 files changed, 14 insertions, 7 deletions
diff --git a/office/python3-xlsx2csv/python3-xlsx2csv.SlackBuild b/office/python3-xlsx2csv/python3-xlsx2csv.SlackBuild
index dc27d2b08ced7..fc9eb6930941e 100644
--- a/office/python3-xlsx2csv/python3-xlsx2csv.SlackBuild
+++ b/office/python3-xlsx2csv/python3-xlsx2csv.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-xlsx2csv
SRCNAM=${PRGNAM#python3-*}
-VERSION=${VERSION:-0.7.8}
+VERSION=${VERSION:-0.8.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -57,6 +57,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=""
@@ -77,7 +80,11 @@ 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 {} \+
-python3 setup.py install --root=$PKG
+# use newer setuptools
+export PYTHONPATH=/opt/python3.9/site-packages/
+
+python3 -m build --no-isolation
+python3 -m installer -d "$PKG" dist/*.whl
make -C man
mkdir -p $PKG/usr/man/man1
@@ -90,7 +97,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING LICENSE.txt \
+cp -a CHANGELOG LICENSE.txt PKG-INFO README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/office/python3-xlsx2csv/python3-xlsx2csv.info b/office/python3-xlsx2csv/python3-xlsx2csv.info
index 5b74277b8e4cc..28b910e477a22 100644
--- a/office/python3-xlsx2csv/python3-xlsx2csv.info
+++ b/office/python3-xlsx2csv/python3-xlsx2csv.info
@@ -1,10 +1,10 @@
PRGNAM="python3-xlsx2csv"
-VERSION="0.7.8"
+VERSION="0.8.1"
HOMEPAGE="https://github.com/dilshod/xlsx2csv"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/x/xlsx2csv/xlsx2csv-0.7.8.tar.gz"
-MD5SUM="569a3d7eee88e1a82cf13c1e2a8a5a69"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/x/xlsx2csv/xlsx2csv-0.8.1.tar.gz"
+MD5SUM="21e5723f1ef841f919c95308bd32ccf8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="python3-setuptools-opt"
MAINTAINER="fourtysixandtwo"
EMAIL="fourtysixandtwo@sliderr.net"