Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/mgorny:master commit in: sci-misc/freesteam/, sci-misc/freesteam/files/, sci-libs/freesteam/, ...
Date: Tue, 29 Nov 2011 21:41:16
Message-Id: d926a12834c216f835908a07187ef9905536b524.mgorny@gentoo
1 commit: d926a12834c216f835908a07187ef9905536b524
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 29 21:04:18 2011 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 29 21:04:18 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=commit;h=d926a128
7
8 sci-misc/freesteam -> sci-libs/freesteam, and back to SCons.
9
10 ---
11 profiles/updates/4Q-2011 | 1 +
12 .../freesteam/files/freesteam-flags.patch | 0
13 .../files/freesteam-soname-symlinks.patch | 0
14 .../freesteam/freesteam-9999.ebuild | 17 +++++++++++++----
15 {sci-misc => sci-libs}/freesteam/metadata.xml | 0
16 5 files changed, 14 insertions(+), 4 deletions(-)
17
18 diff --git a/profiles/updates/4Q-2011 b/profiles/updates/4Q-2011
19 index f18d8ca..c8c7f4c 100644
20 --- a/profiles/updates/4Q-2011
21 +++ b/profiles/updates/4Q-2011
22 @@ -1 +1,2 @@
23 move dunno-yet/atomic-install dev-util/atomic-install
24 +move sci-misc/freesteam sci-libs/freesteam
25
26 diff --git a/sci-misc/freesteam/files/freesteam-flags.patch b/sci-libs/freesteam/files/freesteam-flags.patch
27 similarity index 100%
28 rename from sci-misc/freesteam/files/freesteam-flags.patch
29 rename to sci-libs/freesteam/files/freesteam-flags.patch
30
31 diff --git a/sci-misc/freesteam/files/freesteam-soname-symlinks.patch b/sci-libs/freesteam/files/freesteam-soname-symlinks.patch
32 similarity index 100%
33 rename from sci-misc/freesteam/files/freesteam-soname-symlinks.patch
34 rename to sci-libs/freesteam/files/freesteam-soname-symlinks.patch
35
36 diff --git a/sci-misc/freesteam/freesteam-9999.ebuild b/sci-libs/freesteam/freesteam-9999.ebuild
37 similarity index 76%
38 rename from sci-misc/freesteam/freesteam-9999.ebuild
39 rename to sci-libs/freesteam/freesteam-9999.ebuild
40 index f675b4c..1510ebd 100644
41 --- a/sci-misc/freesteam/freesteam-9999.ebuild
42 +++ b/sci-libs/freesteam/freesteam-9999.ebuild
43 @@ -4,22 +4,30 @@
44
45 EAPI=4
46
47 -ESVN_REPO_URI=https://freesteam.svn.sourceforge.net/svnroot/freesteam/trunk
48 +inherit base multilib scons-utils toolchain-funcs
49
50 -inherit base scons-utils subversion toolchain-funcs
51 +#if LIVE
52 +ESVN_REPO_URI=https://freesteam.svn.sourceforge.net/svnroot/freesteam/trunk
53 +inherit subversion
54 +#endif
55
56 DESCRIPTION="Open source implementation of IF97 steam tables"
57 HOMEPAGE="http://freesteam.sourceforge.net/"
58 -SRC_URI=""
59 +SRC_URI="mirror://sourceforge/freesteam/${P}.tar.bz2"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 -KEYWORDS=""
64 +KEYWORDS="~amd64 ~x86"
65 IUSE=""
66
67 RDEPEND="sci-libs/gsl"
68 DEPEND="${RDEPEND}"
69
70 +#if LIVE
71 +KEYWORDS=
72 +SRC_URI=
73 +#endif
74 +
75 src_prepare() {
76 local PATCHES=(
77 "${FILESDIR}"/${PN}-flags.patch
78 @@ -32,6 +40,7 @@ src_prepare() {
79 src_configure() {
80 myesconsargs=(
81 INSTALL_PREFIX=/usr
82 + INSTALL_LIB=/usr/$(get_libdir)
83 INSTALL_ROOT="${D}"
84
85 CC="$(tc-getCC)"
86
87 diff --git a/sci-misc/freesteam/metadata.xml b/sci-libs/freesteam/metadata.xml
88 similarity index 100%
89 rename from sci-misc/freesteam/metadata.xml
90 rename to sci-libs/freesteam/metadata.xml