software.cfg 8.23 KB
Newer Older
1 2 3 4 5 6
[buildout]
extends =
  ../../../stack/slapos.cfg
  ../../../component/git/buildout.cfg
  ../../../component/pillow/buildout.cfg
  ../../../component/postgresql/buildout.cfg
7
  ../../../component/gmp/buildout.cfg
8 9
  ../../../component/imagemagick/buildout.cfg
  ../../../component/poppler/buildout.cfg
10
  ../../../component/cups/buildout.cfg
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
  ../../../component/libreoffice-bin/buildout.cfg
  ../../../component/redis/buildout.cfg
  ../../../component/unoconv/buildout.cfg
  ../../../component/nginx/buildout.cfg
  ../../../component/gtk-2/buildout.cfg
  ../../../component/glib/buildout.cfg


parts =
    slapos-cookbook

    weasyprint-repository
    flask-alembic-repository
    flask-security-repository
    progressbar-repository
    abilian-core-repository
    slapos-cookbook-repository

    weasyprint-repository-check
    flask-alembic-repository-check
    flask-security-repository-check
    progressbar-repository-check
    abilian-core-repository-check
    slapos-cookbook-repository-check

    postgresql91
    freetype
    cairo
    glib
    pillow-python
    psycopg2
42
    gmp
43 44 45
    eggs
    imagemagick
    poppler
46
    cups
47 48 49
    libreoffice-bin
    redis
    unoconv-repository
50

51 52
    extranet-repository
    extranet-repository-check
53 54
    Extranet_SPR

55 56 57
    nginx
    instance
    instance-postgres
58
    instance-redis
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
    config-staging-py-template
    abilian-config


find-links +=
    ${:_profile_base_location_}/local-eggs


develop =
    ${:parts-directory}/weasyprint-repository
    ${:parts-directory}/flask-alembic-repository
    ${:parts-directory}/flask-security-repository
    ${:parts-directory}/progressbar-repository
    ${:parts-directory}/abilian-core-repository
    ${:parts-directory}/slapos-cookbook-repository
74
    ${extranet-repository:target-directory}/${extranet-repository:part-name}
75 76 77 78 79 80 81 82 83 84 85 86


[git-repository]
recipe = slapos.recipe.build:gitclone
git-executable = ${git:location}/bin/git

[git-repository-check]
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
command = grep parts ${buildout:develop-eggs-directory}/${:egg-link}

87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103


[extranet-repository]
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
source-directory = /opt/slapgrid/src/systematic/${:part-name}
part-name = extranet_spr
target-directory = ${buildout:parts-directory}/
command =
    rsync -a ${:source-directory} ${:target-directory} --delete-after --delete-excluded --chmod=o-rwx

[extranet-repository-check]
< = git-repository-check
egg-link = Extranet-SPR.egg-link


104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224
[weasyprint-repository]
< = git-repository
repository = https://github.com/mmariani/WeasyPrint.git
branch = dlopen-v0.21

[weasyprint-repository-check]
< = git-repository-check
egg-link = WeasyPrint.egg-link

[flask-alembic-repository]
< = git-repository
repository = https://github.com/tobiasandtobias/flask-alembic.git
branch = master

[flask-alembic-repository-check]
< = git-repository-check
egg-link = Flask-Alembic.egg-link

[flask-security-repository]
< = git-repository
repository = https://github.com/abilian/flask-security.git
branch = master

[flask-security-repository-check]
< = git-repository-check
egg-link = Flask-Security.egg-link

[progressbar-repository]
< = git-repository
repository = https://github.com/mmariani/python-progressbar
branch = master

[progressbar-repository-check]
< = git-repository-check
egg-link = progressbar.egg-link

[abilian-core-repository]
< = git-repository
repository = https://github.com/abilian/abilian-core.git
branch = 0.1-maintenance

[abilian-core-repository-check]
< = git-repository-check
egg-link = Abilian-Core.egg-link

[slapos-cookbook-repository]
< = git-repository
repository = http://git.erp5.org/repos/slapos.git
branch = systematic

[slapos-cookbook-repository-check]
< = git-repository-check
egg-link = slapos.cookbook.egg-link


[eggs]
recipe = zc.recipe.egg
eggs =
  ${lxml-python:egg}
  ${psycopg2:egg}
  ${pillow-python:egg}
  slapos.cookbook
  collective.recipe.template


[Extranet_SPR]
# explicitly include the egg in order to
# generate the console entry points
recipe = zc.recipe.egg:scripts
eggs = Extranet_SPR


[redis]
# make test fails under debian/ovh (Opening port 21354: bind: Address already in use)
make-targets = 
  install



#----------------
#-- Postgres driver for Python recipes.

[psycopg2-env]
PATH = ${postgresql91:location}/bin:%(PATH)s


[psycopg2]
recipe = zc.recipe.egg:custom
egg = psycopg2
define = PSYCOPG_EXTENSIONS,PSYCOPG_DISPLAY_SIZE,PSYCOPG_NEW_BOOLEAN,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3
environment = psycopg2-env
include-dirs =
    ${postgresql91:location}/include
library-dirs =
    ${postgresql91:location}/lib
rpath = 
    ${postgresql91:location}/lib


[perl]
# We need to build Perl with -fPIC,
# in order to compile the Perl driver for Postgres.
configure-command =
  sh Configure -des \
    -Dprefix=${buildout:parts-directory}/${:_buildout_section_name_} \
    -Dsiteprefix=${:siteprefix} \
    -Accflags='-fPIC' \
    -Dcflags=-I${gdbm:location}/include \
    -Dldflags="-L${gdbm:location}/lib -Wl,-rpath=${gdbm:location}/lib" \
    -Ui_db \
    -Dnoextensions=ODBM_File \
    -Dusethreads


#----------------
#-- Instance-level buildout profiles.

[instance]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg.in
output = ${buildout:directory}/instance.cfg
225
md5sum = 22523112a53b60cb09f131049d0fce90
226 227 228 229 230 231
mode = 0644

[instance-postgres]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-postgres.cfg.in
output = ${buildout:directory}/instance-postgres.cfg
232
md5sum = 8b5557df0aeaa4ace93481688f2d5085
233 234
mode = 0644

235 236 237 238
[instance-redis]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-redis.cfg.in
output = ${buildout:directory}/instance-redis.cfg
239
md5sum = cb8dfefa0776de51449ada06c16c38b9
240 241
mode = 0644

242 243 244 245
[instance-extranet]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-extranet.cfg.in
output = ${buildout:directory}/instance-extranet.cfg
Marco Mariani's avatar
Marco Mariani committed
246
md5sum = 3e27239c513c9a7b959f9d118f6ad181
247 248 249 250 251 252
mode = 0644

[instance-environment]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-environment.cfg.in
output = ${buildout:directory}/instance-environment.cfg
253
md5sum = a74401a887080c9f3aea324a384c4e67
254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366
mode = 0644



[abilian-config]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/abilian-config.py
md5sum = e30bc5063632a1882ad8686147d2b0df
location = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = abilian-config.py
download-only = true
mode = 0755


[config-staging-py-template]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/${:filename}
md5sum = e19779158ddec562003f96bda1c39be1
location = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = staging.py.in
download-only = true
mode = 0644






[versions]
### Abilian
Flask = 0.9
Flask-Assets = 0.8
Flask-Babel = 0.8
Babel = 0.9.6
Flask-DebugToolbar = 0.8.0
Flask-Mail = 0.8.2
Flask-SQLAlchemy = 0.16
Flask-Script = 0.5.3

Flask-Testing = 0.4
Flask-Uploads = 0.1.3
Flask-WTF = 0.8.3
Flask-Markdown = 0.3

phonenumbers = 5.4b1
whoosh = 2.4.1
markdown = 2.3.1
feedparser = 5.1.3
requests = 1.2.0
iso8601 = 0.1.4
passlib = 1.6.1
py-bcrypt = 0.3
python-magic = 0.4.6
twill = 0.9.1
validate_email = 1.2
pydns = 2.3.6
docflow = 0.3.1

# Language detection. Langig seems better that guess-language.
langid = 1.1.4dev
#guess-language-spirit==0.5a4
#pyenchant==1.6.5

wtforms = 1.0.4
wtforms-alchemy = 0.7.15
WTForms-Components = 0.7.0

#psycopg2 = 2.4.6
SQLAlchemy = 0.8.6
# actually >=0.8,<0.9  but only buildout 2 can do that
redis = 2.7.2
alembic = 0.6.0

# SQLAlchemy-Utils: 0.8.4 introduced a broken import:
# "from sqlalchemy.orm.util import AliasedInsp "
# https://github.com/kvesteri/sqlalchemy-utils/commit/f786ca040cb8a12b270d8e6ae45f102713a54572
SQLAlchemy-Utils = 0.16.9

# flower: celery web ui
flower = 0.4.3
 
# More version freezing
html5lib = 0.999
bleach = 1.4
 
# webassets wants this version of dateutil
python-dateutil = 1.5
 
#: DEVELOPMENT
cov-core = 1.7
coverage = 3.6
coveralls = 0.2
fabric = 1.6.0
fabtools = 0.13.0
pytest-cov = 1.6
pytest = 2.4.2
Flask-LinkTester = 0.2.5

#: PRODUCTION
#newrelic==1.10.2.38
raven = 3.3.3
blinker = 1.2
xlrd = 0.9.2
gunicorn = 0.17.2

# pip > 1.4: does not install 'pre' release. Need to mark them
pytz = 2013b
closure = 20121212
progressbar = 2.3

celery = 3.0.21

Flask-Security = 1.6.5abilian0