Gentoo Archives: gentoo-commits

From: "Santiago M. Mola (coldwind)" <coldwind@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/dmd-bin: dmd-bin-1.016.ebuild ChangeLog dmd-bin-2.008-r1.ebuild
Date: Mon, 29 Dec 2008 11:38:52
Message-Id: E1LHGSP-00040d-5k@stork.gentoo.org
1 coldwind 08/12/29 11:38:49
2
3 Modified: dmd-bin-1.016.ebuild ChangeLog
4 dmd-bin-2.008-r1.ebuild
5 Log:
6 Add app-arch/unzip unzip dependency and fix quoting (bug #208861), define IUSE.
7 (Portage version: 2.2_rc19/cvs/Linux 2.6.27-gentoo-r2 x86_64)
8
9 Revision Changes Path
10 1.4 dev-lang/dmd-bin/dmd-bin-1.016.ebuild
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/dmd-bin/dmd-bin-1.016.ebuild?rev=1.4&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/dmd-bin/dmd-bin-1.016.ebuild?rev=1.4&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/dmd-bin/dmd-bin-1.016.ebuild?r1=1.3&r2=1.4
15
16 Index: dmd-bin-1.016.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-lang/dmd-bin/dmd-bin-1.016.ebuild,v
19 retrieving revision 1.3
20 retrieving revision 1.4
21 diff -u -r1.3 -r1.4
22 --- dmd-bin-1.016.ebuild 13 Jul 2007 06:25:50 -0000 1.3
23 +++ dmd-bin-1.016.ebuild 29 Dec 2008 11:38:49 -0000 1.4
24 @@ -1,6 +1,6 @@
25 -# Copyright 1999-2007 Gentoo Foundation
26 +# Copyright 1999-2008 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/dmd-bin/dmd-bin-1.016.ebuild,v 1.3 2007/07/13 06:25:50 mr_bones_ Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/dmd-bin/dmd-bin-1.016.ebuild,v 1.4 2008/12/29 11:38:49 coldwind Exp $
30
31 inherit eutils
32
33 @@ -11,6 +11,7 @@
34 HOMEPAGE="http://www.digitalmars.com/d/"
35 SRC_URI="http://ftp.digitalmars.com/${MY_P}.zip"
36
37 +IUSE=""
38 LICENSE="DMD"
39 RESTRICT="mirror strip"
40 SLOT="0"
41 @@ -19,7 +20,8 @@
42 LOC="/opt/dmd"
43 S="${WORKDIR}"
44
45 -DEPEND="sys-apps/findutils"
46 +DEPEND="sys-apps/findutils
47 + app-arch/unzip"
48 RDEPEND="amd64? ( app-emulation/emul-linux-x86-compat )
49 x86? ( sys-libs/libstdc++-v3 )"
50
51 @@ -27,17 +29,17 @@
52 unpack ${A}
53
54 # Remove unneccessary files
55 - mv ${S}/dmd/lib/libphobos.a ${S}/dmd
56 - rm -r ${S}/dmd/lib
57 - mkdir ${S}/dmd/lib
58 - mv ${S}/dmd/libphobos.a ${S}/dmd/lib
59 -
60 - rm -r ${S}/dm
61 - rm ${S}/dmd/bin/*.dll ${S}/dmd/bin/*.exe ${S}/dmd/bin/readme.txt
62 - rm ${S}/dmd/bin/sc.ini ${S}/dmd/bin/windbg.hlp
63 + mv "${S}"/dmd/lib/libphobos.a "${S}"/dmd
64 + rm -r "${S}"/dmd/lib
65 + mkdir "${S}"/dmd/lib
66 + mv "${S}"/dmd/libphobos.a "${S}"/dmd/lib
67 +
68 + rm -r "${S}"/dm
69 + rm "${S}"/dmd/bin/*.dll "${S}"/dmd/bin/*.exe "${S}"/dmd/bin/readme.txt
70 + rm "${S}"/dmd/bin/sc.ini "${S}"/dmd/bin/windbg.hlp
71
72 # Cleanup line endings
73 - cd ${S}/dmd
74 + cd "${S}"/dmd
75 edos2unix `find . -name '*.c' -type f`
76 edos2unix `find . -name '*.d' -type f`
77 edos2unix `find . -name '*.ddoc' -type f`
78 @@ -53,11 +55,11 @@
79 }
80
81 src_compile() {
82 - cd ${S}/dmd/src/phobos
83 + cd "${S}"/dmd/src/phobos
84 sed -i -e "s:DMD=.*:DMD=${S}/dmd/bin/dmd -I${S}/dmd/src/phobos -L${S}/dmd/lib/libphobos.a:" linux.mak internal/gc/linux.mak
85 edos2unix linux.mak internal/gc/linux.mak
86 make -f linux.mak
87 - cp libphobos.a ${S}/dmd/lib
88 + cp libphobos.a "${S}"/dmd/lib
89
90 # Clean up
91 make -f linux.mak clean
92 @@ -65,7 +67,7 @@
93 }
94
95 src_install() {
96 - cd ${S}/dmd
97 + cd "${S}"/dmd
98
99 # Broken dmd.conf
100 # http://d.puremagic.com/issues/show_bug.cgi?id=278
101
102
103
104 1.16 dev-lang/dmd-bin/ChangeLog
105
106 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/dmd-bin/ChangeLog?rev=1.16&view=markup
107 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/dmd-bin/ChangeLog?rev=1.16&content-type=text/plain
108 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/dmd-bin/ChangeLog?r1=1.15&r2=1.16
109
110 Index: ChangeLog
111 ===================================================================
112 RCS file: /var/cvsroot/gentoo-x86/dev-lang/dmd-bin/ChangeLog,v
113 retrieving revision 1.15
114 retrieving revision 1.16
115 diff -u -r1.15 -r1.16
116 --- ChangeLog 22 Mar 2008 17:51:23 -0000 1.15
117 +++ ChangeLog 29 Dec 2008 11:38:49 -0000 1.16
118 @@ -1,6 +1,11 @@
119 # ChangeLog for dev-lang/dmd-bin
120 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
121 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/dmd-bin/ChangeLog,v 1.15 2008/03/22 17:51:23 coldwind Exp $
122 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/dmd-bin/ChangeLog,v 1.16 2008/12/29 11:38:49 coldwind Exp $
123 +
124 + 29 Dec 2008; Santiago M. Mola <coldwind@g.o> dmd-bin-1.016.ebuild,
125 + dmd-bin-2.008-r1.ebuild:
126 + Add app-arch/unzip unzip dependency and fix quoting (bug #208861), define
127 + IUSE.
128
129 22 Mar 2008; Santiago M. Mola <coldwind@g.o>
130 dmd-bin-2.008-r1.ebuild:
131
132
133
134 1.3 dev-lang/dmd-bin/dmd-bin-2.008-r1.ebuild
135
136 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/dmd-bin/dmd-bin-2.008-r1.ebuild?rev=1.3&view=markup
137 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/dmd-bin/dmd-bin-2.008-r1.ebuild?rev=1.3&content-type=text/plain
138 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/dmd-bin/dmd-bin-2.008-r1.ebuild?r1=1.2&r2=1.3
139
140 Index: dmd-bin-2.008-r1.ebuild
141 ===================================================================
142 RCS file: /var/cvsroot/gentoo-x86/dev-lang/dmd-bin/dmd-bin-2.008-r1.ebuild,v
143 retrieving revision 1.2
144 retrieving revision 1.3
145 diff -u -r1.2 -r1.3
146 --- dmd-bin-2.008-r1.ebuild 22 Mar 2008 17:51:23 -0000 1.2
147 +++ dmd-bin-2.008-r1.ebuild 29 Dec 2008 11:38:49 -0000 1.3
148 @@ -1,6 +1,6 @@
149 # Copyright 1999-2008 Gentoo Foundation
150 # Distributed under the terms of the GNU General Public License v2
151 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/dmd-bin/dmd-bin-2.008-r1.ebuild,v 1.2 2008/03/22 17:51:23 coldwind Exp $
152 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/dmd-bin/dmd-bin-2.008-r1.ebuild,v 1.3 2008/12/29 11:38:49 coldwind Exp $
153
154 inherit eutils
155
156 @@ -11,6 +11,7 @@
157 HOMEPAGE="http://www.digitalmars.com/d/"
158 SRC_URI="http://ftp.digitalmars.com/${MY_P}.zip"
159
160 +IUSE=""
161 LICENSE="DMD"
162 RESTRICT="mirror strip"
163 SLOT="0"
164 @@ -19,7 +20,8 @@
165 LOC="/opt/dmd"
166 S="${WORKDIR}"
167
168 -DEPEND="sys-apps/findutils"
169 +DEPEND="sys-apps/findutils
170 + app-arch/unzip"
171 RDEPEND="amd64? ( app-emulation/emul-linux-x86-compat )
172 x86? ( sys-libs/libstdc++-v3 )"