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>
This commit is contained in:
parent
fbf3d6947e
commit
d915254c2f
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue