summaryrefslogtreecommitdiffstats
path: root/python/python3-jedi/python3-jedi.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-jedi/python3-jedi.SlackBuild')
-rw-r--r--python/python3-jedi/python3-jedi.SlackBuild27
1 files changed, 5 insertions, 22 deletions
diff --git a/python/python3-jedi/python3-jedi.SlackBuild b/python/python3-jedi/python3-jedi.SlackBuild
index c405de4688..165ec677f5 100644
--- a/python/python3-jedi/python3-jedi.SlackBuild
+++ b/python/python3-jedi/python3-jedi.SlackBuild
@@ -4,7 +4,8 @@
# Copyright 2015-2017 Dimitris Zlatanidis Orestiada, Greece
# Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
-# Copyright 2022 Isaac Yu <isaacyu1@isaacyu1.com>
+# Copyright 2022 Isaac Yu <isaacyu@protonmail.com>
+# Copyright 2023 Jeremy Hansen <jebrhansen+SBo@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,13 +28,12 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-jedi
-VERSION=${VERSION:-0.18.1}
+SRCNAM=jedi
+VERSION=${VERSION:-0.19.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-SRCNAM=jedi
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -42,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
@@ -54,20 +51,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
@@ -90,7 +73,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- *.rst PKG-INFO *.txt docs/ \
+ AUTHORS.txt CHANGELOG.rst LICENSE.txt README.rst \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild