python/python3-hatchling: Updated for version 1.21.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
f885ddb9d7
commit
cf8ba82597
|
@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PRGNAM=python3-hatchling
|
||||
SRCNAM=${PRGNAM#python3-*}
|
||||
VERSION=${VERSION:-1.18.0}
|
||||
VERSION=${VERSION:-1.21.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -48,23 +48,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"
|
||||
elif [ "$ARCH" = "aarch64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
else
|
||||
SLKCFLAGS="-O2"
|
||||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="python3-hatchling"
|
||||
VERSION="1.18.0"
|
||||
VERSION="1.21.0"
|
||||
HOMEPAGE="https://github.com/pypa/hatch/tree/master/backend"
|
||||
DOWNLOAD="https://files.pythonhosted.org/packages/source/h/hatchling/hatchling-1.18.0.tar.gz"
|
||||
MD5SUM="43f7203cacb6c3c178b93149b8a8151d"
|
||||
DOWNLOAD="https://files.pythonhosted.org/packages/source/h/hatchling/hatchling-1.21.0.tar.gz"
|
||||
MD5SUM="21e5e7ed5fa6dd0618c5b66eb847f370"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="python3-editables python3-pathspec python3-pluggy python3-trove-classifiers"
|
||||
|
|
Loading…
Reference in New Issue