mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
python/python3-h5py: Update for 3.11.0 (+new maintainer)
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
a7d393346c
commit
d287c38564
2 changed files with 9 additions and 12 deletions
|
@ -2,8 +2,9 @@
|
||||||
|
|
||||||
# Slackware build script for python3-h5py
|
# Slackware build script for python3-h5py
|
||||||
|
|
||||||
|
# Copyright 2024 Isaac Yu <isaacyu@protonmail.com>
|
||||||
# Copyright 2023 Petar Petrov slackalaxy@gmail.com
|
# Copyright 2023 Petar Petrov slackalaxy@gmail.com
|
||||||
# Copyright 2022-2023 Isaac Yu <isaacyu@protonmail.com>
|
# Copyright 2022-2023 Isaac Yu
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -26,8 +27,8 @@
|
||||||
cd $(dirname $0) ; CWD=$(pwd)
|
cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=python3-h5py
|
PRGNAM=python3-h5py
|
||||||
VERSION=${VERSION:-3.8.0}
|
VERSION=${VERSION:-3.11.0}
|
||||||
BUILD=${BUILD:-2}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
|
||||||
|
@ -51,16 +52,12 @@ PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "$ARCH" = "i586" ]; then
|
if [ "$ARCH" = "i586" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "x86_64" ]; then
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
SLKCFLAGS="-O2 -fPIC"
|
|
||||||
LIBDIRSUFFIX="64"
|
LIBDIRSUFFIX="64"
|
||||||
else
|
else
|
||||||
SLKCFLAGS="-O2"
|
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="python3-h5py"
|
PRGNAM="python3-h5py"
|
||||||
VERSION="3.8.0"
|
VERSION="3.11.0"
|
||||||
HOMEPAGE="https://www.h5py.org/"
|
HOMEPAGE="https://www.h5py.org/"
|
||||||
DOWNLOAD="https://files.pythonhosted.org/packages/source/h/h5py/h5py-3.8.0.tar.gz"
|
DOWNLOAD="https://files.pythonhosted.org/packages/source/h/h5py/h5py-3.11.0.tar.gz"
|
||||||
MD5SUM="51d5e91d32abb192e1b1363e306bdb02"
|
MD5SUM="710eb17c1bae08a3ba684889b1108fdb"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="hdf5 liblzf python3-numpy python3-pkgconfig"
|
REQUIRES="hdf5 liblzf python3-numpy python3-pkgconfig"
|
||||||
MAINTAINER="Petar Petrov"
|
MAINTAINER="Isaac Yu"
|
||||||
EMAIL="slackalaxy@gmail.com"
|
EMAIL="isaacyu@protonmail.com"
|
||||||
|
|
Loading…
Reference in a new issue