Commit 1ccfaf92 authored by Joanne Hugé's avatar Joanne Hugé

WIP: Add libloc

parent bb5c70ad
[buildout]
extends =
../python3/buildout.cfg
[libloc]
recipe = slapos.recipe.cmmi
location = ${buildout:parts-directory}/${:_buildout_section_name_}
url = https://github.com/ipfire/libloc/archive/${:version}.tar.gz
version = 0.9.16
md5sum = 9cf21d20210e66f1f6332871fbebffe2
configure-options =
--prefix=@@LOCATION@@
--libdir=${python3:location}/lib
--disable-perl
DESTDIR=${:location}
make-options =
prefix=${:location}
environment =
PATH=${python3:location}/bin:%(PATH)s
PYTHON=${python3:executable}
PYTHON_PATH=${python3:location}
PKG_CONFIG_PATH=${python3:location}/lib/pkgconfig
pre-configure =
./autogen.sh
......@@ -6,6 +6,7 @@ extends =
../../component/logrotate/buildout.cfg
../../component/apache/buildout.cfg
../../component/geoip2/buildout.cfg
../../component/libloc/buildout.cfg
../../component/git/buildout.cfg
../../component/python-cryptography/buildout.cfg
../../stack/slapos.cfg
......@@ -15,6 +16,7 @@ extends =
parts +=
slapos-cookbook
libloc
template
[python]
......@@ -22,7 +24,7 @@ part = python2.7
[re6stnet-repository]
recipe = slapos.recipe.build:gitclone
repository = https://lab.nexedi.com/nexedi/re6stnet.git
repository = https://lab.nexedi.com/jhuge/re6stnet.git
git-executable = ${git:location}/bin/git
[re6stnet-setup-env]
......@@ -40,7 +42,8 @@ eggs =
${python-cffi:egg}
${python-cryptography:egg}
pyOpenSSL
re6stnet[geoip]
re6stnet[geoip,location]
location
initialization =
import os
path = os.environ.get('PATH', '/bin:/usr/bin')
......
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