med: update to 4.0.0, switch to python3, -doc subpkg

This commit is contained in:
yopito 2019-03-10 16:51:29 +01:00 committed by maxice8
parent 33357dbf12
commit 66f4769e84
3 changed files with 17 additions and 9 deletions

View File

@ -3228,8 +3228,8 @@ libdazzle-1.0.so.0 libdazzle-3.28.0_1
libjsonrpc-glib-1.0.so.1 jsonrpc-glib-3.28.0_1 libjsonrpc-glib-1.0.so.1 jsonrpc-glib-3.28.0_1
libtemplate_glib-1.0.so.0 template-glib-3.28.0_1 libtemplate_glib-1.0.so.0 template-glib-3.28.0_1
libmedimport.so.0 libmed-3.3.1_1 libmedimport.so.0 libmed-3.3.1_1
libmedC.so.1 libmed-3.3.1_1 libmedC.so.11 libmed-4.0.0_1
libmed.so.1 libmed-3.3.1_1 libmed.so.11 libmed-4.0.0_1
libeog.so eog-3.28.0_4 libeog.so eog-3.28.0_4
libfreexl.so.1 freexl-1.0.5_1 libfreexl.so.1 freexl-1.0.5_1
libgeos-3.7.0.so geos-3.7.0_1 libgeos-3.7.0.so geos-3.7.0_1

1
srcpkgs/med-doc Symbolic link
View File

@ -0,0 +1 @@
med

View File

@ -1,20 +1,19 @@
# Template file for 'med' # Template file for 'med'
pkgname=med pkgname=med
version=3.3.1 version=4.0.0
revision=5 revision=1
wrksrc=med-${version}_SRC
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-swig=yes --with-hdf5-bin=/usr/lib/hdf5-18/bin configure_args="--with-swig=yes --includedir=/usr/include/med"
--includedir=/usr/include/med" pycompile_module=med
hostmakedepends="gcc-fortran swig" hostmakedepends="gcc-fortran swig"
makedepends="hdf5-18-devel python-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"
maintainer="Piraty <piraty1@inbox.ru>" maintainer="Piraty <piraty1@inbox.ru>"
license="GPL-3.0-only, LGPL-3.0-only" license="GPL-3.0-only, LGPL-3.0-only"
homepage="https://www.salome-platform.org" homepage="https://www.salome-platform.org"
distfiles="http://files.salome-platform.org/Salome/other/med-${version}.tar.gz" distfiles="http://files.salome-platform.org/Salome/other/med-${version}.tar.gz"
checksum=dd631ef813838bc7413ff0dd6461d7a0d725bcfababdf772ece67610a8d22588 checksum=a474e90b5882ce69c5e9f66f6359c53b8b73eb448c5f631fa96e8cd2c14df004
nocross="hdf5 is nocross" nocross="hdf5 is nocross"
@ -34,3 +33,11 @@ libmed_package() {
vmove usr/lib/libmed* vmove usr/lib/libmed*
} }
} }
med-doc_package() {
short_desc+=" - Documentation"
noarch=yes
pkg_install() {
vmove usr/share/doc/med
}
}