Commit 9fc968c9 authored by Łukasz Nowak's avatar Łukasz Nowak

- add tokyocabinet and flare software


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36167 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fbdda3a6
......@@ -9,6 +9,7 @@ extends =
../profiles/software-definition.cfg
../software-profiles/apache.cfg
../software-profiles/erp5-2.12.cfg
../software-profiles/tokyocabinet.cfg
../software-profiles/flare.cfg
../software-profiles/haproxy.cfg
../software-profiles/imagemagick.cfg
......@@ -36,6 +37,7 @@ parts =
memcached
ocropus
haproxy
flare
varnish
mysql-tritonn-5.0
mysql-python
......
......@@ -6,6 +6,7 @@ extends =
../profiles/software-definition.cfg
../software-profiles/apache.cfg
../software-profiles/erp5.cfg
../software-profiles/tokyocabinet.cfg
../software-profiles/flare.cfg
../software-profiles/haproxy.cfg
../software-profiles/imagemagick.cfg
......@@ -30,6 +31,7 @@ parts =
ocropus
haproxy
varnish
flare
mysql-tritonn-5.0
zope-2.8
cmf15
......
[buildout]
parts = flare
[flare-daemonize-timing]
recipe = hexagonit.recipe.download
filename = flare-1.0.8-daemonize-timing.patch
url = http://www.nexedi.org/static/patches/flare-1.0.8-daemonize-timing.patch
download-only=true
[flare]
recipe = hexagonit.recipe.cmmi
url = http://labs.gree.jp/data/source/flare-1.0.9.tgz
patch-options = -p1
patches =
${flare-daemonize-timing:location}/${flare-daemonize-timing:filename}
configure-options =
--with-tokyocabinet=${tokyocabinet:location}
environment =
LDFLAGS =-Wl,-rpath=${tokyocabinet:location}/lib
[buildout]
parts = tokyocabinet
[tokyocabinet]
recipe = hexagonit.recipe.cmmi
url = http://1978th.net/tokyocabinet/tokyocabinet-1.4.45.tar.gz
#patch = ${flare-daemonize-timing:location}/${flare-daemonize-timing:filename}
configure-options =
--enable-zlib
--enable-bzip
# disabled for now - those libraries have to be provided by buildout itself
# --enable-pthread
# --enable-exlzma
......@@ -134,6 +134,19 @@ class AssertSoftwareRunable(unittest.TestCase):
self.assertEqual(stdout, '')
self.assertTrue('splitting books' in stderr)
def test_TokyoCabinet(self):
stdout, stderr = subprocess.Popen(["parts/tokyocabinet/bin/tcamgr",
"version"],
stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
self.assertEqual(stderr, '')
self.assertTrue(stdout.startswith('Tokyo Cabinet'))
def test_Flare(self):
stdout, stderr = subprocess.Popen(["parts/flare/bin/flarei", "-v"],
stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
self.assertEqual(stderr, '')
self.assertTrue(stdout.startswith('flare'))
class AssertApache(unittest.TestCase):
"""Tests for built apache"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment