aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaackwy <isaacyu@protonmail.com>2024-07-14 14:26:58 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-07-15 10:34:35 +0700
commitef6aa78953f8b01b80fde1c892063be98f57b523 (patch)
tree823ce282be62bf1bcb1172dbd4201f9923088603
parent8d74affa821534b8ba232a06cb472a13c2033516 (diff)
python/python3-whatthepatch: Update for 1.0.6
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python3-whatthepatch/python3-whatthepatch.SlackBuild18
-rw-r--r--python/python3-whatthepatch/python3-whatthepatch.info6
2 files changed, 5 insertions, 19 deletions
diff --git a/python/python3-whatthepatch/python3-whatthepatch.SlackBuild b/python/python3-whatthepatch/python3-whatthepatch.SlackBuild
index 7310c7a557..c488214131 100644
--- a/python/python3-whatthepatch/python3-whatthepatch.SlackBuild
+++ b/python/python3-whatthepatch/python3-whatthepatch.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-whatthepatch
-VERSION=${VERSION:-1.0.5}
+VERSION=${VERSION:-1.0.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -49,20 +49,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
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
rm -rf $PKG
@@ -88,7 +74,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CODE_OF_CONDUCT.md HISTORY.md LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CODE_OF_CONDUCT.md HISTORY.md README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/python/python3-whatthepatch/python3-whatthepatch.info b/python/python3-whatthepatch/python3-whatthepatch.info
index 0ec6d93fcf..ef53eb23c0 100644
--- a/python/python3-whatthepatch/python3-whatthepatch.info
+++ b/python/python3-whatthepatch/python3-whatthepatch.info
@@ -1,8 +1,8 @@
PRGNAM="python3-whatthepatch"
-VERSION="1.0.5"
+VERSION="1.0.6"
HOMEPAGE="https://github.com/cscorley/whatthepatch"
-DOWNLOAD="https://github.com/cscorley/whatthepatch/archive/1.0.5/whatthepatch-1.0.5.tar.gz"
-MD5SUM="86deb245aa1094d0faf6866f2ca30688"
+DOWNLOAD="https://github.com/cscorley/whatthepatch/archive/1.0.6/whatthepatch-1.0.6.tar.gz"
+MD5SUM="98009f35ba193e1aecd50954fab8387c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-setuptools-opt"