mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
med: rebuild for Python 3.12
This commit is contained in:
parent
fdf562e734
commit
0f2fbe0892
1 changed files with 12 additions and 2 deletions
|
@ -1,10 +1,10 @@
|
||||||
# Template file for 'med'
|
# Template file for 'med'
|
||||||
pkgname=med
|
pkgname=med
|
||||||
version=4.1.0
|
version=4.1.0
|
||||||
revision=3
|
revision=4
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-swig=yes --includedir=/usr/include/med"
|
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"
|
makedepends="hdf5-devel python3-devel tk-devel"
|
||||||
depends="tk" # xmdump* are wish scripts
|
depends="tk" # xmdump* are wish scripts
|
||||||
short_desc="Data Modelization and Exchanges"
|
short_desc="Data Modelization and Exchanges"
|
||||||
|
@ -16,6 +16,16 @@ checksum=847db5d6fbc9ce6924cb4aea86362812c9a5ef6b9684377e4dd6879627651fce
|
||||||
|
|
||||||
nocross="hdf5 is nocross"
|
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() {
|
libmed-devel_package() {
|
||||||
short_desc+=" library - development files"
|
short_desc+=" library - development files"
|
||||||
depends="libmed>=${version}_${revision}"
|
depends="libmed>=${version}_${revision}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue