1 |
commit: 20381aa6cced7d0025c1be96fc46532a1a820ce0 |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 3 22:25:24 2019 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 3 22:34:47 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20381aa6 |
7 |
|
8 |
sci-libs/libmed: remove all but latest version |
9 |
|
10 |
Package-Manager: Portage-2.3.75, Repoman-2.3.17 |
11 |
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org> |
12 |
|
13 |
sci-libs/libmed/Manifest | 2 - |
14 |
sci-libs/libmed/libmed-3.3.1-r1.ebuild | 100 --------------------------------- |
15 |
2 files changed, 102 deletions(-) |
16 |
|
17 |
diff --git a/sci-libs/libmed/Manifest b/sci-libs/libmed/Manifest |
18 |
index 796dff29611..cec3ed3d3f8 100644 |
19 |
--- a/sci-libs/libmed/Manifest |
20 |
+++ b/sci-libs/libmed/Manifest |
21 |
@@ -1,3 +1 @@ |
22 |
-DIST libmed-3.3.1-r1-gentoo.tar.bz2 36127 BLAKE2B c112215932ac5c84cc75911c20712fcf428a8fc6e8adfd497066315fbc99a70816e0276196ff6366f34eeb3bf6d40586a735dd35cc13579640d7128f563fbf2b SHA512 e55dc96b8282dfba0dc9746dba7ef2ea8616d5617deabd3164d0134ca680e27c2a121432ae22f38fc53a52ffb0ac66a9a17c131488a9d01a757601afbcdc0bff |
23 |
-DIST med-3.3.1.tar.gz 43379218 BLAKE2B 101033a766b3b8f184de8b18437a020129da3a11fd947742c30d8b9d274542e7445f1ee1d5827194a1ebc02c701ea6911105102f7b61c24d9d07bb15dbfe45f7 SHA512 f1eba3bc69520b862bdab89ce76694f91ed0e6be42c037df8ec655b6314e8ae776083d5ead61fb34097eb8440302969229d1859b6d8fcce51e7551b75d8ebf5f |
24 |
DIST med-4.0.0.tar.gz 47849098 BLAKE2B 0bc6710f7b5156e09962e3125349573989429e614a203f649843f00dea06217040ebee70e481eed9c0dd304cb7d167efcd216c3600f6954a74f262cc845fff63 SHA512 2840437010481fc5f12a56e3282f8ca5e94df541899e2b511756702f86d0f87dbf2f6e086d8e591e2bd370d8f4bab8089e7f7f939fea16354a23e2b5a4d96cd7 |
25 |
|
26 |
diff --git a/sci-libs/libmed/libmed-3.3.1-r1.ebuild b/sci-libs/libmed/libmed-3.3.1-r1.ebuild |
27 |
deleted file mode 100644 |
28 |
index 0a63fccfcc8..00000000000 |
29 |
--- a/sci-libs/libmed/libmed-3.3.1-r1.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,100 +0,0 @@ |
32 |
-# Copyright 1999-2019 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
- |
37 |
-# EAPI=7 uses ninja generator by default but it's incompatible with USE=fortran |
38 |
-# https://github.com/Kitware/ninja/tree/features-for-fortran#readme |
39 |
-CMAKE_MAKEFILE_GENERATOR=emake |
40 |
- |
41 |
-FORTRAN_NEEDED=fortran |
42 |
-# NOTE:The build for multiple python versions should be possible but complecated for the build system |
43 |
-PYTHON_COMPAT=( python2_7 python3_{5,6} ) |
44 |
- |
45 |
-inherit cmake-utils fortran-2 python-single-r1 |
46 |
- |
47 |
-MY_P="med-${PV}" |
48 |
- |
49 |
-DESCRIPTION="A library to store and exchange meshed data or computation results" |
50 |
-HOMEPAGE="https://www.salome-platform.org/" |
51 |
-SRC_URI="http://files.salome-platform.org/Salome/other/${MY_P}.tar.gz |
52 |
- https://dev.gentoo.org/~fordfrog/distfiles/${P}-r1-gentoo.tar.bz2" |
53 |
- |
54 |
-LICENSE="GPL-3 LGPL-3" |
55 |
-SLOT="0" |
56 |
-KEYWORDS="~amd64 ~x86" |
57 |
-IUSE="doc fortran mpi python static-libs test" |
58 |
- |
59 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
60 |
-RDEPEND=" |
61 |
- sci-libs/hdf5[fortran=,mpi=] |
62 |
- mpi? ( virtual/mpi[fortran=] ) |
63 |
- python? ( ${PYTHON_DEPS} ) |
64 |
-" |
65 |
-DEPEND="${RDEPEND} |
66 |
- python? ( >=dev-lang/swig-2.0.9:0 ) |
67 |
-" |
68 |
- |
69 |
-S="${WORKDIR}"/${MY_P}_SRC |
70 |
- |
71 |
-PATCHES=( |
72 |
- "${WORKDIR}/${P}-cmake-fortran.patch" |
73 |
- "${WORKDIR}/${P}-disable-python-compile.patch" # managed by function of python eclass |
74 |
- "${WORKDIR}/${P}-mpi.patch" |
75 |
- "${WORKDIR}/${P}-hdf5-1.10-support.patch" # taken from Debian |
76 |
- "${WORKDIR}/${P}-cmakelist.patch" |
77 |
- "${WORKDIR}/${P}-tests.patch" # disable a few tests not running |
78 |
- "${WORKDIR}/${P}-tests-python3.patch" |
79 |
- "${WORKDIR}/${P}-installdoc.patch" |
80 |
- "${WORKDIR}/${P}-python-imports.patch" |
81 |
-) |
82 |
- |
83 |
-DOCS=( AUTHORS COPYING COPYING.LESSER ChangeLog NEWS README TODO ) |
84 |
- |
85 |
-pkg_setup() { |
86 |
- use python && python-single-r1_pkg_setup |
87 |
- use fortran && fortran-2_pkg_setup |
88 |
-} |
89 |
- |
90 |
-src_prepare() { |
91 |
- # fixes for correct libdir name |
92 |
- sed -i -e "s@SET(_install_dir lib/python@SET(_install_dir $(get_libdir)/python@" \ |
93 |
- ./python/CMakeLists.txt || die "sed failed" |
94 |
- for cm in ./src/CMakeLists.txt ./tools/medimport/CMakeLists.txt |
95 |
- do |
96 |
- sed -i -e "s@INSTALL(TARGETS \(.*\) DESTINATION lib)@INSTALL(TARGETS \1 DESTINATION $(get_libdir))@" \ |
97 |
- "${cm}" || die "sed on ${cm} failed" |
98 |
- done |
99 |
- |
100 |
- cmake-utils_src_prepare |
101 |
-} |
102 |
- |
103 |
-src_configure() { |
104 |
- local mycmakeargs=( |
105 |
- -DMEDFILE_BUILD_FORTRAN=$(usex fortran) |
106 |
- -DMEDFILE_BUILD_STATIC_LIBS=$(usex static-libs) |
107 |
- -DMEDFILE_BUILD_PYTHON=$(usex python) |
108 |
- -DMEDFILE_BUILD_TESTS=$(usex test) |
109 |
- -DMEDFILE_INSTALL_DOC=$(usex doc) |
110 |
- -DMEDFILE_USE_MPI=$(usex mpi) |
111 |
- -DMEDFILE_DOC_DIRECTORY="${EPREFIX}"/usr/share/doc/${PF}/html # custom var created by patches |
112 |
- ) |
113 |
- cmake-utils_src_configure |
114 |
-} |
115 |
- |
116 |
-src_install() { |
117 |
- cmake-utils_src_install |
118 |
- |
119 |
- # the optimization done in CMakeLists.txt has been disabled so |
120 |
- # we need to do it manually |
121 |
- use python && python_optimize |
122 |
- |
123 |
- # Prevent test executables being installed |
124 |
- use test && rm -rf "${D}"/usr/bin/{testc,testf,testpy} |
125 |
-} |
126 |
- |
127 |
-src_test() { |
128 |
- # override parallel mode only for tests |
129 |
- local myctestargs=( "-j 1" ) |
130 |
- cmake-utils_src_test |
131 |
-} |