python/python3-hatchling: Updated for version 1.25.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
fourtysixandtwo 2024-09-08 17:04:48 -06:00 committed by Willy Sudiarto Raharjo
parent 9ca3bc62eb
commit bf63a3c298
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 16 additions and 5 deletions

View file

@ -2,3 +2,9 @@ python3-hatchling (Hatch build backend)
This is the extensible, standards compliant build backend used by
Hatch.
Add the following before the python3 build commands in your
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

View file

@ -22,11 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20240908 46and2: Updated version of packaging in /opt is now required.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-hatchling
SRCNAM=${PRGNAM#python3-*}
VERSION=${VERSION:-1.22.5}
VERSION=${VERSION:-1.25.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -63,6 +65,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
export PYTHONPATH=/opt/python$PYVER/site-packages
python3 -m build --no-isolation
python3 -m installer -d "$PKG" dist/*.whl

View file

@ -1,10 +1,10 @@
PRGNAM="python3-hatchling"
VERSION="1.22.5"
VERSION="1.25.0"
HOMEPAGE="https://github.com/pypa/hatch/tree/master/backend"
DOWNLOAD="https://files.pythonhosted.org/packages/source/h/hatchling/hatchling-1.22.5.tar.gz"
MD5SUM="e5f74d4918c6831ad9c8ed739b87291e"
DOWNLOAD="https://files.pythonhosted.org/packages/source/h/hatchling/hatchling-1.25.0.tar.gz"
MD5SUM="ac265366ccd17365db319dc95a9e5bc5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-editables python3-pathspec python3-pluggy python3-trove-classifiers"
REQUIRES="python3-editables python3-pathspec python3-pluggy python3-trove-classifiers python3-setuptools-opt"
MAINTAINER="fourtysixandtwo"
EMAIL="fourtysixandtwo@sliderr.net"