Revision 0e3f65d2

b/devel/build_chroot
126 126

  
127 127
  squeeze)
128 128

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

  
151
in_chroot -- \
152
  $APT_INSTALL python-setuptools python-dev build-essential
153

  
154
in_chroot -- \
155
  easy_install \
156
    logilab-astng==0.24.1 \
157
    logilab-common==0.58.3 \
158
    mock==1.0.1 \
159
    pylint==0.26.0
160

  
161
in_chroot -- \
162
  easy_install \
163
    sphinx==1.1.3 \
164
    pep8==1.3.3 \
165
    coverage==3.4 \
166
    bitarray==0.8.0
167

  
168
in_chroot -- \
169
  cabal update
170

  
171
in_chroot -- \
172
  cabal install --global \
173
    network==2.3 \
174
    regex-pcre==0.94.4 \
175
    hinotify==0.3.2 \
176
    hslogger==1.1.4 \
177
    quickcheck==2.5.1.1 \
178
    attoparsec==0.10.1.1 \
179
    crypto==4.2.4 \
180
    MonadCatchIO-transformers==0.2.2.0 \
181
    mtl==2.0.1.0 \
182
    hashable==1.1.2.0 \
183
    case-insensitive==0.3 \
184
    parsec==3.0.1 \
185
    snap-server==0.8.1 \
186
    json==0.4.4
187

  
188
in_chroot -- \
189
  cabal install --global \
190
    hunit==1.2.5.2 \
191
    happy==1.18.10 \
192
    hlint==1.8.43 \
193
    hscolour==1.20.3 \
194
    temporary==1.1.2.3 \
195
    test-framework==0.6.1 \
196
    test-framework-hunit==0.2.7 \
197
    test-framework-quickcheck2==0.2.12.3
198

  
199
in_chroot -- \
200
  cabal install --global cabal-file-th
201

  
202
in_chroot -- \
203
  cabal install --global shelltestrunner
204

  
205
#Install selected packages from backports
206
in_chroot -- \
207
  $APT_INSTALL -t squeeze-backports \
208
    git \
209
    git-email \
210
    vim
129
    # do not install libghc6-network-dev, since it's too old, and just
130
    # confuses the dependencies
131
    in_chroot -- \
132
      $APT_INSTALL \
133
        autoconf automake \
134
        ghc cabal-install \
135
        libghc6-curl-dev \
136
        libghc6-parallel-dev \
137
        libghc6-text-dev \
138
        libghc6-vector-dev \
139
        libpcre3-dev \
140
        hlint hscolour pandoc \
141
        graphviz qemu-utils \
142
        python-docutils \
143
        python-simplejson \
144
        python-pyparsing \
145
        python-pyinotify \
146
        python-pycurl \
147
        python-ipaddr \
148
        python-yaml \
149
        python-paramiko
150

  
151
    in_chroot -- \
152
      $APT_INSTALL python-setuptools python-dev build-essential
153

  
154
    in_chroot -- \
155
      easy_install \
156
        logilab-astng==0.24.1 \
157
        logilab-common==0.58.3 \
158
        mock==1.0.1 \
159
        pylint==0.26.0
160

  
161
    in_chroot -- \
162
      easy_install \
163
        sphinx==1.1.3 \
164
        pep8==1.3.3 \
165
        coverage==3.4 \
166
        bitarray==0.8.0
167

  
168
    in_chroot -- \
169
      cabal update
170

  
171
    in_chroot -- \
172
      cabal install --global \
173
        network==2.3 \
174
        regex-pcre==0.94.4 \
175
        hinotify==0.3.2 \
176
        hslogger==1.1.4 \
177
        quickcheck==2.5.1.1 \
178
        attoparsec==0.10.1.1 \
179
        crypto==4.2.4 \
180
        MonadCatchIO-transformers==0.2.2.0 \
181
        mtl==2.0.1.0 \
182
        hashable==1.1.2.0 \
183
        case-insensitive==0.3 \
184
        parsec==3.0.1 \
185
        snap-server==0.8.1 \
186
        json==0.4.4
187

  
188
    in_chroot -- \
189
      cabal install --global \
190
        hunit==1.2.5.2 \
191
        happy==1.18.10 \
192
        hlint==1.8.43 \
193
        hscolour==1.20.3 \
194
        temporary==1.1.2.3 \
195
        test-framework==0.6.1 \
196
        test-framework-hunit==0.2.7 \
197
        test-framework-quickcheck2==0.2.12.3
198

  
199
    in_chroot -- \
200
      cabal install --global cabal-file-th
201

  
202
    in_chroot -- \
203
      cabal install --global shelltestrunner
204

  
205
    #Install selected packages from backports
206
    in_chroot -- \
207
      $APT_INSTALL -t squeeze-backports \
208
        git \
209
        git-email \
210
        vim
211 211

  
212 212
;;
213 213

  
214 214
  wheezy)
215 215

  
216
in_chroot -- \
217
  $APT_INSTALL \
218
  autoconf automake ghc ghc-haddock libghc-network-dev \
219
  libghc-test-framework{,-hunit,-quickcheck2}-dev \
220
  libghc-json-dev libghc-curl-dev libghc-hinotify-dev \
221
  libghc-parallel-dev libghc-utf8-string-dev \
222
  libghc-hslogger-dev libghc-crypto-dev \
223
  libghc-regex-pcre-dev libghc-attoparsec-dev \
224
  libghc-vector-dev libghc-temporary-dev \
225
  libghc-snap-server-dev libpcre3 libpcre3-dev hscolour hlint pandoc \
226
  python-setuptools python-sphinx python-epydoc graphviz python-pyparsing \
227
  python-simplejson python-pycurl python-paramiko \
228
  python-bitarray python-ipaddr python-yaml qemu-utils python-coverage pep8 \
229
  shelltestrunner python-dev pylint openssh-client vim git git-email
230

  
231
  easy_install pyinotify==0.9.4
216
    in_chroot -- \
217
      $APT_INSTALL \
218
      autoconf automake ghc ghc-haddock libghc-network-dev \
219
      libghc-test-framework{,-hunit,-quickcheck2}-dev \
220
      libghc-json-dev libghc-curl-dev libghc-hinotify-dev \
221
      libghc-parallel-dev libghc-utf8-string-dev \
222
      libghc-hslogger-dev libghc-crypto-dev \
223
      libghc-regex-pcre-dev libghc-attoparsec-dev \
224
      libghc-vector-dev libghc-temporary-dev \
225
      libghc-snap-server-dev libpcre3 libpcre3-dev hscolour hlint pandoc \
226
      python-setuptools python-sphinx python-epydoc graphviz python-pyparsing \
227
      python-simplejson python-pycurl python-paramiko \
228
      python-bitarray python-ipaddr python-yaml qemu-utils python-coverage pep8 \
229
      shelltestrunner python-dev pylint openssh-client vim git git-email
230

  
231
      easy_install pyinotify==0.9.4
232 232

  
233 233
;;
234 234

  
235 235
  *)
236 236

  
237
in_chroot -- \
238
  $APT_INSTALL \
239
  autoconf automake ghc ghc-haddock libghc-network-dev \
240
  libghc-test-framework{,-hunit,-quickcheck2}-dev \
241
  libghc-json-dev libghc-curl-dev libghc-hinotify-dev \
242
  libghc-parallel-dev libghc-utf8-string-dev \
243
  libghc-hslogger-dev libghc-crypto-dev \
244
  libghc-regex-pcre-dev libghc-attoparsec-dev \
245
  libghc-vector-dev libghc-temporary-dev \
246
  libghc-snap-server-dev libpcre3 libpcre3-dev hscolour hlint pandoc \
247
  python-setuptools python-sphinx python-epydoc graphviz python-pyparsing \
248
  python-simplejson python-pyinotify python-pycurl python-paramiko \
249
  python-bitarray python-ipaddr python-yaml qemu-utils python-coverage pep8 \
250
  shelltestrunner python-dev pylint openssh-client vim git git-email
237
    in_chroot -- \
238
      $APT_INSTALL \
239
      autoconf automake ghc ghc-haddock libghc-network-dev \
240
      libghc-test-framework{,-hunit,-quickcheck2}-dev \
241
      libghc-json-dev libghc-curl-dev libghc-hinotify-dev \
242
      libghc-parallel-dev libghc-utf8-string-dev \
243
      libghc-hslogger-dev libghc-crypto-dev \
244
      libghc-regex-pcre-dev libghc-attoparsec-dev \
245
      libghc-vector-dev libghc-temporary-dev \
246
      libghc-snap-server-dev libpcre3 libpcre3-dev hscolour hlint pandoc \
247
      python-setuptools python-sphinx python-epydoc graphviz python-pyparsing \
248
      python-simplejson python-pyinotify python-pycurl python-paramiko \
249
      python-bitarray python-ipaddr python-yaml qemu-utils python-coverage pep8 \
250
      shelltestrunner python-dev pylint openssh-client vim git git-email
251 251

  
252 252
;;
253 253
esac

Also available in: Unified diff