med: rebuild for Python 3.12
This commit is contained in:
parent
fdf562e734
commit
0f2fbe0892
|
@ -1,10 +1,10 @@
|
|||
# Template file for 'med'
|
||||
pkgname=med
|
||||
version=4.1.0
|
||||
revision=3
|
||||
revision=4
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-swig=yes --includedir=/usr/include/med"
|
||||
hostmakedepends="gcc-fortran swig"
|
||||
hostmakedepends="gcc-fortran swig python3-setuptools"
|
||||
makedepends="hdf5-devel python3-devel tk-devel"
|
||||
depends="tk" # xmdump* are wish scripts
|
||||
short_desc="Data Modelization and Exchanges"
|
||||
|
@ -16,6 +16,16 @@ checksum=847db5d6fbc9ce6924cb4aea86362812c9a5ef6b9684377e4dd6879627651fce
|
|||
|
||||
nocross="hdf5 is nocross"
|
||||
|
||||
post_extract() {
|
||||
# The py-compile helper uses the imp module, removed in Python 3.12;
|
||||
# besides, we don't want the module pre-compiled anyway, so just drop it
|
||||
: > config/py-compile
|
||||
cat > config/py-compile <<-'EOF'
|
||||
#!/bin/sh
|
||||
: "$@"
|
||||
EOF
|
||||
}
|
||||
|
||||
libmed-devel_package() {
|
||||
short_desc+=" library - development files"
|
||||
depends="libmed>=${version}_${revision}"
|
||||
|
|
Loading…
Reference in New Issue