mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
python/python3-diff-match-patch: Update for 20241021
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
4d125723ae
commit
0884f857cd
2 changed files with 5 additions and 19 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for python3-diff-match-patch
|
# Slackware build script for python3-diff-match-patch
|
||||||
|
|
||||||
# Copyright 2023 Isaac Yu <isaacyu@protonmail.com>
|
# Copyright 2023-2024 Isaac Yu <isaacyu@protonmail.com>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
cd $(dirname $0) ; CWD=$(pwd)
|
cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=python3-diff-match-patch
|
PRGNAM=python3-diff-match-patch
|
||||||
VERSION=${VERSION:-20230430}
|
VERSION=${VERSION:-20241021}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
@ -49,20 +49,6 @@ TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "$ARCH" = "i586" ]; then
|
|
||||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
|
||||||
LIBDIRSUFFIX=""
|
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
|
||||||
LIBDIRSUFFIX=""
|
|
||||||
elif [ "$ARCH" = "x86_64" ]; then
|
|
||||||
SLKCFLAGS="-O2 -fPIC"
|
|
||||||
LIBDIRSUFFIX="64"
|
|
||||||
else
|
|
||||||
SLKCFLAGS="-O2"
|
|
||||||
LIBDIRSUFFIX=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="python3-diff-match-patch"
|
PRGNAM="python3-diff-match-patch"
|
||||||
VERSION="20230430"
|
VERSION="20241021"
|
||||||
HOMEPAGE="https://github.com/diff-match-patch-python/diff-match-patch"
|
HOMEPAGE="https://github.com/diff-match-patch-python/diff-match-patch"
|
||||||
DOWNLOAD="https://github.com/diff-match-patch-python/diff-match-patch/archive/v20230430/diff-match-patch-20230430.tar.gz"
|
DOWNLOAD="https://github.com/diff-match-patch-python/diff-match-patch/archive/v20241021/diff-match-patch-20241021.tar.gz"
|
||||||
MD5SUM="73d43beb8481c94feb8b393e068540ea"
|
MD5SUM="34b59f2344d2e3f2f905ea8a8f828704"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="python3-build"
|
REQUIRES="python3-build"
|
||||||
|
|
Loading…
Reference in a new issue