config 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # vim: filetype=yaml sw=2
  2. version: 2.6.1
  3. filename: '[% project %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %].tar.gz'
  4. var:
  5. container:
  6. use_container: 1
  7. targets:
  8. linux-x86_64:
  9. var:
  10. arch_deps:
  11. - python-dev
  12. - python-setuptools
  13. linux-i686:
  14. var:
  15. pre_pkginst: |
  16. dpkg --add-architecture i386
  17. # python2.7:i386 cannot be installed because the mime-support package
  18. # in wheezy is not marked "Multi-Arch: foreign":
  19. # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695357
  20. # We fix this by installing the jessie mime-support package.
  21. wget http://ftp.debian.org/debian/pool/main/m/mime-support/mime-support_3.58_all.deb
  22. echo 'c05ebe8f38da4ff19d028c9f4680414149e5c7a746de13bc9db0a562796ed213 mime-support_3.58_all.deb' | sha256sum -c
  23. dpkg -i mime-support_3.58_all.deb
  24. post_pkginst: |
  25. export DEBIAN_FRONTEND=noninteractive
  26. apt-get install -q -y libpython2.7:i386 python2.7:i386 python2.7-minimal:i386 python2.7-dev:i386
  27. apt-get install -q -y hardening-wrapper
  28. apt-get download -q -y python-setuptools python-pkg-resources
  29. dpkg -i --force-depends python-setuptools*.deb python-pkg-resources*.deb
  30. windows-i686:
  31. var:
  32. compiler: winpython
  33. arch_deps:
  34. - faketime
  35. - wine
  36. input_files:
  37. - project: container-image
  38. - name: '[% c("var/compiler") %]'
  39. project: '[% c("var/compiler") %]'
  40. - URL: 'https://pypi.python.org/packages/source/p/pycrypto/pycrypto-[% c("version") %].tar.gz'
  41. sha256sum: f2ce1e989b272cfcb677616763e0a2e7ec659effa67a88aa92b3a65528f60a3c