Revision e2bbdded devel/build_chroot

b/devel/build_chroot
8 8
: ${CHROOT_FINAL_HOOK:=/bin/true}
9 9
# Additional Variables taken from the environmen
10 10
# DATA_DIR
11
# CHROOT_EXTRA_DEBIAN_PACKAGES    
11
# CHROOT_EXTRA_DEBIAN_PACKAGES
12 12

  
13 13
#Automatically generated variables
14 14
CHROOTNAME=$DIST_RELEASE-$ARCH
......
119 119
in_chroot -- \
120 120
  apt-get update
121 121

  
122
#Install selected packages from backports
123
in_chroot -- \
124
  $APT_INSTALL -t squeeze-backports \
125
    git \
126
    git-email \
127
    vim
128

  
129
in_chroot -- \
130
  $APT_INSTALL python-setuptools build-essential python-dev sudo automake \
131
               fakeroot rsync locales less
132

  
133
echo "en_US.UTF-8 UTF-8" >> $CHDIR/etc/locale.gen
134 122

  
123
# do not install libghc6-network-dev, since it's too old, and just
124
# confuses the dependencies
135 125
in_chroot -- \
136
  locale-gen
126
  $APT_INSTALL \
127
    autoconf automake \
128
    ghc cabal-install \
129
    libghc6-curl-dev \
130
    libghc6-parallel-dev \
131
    libghc6-text-dev \
132
    libghc6-vector-dev \
133
    libpcre3-dev \
134
    hlint hscolour pandoc \
135
    graphviz socat qemu-utils \
136
    python-docutils \
137
    python-simplejson \
138
    python-pyparsing \
139
    python-pyinotify \
140
    python-pycurl \
141
    python-ipaddr \
142
    python-yaml \
143
    python-paramiko
137 144

  
138 145
in_chroot -- \
139
  $APT_INSTALL lvm2 ssh bridge-utils iproute iputils-arping \
140
               ndisc6 python python-pyopenssl openssl \
141
               python-pyparsing python-simplejson \
142
               python-pyinotify python-pycurl python-yaml python-mock \
143
               socat fping
146
  $APT_INSTALL python-setuptools python-dev build-essential
144 147

  
145 148
in_chroot -- \
146
  $APT_INSTALL python-paramiko qemu-utils
149
  easy_install \
150
    logilab-astng==0.20.1 \
151
    logilab-common==0.50.3 \
152
    mock==1.0.1 \
153
    pylint==0.25.1
147 154

  
148 155
in_chroot -- \
149
  easy_install affinity bitarray ipaddr
150

  
151
#Haskell packages
152
in_chroot -- \
153
  $APT_INSTALL ghc6 \
154
               libghc6-parallel-dev libghc6-deepseq-dev \
155
               libghc6-curl-dev
156

  
157
in_chroot -- \
158
  $APT_INSTALL cabal-install
156
  easy_install \
157
    sphinx==1.1.3 \
158
    pep8==1.2 \
159
    coverage==3.4 \
160
    bitarray==0.8.0
159 161

  
160 162
in_chroot -- \
161 163
  cabal update
162 164

  
163 165
in_chroot -- \
164
  $APT_INSTALL libpcre3-dev
165

  
166
in_chroot -- \
167 166
  cabal install --global \
168 167
    network==2.3 \
169 168
    regex-pcre==0.94.2 \
170 169
    hinotify==0.3.2 \
171 170
    hslogger==1.1.4 \
172
    attoparsec==0.10.1.1\
173 171
    quickcheck==2.5.1.1 \
172
    attoparsec==0.10.1.1 \
174 173
    crypto==4.2.4 \
175
    monadcatchio-transformers==0.2.2.0 \
174
    MonadCatchIO-transformers==0.2.2.0 \
176 175
    mtl==2.0.1.0 \
177 176
    hashable==1.1.2.0 \
178 177
    case-insensitive==0.3 \
179 178
    parsec==3.0.1 \
180 179
    network==2.3 \
181 180
    snap-server==0.8.1 \
182
    text==0.11.3.0 \
183
    vector==0.9.1 \
184
    json==0.4.4 \
185
    process==1.0.1.2
181
    json==0.4.4
186 182

  
187
#Python development tools
188
in_chroot -- \
189
  $APT_INSTALL pandoc python-epydoc graphviz
190

  
191
in_chroot -- \
192
  easy_install sphinx==1.1.3 \
193
               logilab-common \
194
               logilab-astng==0.23.1 \
195
               pylint==0.25.1 \
196
               pep8==1.2 \
197
               coverage
198

  
199
#Haskell development tools
200 183
in_chroot -- \
201 184
  cabal install --global \
202 185
    hunit==1.2.5.2 \
......
209 192
    test-framework-quickcheck2==0.2.12.3
210 193

  
211 194
in_chroot -- \
195
  cabal install --global cabal-file-th
196

  
197
in_chroot -- \
212 198
  cabal install --global shelltestrunner
213 199

  
200
#Install selected packages from backports
201
in_chroot -- \
202
  $APT_INSTALL -t squeeze-backports \
203
    git \
204
    git-email \
205
    vim
206

  
207
in_chroot -- \
208
  $APT_INSTALL sudo fakeroot rsync locales less
209

  
210
echo "en_US.UTF-8 UTF-8" >> $CHDIR/etc/locale.gen
211

  
212
in_chroot -- \
213
  locale-gen
214

  
215
in_chroot -- \
216
  $APT_INSTALL lvm2 ssh bridge-utils iproute iputils-arping \
217
               ndisc6 python python-pyopenssl openssl \
218
               python-mock \
219
               socat fping
220

  
221
in_chroot -- \
222
  $APT_INSTALL qemu-utils
223

  
224
in_chroot -- \
225
  easy_install affinity
226

  
227
#Python development tools
228
in_chroot -- \
229
  $APT_INSTALL pandoc python-epydoc
230

  
214 231
#Tools for creating debian packages
215 232
in_chroot -- \
216
  $APT_INSTALL python-docutils debhelper quilt
233
  $APT_INSTALL debhelper quilt
217 234

  
218 235
# extra debian packages
219 236

  

Also available in: Unified diff