1 |
commit: 108ba4b222263fd8620c25d8edf52fd3972b90db |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 27 20:27:34 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 27 21:11:54 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=108ba4b2 |
7 |
|
8 |
sci-libs/xdmf2: Drop 1.0_p141226-r2 |
9 |
|
10 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild | 79 ------------------------------ |
14 |
1 file changed, 79 deletions(-) |
15 |
|
16 |
diff --git a/sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild b/sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild |
17 |
deleted file mode 100644 |
18 |
index 08550ddf6c1..00000000000 |
19 |
--- a/sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,79 +0,0 @@ |
22 |
-# Copyright 1999-2018 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=6 |
26 |
- |
27 |
-PYTHON_COMPAT=( python2_7 ) |
28 |
- |
29 |
-inherit cmake-utils flag-o-matic python-single-r1 |
30 |
- |
31 |
-DESCRIPTION="eXtensible Data Model and Format" |
32 |
-HOMEPAGE="http://xdmf.org/index.php/Main_Page" |
33 |
-SRC_URI="https://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz" |
34 |
- |
35 |
-SLOT="0" |
36 |
-LICENSE="VTK" |
37 |
-KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" |
38 |
-IUSE="doc python test" |
39 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
40 |
- |
41 |
-RDEPEND=" |
42 |
- dev-libs/boost:= |
43 |
- sci-libs/hdf5:= |
44 |
- dev-libs/libxml2:2 |
45 |
- python? ( ${PYTHON_DEPS} ) |
46 |
- " |
47 |
- |
48 |
-# TODO: fix builds for cmake 3.12+. See bug #661860 |
49 |
-DEPEND="${RDEPEND} |
50 |
- <=dev-util/cmake-3.12 |
51 |
- doc? ( app-doc/doxygen ) |
52 |
- python? ( dev-lang/swig:0 ) |
53 |
-" |
54 |
- |
55 |
-PATCHES=( |
56 |
- "${FILESDIR}"/${P}-module.patch |
57 |
- "${FILESDIR}"/${P}-cannot-find-hdf5-bug-591302.patch |
58 |
-) |
59 |
- |
60 |
-pkg_setup() { |
61 |
- use python && python-single-r1_pkg_setup && python_export |
62 |
-} |
63 |
- |
64 |
-src_prepare() { |
65 |
- if use python; then |
66 |
- local _site=$(python_get_sitedir) |
67 |
- sed \ |
68 |
- -e "/DESTINATION/s:python:${_site##${EPREFIX}/usr/$(get_libdir)/}:g" \ |
69 |
- -i CMakeLists.txt || die |
70 |
- fi |
71 |
- |
72 |
- sed \ |
73 |
- -e "/DESTINATION/s:lib:$(get_libdir):g" \ |
74 |
- -e "/INSTALL/s:lib:$(get_libdir):g" \ |
75 |
- -i CMakeLists.txt core/CMakeLists.txt || die |
76 |
- cmake-utils_src_prepare |
77 |
-} |
78 |
- |
79 |
-src_configure() { |
80 |
- # bug 619604 |
81 |
- append-cxxflags -std=c++14 |
82 |
- |
83 |
- local mycmakeargs=( |
84 |
- -DBUILD_SHARED_LIBS=1 |
85 |
- -DXDMF_BUILD_DOCUMENTATION=$(usex doc) |
86 |
- -DBUILD_TESTING=$(usex test) |
87 |
- -DXDMF_WRAP_PYTHON=$(usex python) |
88 |
-# -DXDMF_WRAP_JAVA=$(usex java) |
89 |
- ) |
90 |
- cmake-utils_src_configure |
91 |
-} |
92 |
- |
93 |
-src_install() { |
94 |
- cmake-utils_src_install |
95 |
- dosym XdmfConfig.cmake /usr/share/cmake/Modules/${PN}Config.cmake |
96 |
- |
97 |
- # need to byte-compile 'XdmfCore.py' and 'Xdmf.py' |
98 |
- # as the CMake build system does not compile them itself |
99 |
- use python && python_optimize "${D%/}$(python_get_sitedir)" |
100 |
-} |