Changeset 11140


Ignore:
Timestamp:
20 Feb 2014, 18:54:46 (11 years ago)
Author:
Henrik Bettermann
Message:

Diazofy package

Location:
main/waeup.uniben/branches/henrik-diazo-themed
Files:
13 added
6 deleted
8 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/branches/henrik-diazo-themed

    • Property svn:ignore
      •  

        old new  
        55develop-eggs
        66parts
         7sources
        78var
  • main/waeup.uniben/branches/henrik-diazo-themed/CHANGES.txt

    r7825 r11140  
    11Changes
    22*******
     31.0 (unreleased)
     4================
     5
     6* Diazofied whole package.
     7
    38
    490.2 (unreleased)
  • main/waeup.uniben/branches/henrik-diazo-themed/buildout-zeo.cfg

    r9878 r11140  
    1313    site_zcml
    1414    zdaemon_conf
    15     deploy_ini
    16     debug_ini
     15    raw_deploy_ini
     16    raw_debug_ini
     17    themed_deploy_ini
     18    themed_debug_ini
    1719    profile_ini
    1820    zeo1_ini
     
    2325# kofactl creation must be _after_ app!
    2426    kofactl
     27    lxml
     28    diazo
    2529# For backward compatibility, telling buildout not to throw away
    2630# the data and log subdirectories from the parts directory.
     
    115119# See http://pypi.python.org/pypi/zc.recipe.egg for details...
    116120recipe = zc.recipe.egg
    117 eggs = waeup.uniben [beaker]
     121eggs = waeup.uniben [beaker, diazo]
    118122arguments = "${buildout:parts-directory}/etc/zeo1.conf"
    119123scripts = kofactl=zeo_client1
     
    122126# See http://pypi.python.org/pypi/zc.recipe.egg for details...
    123127recipe = zc.recipe.egg
    124 eggs = waeup.uniben [beaker]
     128eggs = waeup.uniben [beaker, diazo]
    125129arguments = "${buildout:parts-directory}/etc/zeo2.conf"
    126130scripts = kofactl=zeo_client2
  • main/waeup.uniben/branches/henrik-diazo-themed/buildout.cfg

    r10137 r11140  
    1818    site_zcml
    1919    zdaemon_conf
    20     deploy_ini
    21     debug_ini
     20    raw_deploy_ini
     21    raw_debug_ini
     22    themed_deploy_ini
     23    themed_debug_ini
    2224    profile_ini
    2325    waeupdocs
     
    2628# kofactl creation must be _after_ app!
    2729    kofactl
     30    lxml
     31    diazo
    2832# For backward compatibility, telling buildout not to throw away
    2933# the data and log subdirectories from the parts directory.
     
    4145
    4246[sources]
    43 waeup.kofa = svn https://svn.waeup.org/repos/main/waeup.kofa/trunk
     47waeup.kofa = svn https://svn.waeup.org/repos/main/waeup.kofa/branches/uli-diazo-themed
    4448kofacustom.nigeria = svn https://svn.waeup.org/repos/main/kofacustom.nigeria/trunk
    4549
     
    6266# number of preopened paster threads, default 10
    6367threadpool_workers = 10
     68devel_pkg = waeup.uniben
    6469
    6570[app]
    6671# This creates all scripts in bin/. The kofactl created here is 'faulty'.
    6772recipe = zc.recipe.egg
    68 eggs = waeup.uniben [beaker]
     73eggs = waeup.uniben [beaker, diazo]
    6974       z3c.evalexception>=2.0
    7075       Paste
     
    8085# fixed path to zdaemon.conf as argument.
    8186recipe = zc.recipe.egg
    82 eggs = waeup.uniben [beaker]
     87eggs = waeup.uniben [beaker, diazo]
    8388arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
    8489scripts = kofactl=kofactl
     
    146151output = ${buildout:parts-directory}/etc/zdaemon.conf
    147152
    148 [deploy_ini]
    149 recipe = collective.recipe.template
    150 input = etc/deploy.ini.in
    151 output = ${buildout:parts-directory}/etc/deploy.ini
    152 
    153 [debug_ini]
    154 recipe = collective.recipe.template
    155 input = etc/debug.ini.in
    156 output = ${buildout:parts-directory}/etc/debug.ini
     153[raw_debug_ini]
     154recipe = collective.recipe.template
     155input = etc/raw/debug.ini.in
     156output = ${buildout:parts-directory}/etc/raw-debug.ini
     157
     158[raw_deploy_ini]
     159recipe = collective.recipe.template
     160input = etc/raw/deploy.ini.in
     161output = ${buildout:parts-directory}/etc/raw-deploy.ini
     162
     163[themed_debug_ini]
     164recipe = collective.recipe.template
     165input = etc/themed/debug.ini.in
     166output = ${buildout:parts-directory}/etc/themed-debug.ini
     167
     168[themed_deploy_ini]
     169recipe = collective.recipe.template
     170input = etc/themed/deploy.ini.in
     171output = ${buildout:parts-directory}/etc/themed-deploy.ini
    157172
    158173[profile_ini]
     
    186201scripts = coveragereport
    187202arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
     203
     204[lxml]
     205recipe = z3c.recipe.staticlxml
     206egg = lxml
     207
     208[diazo]
     209recipe = zc.recipe.egg
     210eggs =
     211    diazo [wsgi]
     212    PasteScript
     213    waeup.uniben [beaker, diazo]
  • main/waeup.uniben/branches/henrik-diazo-themed/etc/zdaemon.conf.in

    r5502 r11140  
    11<runner>
    2   program ${buildout:directory}/bin/paster serve ${buildout:directory}/parts/etc/deploy.ini
     2  program ${buildout:directory}/bin/paster serve ${buildout:directory}/parts/etc/themed-deploy.ini
    33  daemon on
    44  transcript ${zope_conf:logfiles}/zdaemon.log
  • main/waeup.uniben/branches/henrik-diazo-themed/setup.py

    r9222 r11140  
    22from setuptools import setup, find_packages
    33
    4 version = '0.1dev'
     4version = '1.0dev'
    55
    6 install_requires = [
     6install_requires =[
    77    'setuptools',
    88    'grok',
     
    2121    'dolmen.beaker',
    2222    ]
     23
     24diazo_require = [
     25    'diazo',
     26    'webob',
     27]
    2328
    2429tests_require = [
     
    8691        docs = docs_require,
    8792        beaker = beaker_require,
     93        diazo = diazo_require,
    8894        ),
    8995      entry_points="""
    90       # Add entry points here
    91       [hurry.resource.libraries]
    92       waeup_custom = waeup.uniben.browser.resources:waeup_custom
    9396      [console_scripts]
    9497      kofa-debug = grokcore.startup:interactive_debug_prompt
  • main/waeup.uniben/branches/henrik-diazo-themed/src/waeup/uniben/browser/tests.py

    r8441 r11140  
    4949        shutil.rmtree(self.dc_root)
    5050
    51     def test_custom_theme(self):
    52         self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
    53         self.browser.open('http://localhost/app/configuration')
    54         self.assertMatches('...Uniben Theme...', self.browser.contents)
    55         self.browser.getControl(name="form.skin").value = ['custom theme']
    56         self.browser.getControl("Save").click()
    57         self.browser.open('http://localhost/app/configuration')
    58         return
    59 
    6051    def test_access_live_url(self):
    6152        # We can't access the system with basic authentication
  • main/waeup.uniben/branches/henrik-diazo-themed/versions.cfg

    r10199 r11140  
    128128# zc.recipe.testrunner==2.0.0
    129129zope.testrunner = 4.3.3
     130
     131# Added by buildout at 2014-02-20 19:40:23.862079
     132WebOb = 1.3.1
     133diazo = 1.0.5
     134repoze.xmliter = 0.5
     135z3c.recipe.staticlxml = 0.10
     136
     137# Required by:
     138# diazo==1.0.5
     139experimental.cssselect = 0.3
     140
     141# Required by:
     142# diazo==1.0.5
     143# experimental.cssselect==0.3
     144lxml = 3.3.1
     145
     146# Required by:
     147# z3c.recipe.staticlxml==0.10
     148zc.recipe.cmmi = 1.3.5
Note: See TracChangeset for help on using the changeset viewer.