aboutsummaryrefslogtreecommitdiff
path: root/python/python3-hatchling
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2025-11-27 02:45:51 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2025-11-29 09:30:11 +0700
commitddd6f00f6ea92d1245663e321c6e53389d2f6784 (patch)
treeae9b379b23e1dde2bc98aeaf2edb01bf1661d45d /python/python3-hatchling
parent93fe3fb3833755fcfe185581debe1448527488dc (diff)
python/python3-hatchling: Updated for version 1.28.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-hatchling')
-rw-r--r--python/python3-hatchling/README4
-rw-r--r--python/python3-hatchling/python3-hatchling.SlackBuild10
-rw-r--r--python/python3-hatchling/python3-hatchling.info6
3 files changed, 11 insertions, 9 deletions
diff --git a/python/python3-hatchling/README b/python/python3-hatchling/README
index 23639b967c..8abb2dfcf3 100644
--- a/python/python3-hatchling/README
+++ b/python/python3-hatchling/README
@@ -8,3 +8,7 @@ Slackbuild as hatchling now requires python3-packaging-opt:
PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
export PYTHONPATH=/opt/python$PYVER/site-packages
+
+NOTE: As of version 1.28.0 hatchling has dropped support for python3.9.
+ However, it still seems to work fine so I will continue updating
+ it for the time being.
diff --git a/python/python3-hatchling/python3-hatchling.SlackBuild b/python/python3-hatchling/python3-hatchling.SlackBuild
index 1341f4d561..c1da6ebfbc 100644
--- a/python/python3-hatchling/python3-hatchling.SlackBuild
+++ b/python/python3-hatchling/python3-hatchling.SlackBuild
@@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-hatchling
SRCNAM=${PRGNAM#python3-*}
-VERSION=${VERSION:-1.27.0}
+VERSION=${VERSION:-1.28.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -59,11 +59,9 @@ rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.?z
cd $SRCNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \+ -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+find . ! -type l -a \
+ \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \
+ \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \)
PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
export PYTHONPATH=/opt/python$PYVER/site-packages
diff --git a/python/python3-hatchling/python3-hatchling.info b/python/python3-hatchling/python3-hatchling.info
index 4652ebbd3e..87f68319eb 100644
--- a/python/python3-hatchling/python3-hatchling.info
+++ b/python/python3-hatchling/python3-hatchling.info
@@ -1,8 +1,8 @@
PRGNAM="python3-hatchling"
-VERSION="1.27.0"
+VERSION="1.28.0"
HOMEPAGE="https://github.com/pypa/hatch/tree/master/backend"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/h/hatchling/hatchling-1.27.0.tar.gz"
-MD5SUM="6ffb3087c9b6a9ffbfc1bb394f7ed1a8"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/h/hatchling/hatchling-1.28.0.tar.gz"
+MD5SUM="0d40370d4684147d6e3d1e3800298bd0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-editables python3-pathspec python3-pluggy python3-trove-classifiers python3-setuptools-opt"