Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
105
Merge Requests
105
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
8583ace9
Commit
8583ace9
authored
Mar 11, 2020
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not harcode version of wanted Python
parent
b5faeb30
Changes
35
Hide whitespace changes
Inline
Side-by-side
Showing
35 changed files
with
65 additions
and
72 deletions
+65
-72
component/boost-lib/buildout.cfg
component/boost-lib/buildout.cfg
+1
-1
component/defaults.cfg
component/defaults.cfg
+19
-0
component/firewalld/buildout.cfg
component/firewalld/buildout.cfg
+2
-7
component/glib/buildout.cfg
component/glib/buildout.cfg
+1
-11
component/gtk-2/buildout.cfg
component/gtk-2/buildout.cfg
+0
-1
component/jupyter/buildout.cfg
component/jupyter/buildout.cfg
+0
-1
component/nghttp2/buildout.cfg
component/nghttp2/buildout.cfg
+2
-3
component/nodejs/buildout.cfg
component/nodejs/buildout.cfg
+1
-1
component/python3/buildout.cfg
component/python3/buildout.cfg
+2
-0
component/pytorch/buildout.cfg
component/pytorch/buildout.cfg
+1
-1
component/re6stnet/buildout.cfg
component/re6stnet/buildout.cfg
+2
-1
component/tensorboard/buildout.cfg
component/tensorboard/buildout.cfg
+3
-3
component/tensorflow/buildout.cfg
component/tensorflow/buildout.cfg
+3
-3
component/wget/buildout.cfg
component/wget/buildout.cfg
+4
-0
software/davstorage/common.cfg
software/davstorage/common.cfg
+0
-2
software/etherpad-lite/common.cfg
software/etherpad-lite/common.cfg
+0
-1
software/gateone/software.cfg
software/gateone/software.cfg
+0
-1
software/hellorina/instance-root.cfg.in
software/hellorina/instance-root.cfg.in
+1
-1
software/hellorina/instance.cfg.in
software/hellorina/instance.cfg.in
+1
-1
software/hellorina/software.cfg
software/hellorina/software.cfg
+3
-3
software/kvm/software-py3.cfg
software/kvm/software-py3.cfg
+3
-3
software/monitor/software.cfg
software/monitor/software.cfg
+3
-2
software/neotest/buildout.hash.cfg
software/neotest/buildout.hash.cfg
+1
-1
software/neotest/neotest-env.sh.in
software/neotest/neotest-env.sh.in
+1
-1
software/nextcloud/software.cfg
software/nextcloud/software.cfg
+0
-1
software/slapos-sr-testing/software-py3.cfg
software/slapos-sr-testing/software-py3.cfg
+2
-3
software/slapos-testing/software-py3.cfg
software/slapos-testing/software-py3.cfg
+2
-5
software/slaprunner/buildout.hash.cfg
software/slaprunner/buildout.hash.cfg
+1
-1
software/slaprunner/instance-runner.cfg
software/slaprunner/instance-runner.cfg
+1
-1
software/slaprunner/software-py3.cfg
software/slaprunner/software-py3.cfg
+3
-3
software/slaprunner/software.cfg
software/slaprunner/software.cfg
+0
-1
software/theia/software.cfg
software/theia/software.cfg
+1
-3
software/varnish/software.cfg
software/varnish/software.cfg
+0
-1
stack/cloudooo.cfg
stack/cloudooo.cfg
+0
-1
stack/slapos.cfg
stack/slapos.cfg
+1
-3
No files found.
component/boost-lib/buildout.cfg
View file @
8583ace9
...
@@ -13,7 +13,7 @@ shared = true
...
@@ -13,7 +13,7 @@ shared = true
url = http://downloads.sourceforge.net/sourceforge/boost/boost_1_67_0.tar.bz2
url = http://downloads.sourceforge.net/sourceforge/boost/boost_1_67_0.tar.bz2
md5sum = ced776cb19428ab8488774e1415535ab
md5sum = ced776cb19428ab8488774e1415535ab
location = @@LOCATION@@
location = @@LOCATION@@
configure-command = ./bootstrap.sh --prefix=${:location} --with
-python=${python2.7:location}/bin/python2.7 --with
out-icu
configure-command = ./bootstrap.sh --prefix=${:location} --without-icu
make-binary =
make-binary =
make-options =
make-options =
make-targets = for a in $MAKEFLAGS; do case $a in -j*) j=$a; break;; esac; done;
make-targets = for a in $MAKEFLAGS; do case $a in -j*) j=$a; break;; esac; done;
...
...
component/defaults.cfg
0 → 100644
View file @
8583ace9
[buildout]
extends =
python-2.7/buildout.cfg
python3/buildout.cfg
python = python
[python]
recipe = slapos.recipe.build
part = python2.7
init =
python = self.buildout[options['part']]
for x in 'location', 'executable', 'version':
options[x] = python[x]
update =
import os
path, os.environ['PYTHON'] = os.path.split(options['executable'])
PATH = os.environ['PATH']
if path not in PATH.split(os.pathsep):
os.environ['PATH'] = path + os.pathsep + PATH
component/firewalld/buildout.cfg
View file @
8583ace9
...
@@ -35,7 +35,6 @@ environment =
...
@@ -35,7 +35,6 @@ environment =
PATH=${autoconf:location}/bin:${automake:location}/bin:${pkgconfig:location}/bin:${libtool:location}/bin:${intltool:location}/bin:${gettext:location}/bin:${glib:location}/bin:${perl:location}/bin:%(PATH)s
PATH=${autoconf:location}/bin:${automake:location}/bin:${pkgconfig:location}/bin:${libtool:location}/bin:${intltool:location}/bin:${gettext:location}/bin:${glib:location}/bin:${perl:location}/bin:%(PATH)s
CPPFLAGS=-I${gettext:location}/include
CPPFLAGS=-I${gettext:location}/include
LDFLAGS=-L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib
LDFLAGS=-L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib
PYTHON=${python2.7:location}/bin/python2.7
M4=${m4:location}/bin/m4
M4=${m4:location}/bin/m4
ACLOCAL_PATH=${pkgconfig:location}/share/aclocal:${gettext:location}/share/aclocal:${libtool:location}/share/aclocal:${glib:location}/share/aclocal:${intltool:location}/share/aclocal
ACLOCAL_PATH=${pkgconfig:location}/share/aclocal:${gettext:location}/share/aclocal:${libtool:location}/share/aclocal:${glib:location}/share/aclocal:${intltool:location}/share/aclocal
FIREWALLD_DEVEL_ENV=${buildout:parts-directory}/${:_buildout_section_name_}/src
FIREWALLD_DEVEL_ENV=${buildout:parts-directory}/${:_buildout_section_name_}/src
...
@@ -49,14 +48,13 @@ md5sum = 7372a588c83a7232b4e08159bfd48fe5
...
@@ -49,14 +48,13 @@ md5sum = 7372a588c83a7232b4e08159bfd48fe5
python-egg = ${buildout:parts-directory}/${:_buildout_section_name_}/lib/python2.7/site-packages
python-egg = ${buildout:parts-directory}/${:_buildout_section_name_}/lib/python2.7/site-packages
environment =
environment =
PKG_CONFIG_PATH=${dbus:location}/lib/pkgconfig:${dbus-glib:location}/lib/pkgconfig:${glib:location}/lib/pkgconfig:${pcre:location}/lib/pkgconfig
PKG_CONFIG_PATH=${dbus:location}/lib/pkgconfig:${dbus-glib:location}/lib/pkgconfig:${glib:location}/lib/pkgconfig:${pcre:location}/lib/pkgconfig
PATH=${pkgconfig:location}/bin:
${python2.7:location}/bin:
%(PATH)s
PATH=${pkgconfig:location}/bin:%(PATH)s
DBUS_CFLAGS=-I${dbus:location}/include/dbus-1.0 -I${dbus:location}/lib/dbus-1.0/include
DBUS_CFLAGS=-I${dbus:location}/include/dbus-1.0 -I${dbus:location}/lib/dbus-1.0/include
DBUS_LIBS=-L${dbus:location}/lib -ldbus-1
DBUS_LIBS=-L${dbus:location}/lib -ldbus-1
DBUS_GLIB_CFLAGS=-I${dbus-glib:location}/include/dbus-1.0
DBUS_GLIB_CFLAGS=-I${dbus-glib:location}/include/dbus-1.0
DBUS_GLIB_LIBS=-L${dbus-glib:location}/lib -ldbus-glib-1
DBUS_GLIB_LIBS=-L${dbus-glib:location}/lib -ldbus-glib-1
CPPFLAGS=-I${glib:location}/include/glib-2.0 -I${glib:location}/lib/glib-2.0/include
CPPFLAGS=-I${glib:location}/include/glib-2.0 -I${glib:location}/lib/glib-2.0/include
LDFLAGS=-L${glib:location}/lib -Wl,-rpath=${glib:location}/lib
LDFLAGS=-L${glib:location}/lib -Wl,-rpath=${glib:location}/lib
PYTHON=${python2.7:location}/bin/python2.7
PYTHON_INCLUDES=-I${python2.7:location}/include/python2.7
PYTHON_INCLUDES=-I${python2.7:location}/include/python2.7
PYTHON_LIBS=-L${python2.7:location}/lib -lpython2.7 -lpthread -ldl -lutil -lm
PYTHON_LIBS=-L${python2.7:location}/lib -lpython2.7 -lpthread -ldl -lutil -lm
...
@@ -72,7 +70,6 @@ environment =
...
@@ -72,7 +70,6 @@ environment =
PKG_CONFIG_PATH=${glib:location}/lib/pkgconfig:${pcre:location}/lib/pkgconfig
PKG_CONFIG_PATH=${glib:location}/lib/pkgconfig:${pcre:location}/lib/pkgconfig
CPPFLAGS=-I${glib:location}/include/glib-2.0 -I${glib:location}/lib/glib-2.0/include
CPPFLAGS=-I${glib:location}/include/glib-2.0 -I${glib:location}/lib/glib-2.0/include
LDFLAGS=-L${glib:location}/lib -Wl,-rpath=${glib:location}/lib -L${libffi:location}/lib -Wl,-rpath=${libffi:location}/lib -lffi
LDFLAGS=-L${glib:location}/lib -Wl,-rpath=${glib:location}/lib -L${libffi:location}/lib -Wl,-rpath=${libffi:location}/lib -lffi
PYTHON=${python2.7:location}/bin/python2.7
GLIB_CFLAGS=-I${glib:location}/include/glib-2.0 -I${glib:location}/lib/glib-2.0/include
GLIB_CFLAGS=-I${glib:location}/include/glib-2.0 -I${glib:location}/lib/glib-2.0/include
GLIB_LIBS=-L${glib:location}/lib -lglib-2.0 -lintl -lgobject-2.0
GLIB_LIBS=-L${glib:location}/lib -lglib-2.0 -lintl -lgobject-2.0
FFI_CFLAGS=-I${libffi:location}/include
FFI_CFLAGS=-I${libffi:location}/include
...
@@ -89,12 +86,10 @@ pre-configure =
...
@@ -89,12 +86,10 @@ pre-configure =
configure-options =
configure-options =
--disable-static
--disable-static
--disable-cairo
--disable-cairo
--with-python=${python2.7:location}/bin/python2.7
environment =
environment =
PATH=${pkgconfig:location}/bin:${libtool:location}/bin:${glib:location}/bin:${xz-utils:location}/bin:%(PATH)s
PATH=${pkgconfig:location}/bin:${libtool:location}/bin:${glib:location}/bin:${xz-utils:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${glib:location}/lib/pkgconfig:${gobject-introspection:location}/lib/pkgconfig:${pcre:location}/lib/pkgconfig
PKG_CONFIG_PATH=${glib:location}/lib/pkgconfig:${gobject-introspection:location}/lib/pkgconfig:${pcre:location}/lib/pkgconfig
PYTHON=${python2.7:location}/bin/python2.7
FFI_CFLAGS=-I${libffi:location}/include
FFI_CFLAGS=-I${libffi:location}/include
FFI_LIBS=-L${libffi:location}/lib -Wl,-rpath=${libffi:location}/lib -lffi
FFI_LIBS=-L${libffi:location}/lib -Wl,-rpath=${libffi:location}/lib -lffi
CPPFLAGS=-I${glib:location}/include/glib-2.0 -I${glib:location}/lib/glib-2.0/include -I${gettext:location}/include -I${libffi:location}/include
CPPFLAGS=-I${glib:location}/include/glib-2.0 -I${glib:location}/lib/glib-2.0/include -I${gettext:location}/include -I${libffi:location}/include
...
@@ -115,7 +110,7 @@ md5sum = 893752ba2e93a1e96334dfee19f884ad
...
@@ -115,7 +110,7 @@ md5sum = 893752ba2e93a1e96334dfee19f884ad
[firewalld-patch]
[firewalld-patch]
recipe = plone.recipe.command
recipe = plone.recipe.command
python = ${buildout:
directory}/bin
/${firewalld-eggs:interpreter}
python = ${buildout:
bin-directory}
/${firewalld-eggs:interpreter}
command =
command =
sed -i 's#/usr/bin/python -Es#${:python}#' ${firewalld:location}/bin/firewall-cmd
sed -i 's#/usr/bin/python -Es#${:python}#' ${firewalld:location}/bin/firewall-cmd
sed -i 's#/usr/bin/python -Es#${:python}#' ${firewalld:location}/sbin/firewalld
sed -i 's#/usr/bin/python -Es#${:python}#' ${firewalld:location}/sbin/firewalld
...
...
component/glib/buildout.cfg
View file @
8583ace9
...
@@ -6,18 +6,9 @@ extends =
...
@@ -6,18 +6,9 @@ extends =
../perl/buildout.cfg
../perl/buildout.cfg
../xz-utils/buildout.cfg
../xz-utils/buildout.cfg
../zlib/buildout.cfg
../zlib/buildout.cfg
../python-2.7/buildout.cfg
parts =
parts =
glib
glib
# --with-python=${buildout:executable} is simpler but we may end up with
# scripts whose shebang exceeds the kernel limit.
# And ${buildout:executable}/.. is not a valid $PATH part.
[glib-python]
recipe = collective.recipe.shelloutput
commands =
bin-directory = dirname ${buildout:executable}
[glib]
[glib]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
patches =
patches =
...
@@ -27,7 +18,6 @@ shared = true
...
@@ -27,7 +18,6 @@ shared = true
url = https://ftp.gnome.org/pub/gnome/sources/glib/2.56/glib-2.56.4.tar.xz
url = https://ftp.gnome.org/pub/gnome/sources/glib/2.56/glib-2.56.4.tar.xz
md5sum = 17c3dca43d99a4882384f1a7b530b80b
md5sum = 17c3dca43d99a4882384f1a7b530b80b
configure-options =
configure-options =
--with-python=python
--disable-libmount
--disable-libmount
--disable-static
--disable-static
--disable-selinux
--disable-selinux
...
@@ -35,7 +25,7 @@ configure-options =
...
@@ -35,7 +25,7 @@ configure-options =
--disable-xattr
--disable-xattr
--disable-man
--disable-man
environment =
environment =
PATH=${g
lib-python:bin-directory}:${g
ettext:location}/bin:${perl:location}/bin:${xz-utils:location}/bin:%(PATH)s
PATH=${gettext:location}/bin:${perl:location}/bin:${xz-utils:location}/bin:%(PATH)s
CPPFLAGS=-I${gettext:location}/include -I${zlib:location}/include
CPPFLAGS=-I${gettext:location}/include -I${zlib:location}/include
LDFLAGS=-L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
LDFLAGS=-L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
LIBFFI_CFLAGS=-I${libffi:location}/include
LIBFFI_CFLAGS=-I${libffi:location}/include
...
...
component/gtk-2/buildout.cfg
View file @
8583ace9
...
@@ -107,7 +107,6 @@ shared = true
...
@@ -107,7 +107,6 @@ shared = true
url = https://download.gnome.org/sources/atk/2.28/atk-2.28.1.tar.xz
url = https://download.gnome.org/sources/atk/2.28/atk-2.28.1.tar.xz
md5sum = dfb5e7474220afa3f4ca7e45af9f3a11
md5sum = dfb5e7474220afa3f4ca7e45af9f3a11
configure-options =
configure-options =
--with-python=${python2.7:location}/bin/python2.7
--disable-gtk-doc-html
--disable-gtk-doc-html
environment =
environment =
PATH=${gettext:location}/bin:${glib:location}/bin:${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s
PATH=${gettext:location}/bin:${glib:location}/bin:${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s
...
...
component/jupyter/buildout.cfg
View file @
8583ace9
...
@@ -4,7 +4,6 @@ extends =
...
@@ -4,7 +4,6 @@ extends =
../matplotlib/buildout.cfg
../matplotlib/buildout.cfg
../ipython/buildout.cfg
../ipython/buildout.cfg
../python-pyzmq/buildout.cfg
../python-pyzmq/buildout.cfg
../python-2.7/buildout.cfg
../scipy/buildout.cfg
../scipy/buildout.cfg
../scikit-learn/buildout.cfg
../scikit-learn/buildout.cfg
../pandas/buildout.cfg
../pandas/buildout.cfg
...
...
component/nghttp2/buildout.cfg
View file @
8583ace9
[buildout]
[buildout]
extends =
extends =
../automake/buildout.cfg
../automake/buildout.cfg
../libtool/buildout.cfg
../libtool/buildout.cfg
../pkgconfig/buildout.cfg
../pkgconfig/buildout.cfg
../python-2.7/buildout.cfg
parts =
parts =
nghttp2
nghttp2
...
@@ -18,4 +17,4 @@ pre-configure =
...
@@ -18,4 +17,4 @@ pre-configure =
automake
automake
autoconf
autoconf
environment =
environment =
PATH=${autoconf:location}/bin:${automake:location}/bin:${libtool:location}/bin:${m4:location}/bin:
${python2.7:location}/bin:
%(PATH)s
PATH=${autoconf:location}/bin:${automake:location}/bin:${libtool:location}/bin:${m4:location}/bin:%(PATH)s
component/nodejs/buildout.cfg
View file @
8583ace9
...
@@ -57,7 +57,7 @@ configure-options =
...
@@ -57,7 +57,7 @@ configure-options =
--shared-openssl-libpath=${:openssl_location}/lib
--shared-openssl-libpath=${:openssl_location}/lib
environment =
environment =
HOME=@@LOCATION@@
HOME=@@LOCATION@@
PATH=${gcc:location}/bin:${pkgconfig:location}/bin:
${python2.7:location}/bin/:
%(PATH)s
PATH=${gcc:location}/bin:${pkgconfig:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${:openssl_location}/lib/pkgconfig/
PKG_CONFIG_PATH=${:openssl_location}/lib/pkgconfig/
CPPFLAGS=-I${zlib:location}/include
CPPFLAGS=-I${zlib:location}/include
LDFLAGS=-Wl,-rpath=${gcc:location}/lib -Wl,-rpath=${gcc:location}/lib64 -Wl,-rpath=${:openssl_location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
LDFLAGS=-Wl,-rpath=${gcc:location}/lib -Wl,-rpath=${gcc:location}/lib64 -Wl,-rpath=${:openssl_location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
...
...
component/python3/buildout.cfg
View file @
8583ace9
...
@@ -54,6 +54,7 @@ environment =
...
@@ -54,6 +54,7 @@ environment =
[python3.6]
[python3.6]
<= python3-common
<= python3-common
version = 3.6
package_version = 3.6.10
package_version = 3.6.10
md5sum = 986078f11b39074be22a199e56491d98
md5sum = 986078f11b39074be22a199e56491d98
...
@@ -62,6 +63,7 @@ md5sum = 986078f11b39074be22a199e56491d98
...
@@ -62,6 +63,7 @@ md5sum = 986078f11b39074be22a199e56491d98
# I think gcc 5 may meet the requirement, use gcc 8 all in one step
# I think gcc 5 may meet the requirement, use gcc 8 all in one step
[python3.7]
[python3.7]
<= python3-common
<= python3-common
version = 3.7
package_version = 3.7.2
package_version = 3.7.2
md5sum = df6ec36011808205beda239c72f947cb
md5sum = df6ec36011808205beda239c72f947cb
patch-options =
patch-options =
...
...
component/pytorch/buildout.cfg
View file @
8583ace9
...
@@ -50,7 +50,7 @@ location = ${buildout:parts-directory}/${:_buildout_section_name_}
...
@@ -50,7 +50,7 @@ location = ${buildout:parts-directory}/${:_buildout_section_name_}
recipe = slapos.recipe.build
recipe = slapos.recipe.build
egg = ${:_buildout_section_name_}
egg = ${:_buildout_section_name_}
workdir = ${pytorch-repository:location}
workdir = ${pytorch-repository:location}
egg-name = ${:egg}-${versions:torch}-py
2.7
-linux-x86_64.egg
egg-name = ${:egg}-${versions:torch}-py
${python:version}
-linux-x86_64.egg
location = ${buildout:eggs-directory}/${:egg-name}
location = ${buildout:eggs-directory}/${:egg-name}
python-bin = ${buildout:bin-directory}/${pytorch-build-interpreter:interpreter}
python-bin = ${buildout:bin-directory}/${pytorch-build-interpreter:interpreter}
no-cuda = 0
no-cuda = 0
...
...
component/re6stnet/buildout.cfg
View file @
8583ace9
[buildout]
[buildout]
extends =
extends =
../defaults.cfg
../babeld/buildout.cfg
../babeld/buildout.cfg
../geoip2/buildout.cfg
../geoip2/buildout.cfg
../openvpn/buildout.cfg
../openvpn/buildout.cfg
...
@@ -22,4 +23,4 @@ eggs =
...
@@ -22,4 +23,4 @@ eggs =
initialization =
initialization =
import os
import os
os.environ['GEOIP2_MMDB'] = "${geolite2-country:location}/GeoLite2-Country.mmdb"
os.environ['GEOIP2_MMDB'] = "${geolite2-country:location}/GeoLite2-Country.mmdb"
os.environ['PATH'] = "${openvpn:location}/sbin:${babeld:location}/bin:${openssl:location}/bin:${python
2.7
:location}/bin:" + os.environ.get('PATH', '/usr/sbin:/usr/bin:/sbin:/bin')
os.environ['PATH'] = "${openvpn:location}/sbin:${babeld:location}/bin:${openssl:location}/bin:${python:location}/bin:" + os.environ.get('PATH', '/usr/sbin:/usr/bin:/sbin:/bin')
component/tensorboard/buildout.cfg
View file @
8583ace9
...
@@ -24,13 +24,13 @@ command =
...
@@ -24,13 +24,13 @@ command =
recipe = slapos.recipe.build
recipe = slapos.recipe.build
egg = ${:_buildout_section_name_}
egg = ${:_buildout_section_name_}
workdir = ${tensorboard-repository:location}
workdir = ${tensorboard-repository:location}
egg-name = ${:egg}-${versions:tensorflow-tensorboard}-py
2.7
.egg
egg-name = ${:egg}-${versions:tensorflow-tensorboard}-py
${python:version}
.egg
location = ${buildout:eggs-directory}/${:egg-name}
location = ${buildout:eggs-directory}/${:egg-name}
gcc-bin = ${gcc:location}/bin
gcc-bin = ${gcc:location}/bin
gcc-lib = ${gcc:location}/lib
gcc-lib = ${gcc:location}/lib
gcc-lib64 = ${gcc:location}/lib64
gcc-lib64 = ${gcc:location}/lib64
numpy-python-command = ${buildout:bin-directory}/${numpy-egg:interpreter}
numpy-python-command = ${buildout:bin-directory}/${numpy-egg:interpreter}
python
27-lib = ${python2.7
:location}/lib
python
-lib = ${python
:location}/lib
java_home_bin = ${bazel:java_home}/bin
java_home_bin = ${bazel:java_home}/bin
bazel-bin = ${bazel:location}/bin
bazel-bin = ${bazel:location}/bin
install =
install =
...
@@ -47,7 +47,7 @@ install =
...
@@ -47,7 +47,7 @@ install =
options['gcc-lib64'],
options['gcc-lib64'],
os.environ.get('LIBRARY_PATH') or '']),
os.environ.get('LIBRARY_PATH') or '']),
'PYTHON_BIN_PATH':options['numpy-python-command'],
'PYTHON_BIN_PATH':options['numpy-python-command'],
'PYTHON_LIB_PATH':options['python
27
-lib'],
'PYTHON_LIB_PATH':options['python-lib'],
}
}
env['LD_LIBRARY_PATH'] = env['LIBRARY_PATH']
env['LD_LIBRARY_PATH'] = env['LIBRARY_PATH']
bazel_command = ['bazel', 'build', '--spawn_strategy=standalone', '--verbose_failures', '--sandbox_debug', '//tensorboard/pip_package:build_pip_package']
bazel_command = ['bazel', 'build', '--spawn_strategy=standalone', '--verbose_failures', '--sandbox_debug', '//tensorboard/pip_package:build_pip_package']
...
...
component/tensorflow/buildout.cfg
View file @
8583ace9
...
@@ -45,13 +45,13 @@ cudnn_install_path = /usr/local/cuda
...
@@ -45,13 +45,13 @@ cudnn_install_path = /usr/local/cuda
recipe = slapos.recipe.build
recipe = slapos.recipe.build
egg = ${:_buildout_section_name_}
egg = ${:_buildout_section_name_}
workdir = ${tensorflow-repository:location}
workdir = ${tensorflow-repository:location}
egg-name = ${:egg}-${versions:tensorflow}-py
2.7
-linux-x86_64.egg
egg-name = ${:egg}-${versions:tensorflow}-py
${python:version}
-linux-x86_64.egg
location = ${buildout:eggs-directory}/${:egg-name}
location = ${buildout:eggs-directory}/${:egg-name}
gcc-bin = ${gcc:location}/bin
gcc-bin = ${gcc:location}/bin
gcc-lib = ${gcc:location}/lib
gcc-lib = ${gcc:location}/lib
gcc-lib64 = ${gcc:location}/lib64
gcc-lib64 = ${gcc:location}/lib64
numpy-python-command = ${buildout:bin-directory}/${numpy-egg:interpreter}
numpy-python-command = ${buildout:bin-directory}/${numpy-egg:interpreter}
python
27-lib = ${python2.7
:location}/lib
python
-lib = ${python
:location}/lib
java_home_bin = ${bazel:java_home}/bin
java_home_bin = ${bazel:java_home}/bin
bazel_bin = ${bazel:location}/bin
bazel_bin = ${bazel:location}/bin
need_cuda = ${cuda:cuda_toolkit_path}
need_cuda = ${cuda:cuda_toolkit_path}
...
@@ -72,7 +72,7 @@ install =
...
@@ -72,7 +72,7 @@ install =
options['gcc-lib64'],
options['gcc-lib64'],
os.environ.get('LIBRARY_PATH') or '']),
os.environ.get('LIBRARY_PATH') or '']),
'PYTHON_BIN_PATH':options['numpy-python-command'],
'PYTHON_BIN_PATH':options['numpy-python-command'],
'PYTHON_LIB_PATH':options['python
27
-lib'],
'PYTHON_LIB_PATH':options['python-lib'],
'CC_OPT_FLAGS':'-march=native',
'CC_OPT_FLAGS':'-march=native',
'TF_NEED_JEMALLOC':'1',
'TF_NEED_JEMALLOC':'1',
'TF_ENABLE_XLA':'0',
'TF_ENABLE_XLA':'0',
...
...
component/wget/buildout.cfg
View file @
8583ace9
...
@@ -26,6 +26,10 @@ configure-options =
...
@@ -26,6 +26,10 @@ configure-options =
--with-zlib-lib=${zlib:location}
--with-zlib-lib=${zlib:location}
environment =
environment =
# Python 3 is used for things we don't need. This is an optional dependency,
# unless PYTHON is set (previously set by [python]): wget complains (rightly)
# if it points to Python 2.7 (which we may still use).
PYTHON=
PATH=${gettext:location}/bin:${lunzip:location}/bin:${patch:location}/bin:${perl:location}/bin:${pkgconfig:location}/bin:%(PATH)s
PATH=${gettext:location}/bin:${lunzip:location}/bin:${patch:location}/bin:${perl:location}/bin:${pkgconfig:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${openssl:location}/lib/pkgconfig
PKG_CONFIG_PATH=${openssl:location}/lib/pkgconfig
LDFLAGS=-L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -L${openssl:location}/lib -L${pcre:location}/lib -Wl,-rpath=${pcre:location}/lib -Wl,-rpath=${openssl:location}/lib
LDFLAGS=-L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -L${openssl:location}/lib -L${pcre:location}/lib -Wl,-rpath=${pcre:location}/lib -Wl,-rpath=${openssl:location}/lib
...
...
software/davstorage/common.cfg
View file @
8583ace9
...
@@ -8,7 +8,6 @@ extends =
...
@@ -8,7 +8,6 @@ extends =
../../component/dcron/buildout.cfg
../../component/dcron/buildout.cfg
../../component/logrotate/buildout.cfg
../../component/logrotate/buildout.cfg
../../component/lxml-python/buildout.cfg
../../component/lxml-python/buildout.cfg
../../component/python-2.7/buildout.cfg
../../component/gzip/buildout.cfg
../../component/gzip/buildout.cfg
parts =
parts =
...
@@ -24,7 +23,6 @@ module = davstorage
...
@@ -24,7 +23,6 @@ module = davstorage
[instance-recipe-egg]
[instance-recipe-egg]
recipe = zc.recipe.egg
recipe = zc.recipe.egg
python = python2.7
eggs = ${instance-recipe:egg}
eggs = ${instance-recipe:egg}
[application]
[application]
...
...
software/etherpad-lite/common.cfg
View file @
8583ace9
...
@@ -11,7 +11,6 @@ extends =
...
@@ -11,7 +11,6 @@ extends =
../../component/dcron/buildout.cfg
../../component/dcron/buildout.cfg
../../component/logrotate/buildout.cfg
../../component/logrotate/buildout.cfg
../../component/lxml-python/buildout.cfg
../../component/lxml-python/buildout.cfg
../../component/python-2.7/buildout.cfg
../../component/gzip/buildout.cfg
../../component/gzip/buildout.cfg
../../component/git/buildout.cfg
../../component/git/buildout.cfg
../../component/nodejs/buildout.cfg
../../component/nodejs/buildout.cfg
...
...
software/gateone/software.cfg
View file @
8583ace9
...
@@ -11,7 +11,6 @@ extends =
...
@@ -11,7 +11,6 @@ extends =
../../component/python-kerberos/buildout.cfg
../../component/python-kerberos/buildout.cfg
../../component/gateone/buildout.cfg
../../component/gateone/buildout.cfg
../../component/dtach/buildout.cfg
../../component/dtach/buildout.cfg
../../component/python-2.7/buildout.cfg
../../component/nginx/buildout.cfg
../../component/nginx/buildout.cfg
../../stack/slapos.cfg
../../stack/slapos.cfg
...
...
software/hellorina/instance-root.cfg.in
View file @
8583ace9
...
@@ -32,7 +32,7 @@ return =
...
@@ -32,7 +32,7 @@ return =
[proxy]
[proxy]
recipe = slapos.cookbook:wrapper
recipe = slapos.cookbook:wrapper
command-line = {{ python_
location }}/bin/python2.7
{{ rina_proxy }} ${server:instance-guid} ${:ipv6} ${:port}
command-line = {{ python_
executable }}
{{ rina_proxy }} ${server:instance-guid} ${:ipv6} ${:port}
wrapper-path = ${directory:service}/proxy
wrapper-path = ${directory:service}/proxy
environment =
environment =
PATH={{ rina_tools_location }}/bin:%(PATH)s
PATH={{ rina_tools_location }}/bin:%(PATH)s
...
...
software/hellorina/instance.cfg.in
View file @
8583ace9
...
@@ -28,7 +28,7 @@ template = {{ instance_root }}
...
@@ -28,7 +28,7 @@ template = {{ instance_root }}
extra-context =
extra-context =
import urlparse urlparse
import urlparse urlparse
key ipv6 slap-configuration:ipv6-random
key ipv6 slap-configuration:ipv6-random
raw python_
location {{ python_location
}}
raw python_
executable {{ python_executable
}}
raw rina_proxy {{ rina_proxy }}
raw rina_proxy {{ rina_proxy }}
[server]
[server]
...
...
software/hellorina/software.cfg
View file @
8583ace9
...
@@ -9,13 +9,13 @@ parts =
...
@@ -9,13 +9,13 @@ parts =
[template]
[template]
recipe = slapos.recipe.template:jinja2
recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/instance.cfg.in
template = ${:_profile_base_location_}/instance.cfg.in
md5sum =
e513082329961dfbbcec94e817f1e3bc
md5sum =
f6c61225990986d94d0017b07b873aa7
# XXX: "template.cfg" is hardcoded in instanciation recipe
# XXX: "template.cfg" is hardcoded in instanciation recipe
rendered = ${buildout:directory}/template.cfg
rendered = ${buildout:directory}/template.cfg
context =
context =
key develop_eggs_directory buildout:develop-eggs-directory
key develop_eggs_directory buildout:develop-eggs-directory
key eggs_directory buildout:eggs-directory
key eggs_directory buildout:eggs-directory
key python_
location python2.7:location
key python_
executable python:executable
key rina_tools_location rina-tools:location
key rina_tools_location rina-tools:location
key instance_root instance-root:target
key instance_root instance-root:target
key instance_server instance-server:target
key instance_server instance-server:target
...
@@ -29,7 +29,7 @@ mode = 644
...
@@ -29,7 +29,7 @@ mode = 644
[instance-root]
[instance-root]
<= download-base
<= download-base
md5sum =
8ba6905c430e69a14db1be386f932c0f
md5sum =
f647054be67998f9eece174f106c4464
[instance-server]
[instance-server]
<= download-base
<= download-base
...
...
software/kvm/software-py3.cfg
View file @
8583ace9
[buildout]
[buildout]
extends =
extends =
../../component/python3/buildout.cfg
software.cfg
software.cfg
python = python3
# Ignore these for now
# Ignore these for now
common-parts -=
common-parts -=
rdiff-backup
rdiff-backup
[python]
part = python3
software/monitor/software.cfg
View file @
8583ace9
...
@@ -8,8 +8,6 @@ extends =
...
@@ -8,8 +8,6 @@ extends =
../../stack/slapos.cfg
../../stack/slapos.cfg
../../component/python3/buildout.cfg
../../component/python3/buildout.cfg
python = python3
parts =
parts =
slapos-cookbook
slapos-cookbook
network-bench-cfg
network-bench-cfg
...
@@ -19,6 +17,9 @@ parts =
...
@@ -19,6 +17,9 @@ parts =
template-monitor
template-monitor
monitor-collect-csv-dump
monitor-collect-csv-dump
[python]
part = python3
[template]
[template]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/${:filename}
url = ${:_profile_base_location_}/${:filename}
...
...
software/neotest/buildout.hash.cfg
View file @
8583ace9
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
# not need these here).
# not need these here).
[neotest-env.sh]
[neotest-env.sh]
filename = neotest-env.sh.in
filename = neotest-env.sh.in
md5sum =
595eebbbcb56b6a8464d48833cfae57
b
md5sum =
bd46e95f1cea62c3b0082fe8c0c9c90
b
[neotest]
[neotest]
filename = neotest.in
filename = neotest.in
...
...
software/neotest/neotest-env.sh.in
View file @
8583ace9
...
@@ -9,7 +9,7 @@ PATH="${ioping:location}/bin:$PATH"
...
@@ -9,7 +9,7 @@ PATH="${ioping:location}/bin:$PATH"
PATH="${lmbench:location}/bin:$PATH"
PATH="${lmbench:location}/bin:$PATH"
PATH="${mariadb:location}/bin:$PATH"
PATH="${mariadb:location}/bin:$PATH"
PATH="${mariadb:location}/scripts:$PATH"
PATH="${mariadb:location}/scripts:$PATH"
PATH="${python
2.7
:location}/bin:$PATH"
PATH="${python:location}/bin:$PATH"
# add all eggs and develop-eggs to py path
# add all eggs and develop-eggs to py path
#
#
...
...
software/nextcloud/software.cfg
View file @
8583ace9
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
extends =
extends =
buildout.hash.cfg
buildout.hash.cfg
../../component/redis/buildout.cfg
../../component/redis/buildout.cfg
../../component/python3/buildout.cfg
../../stack/lamp/buildout.cfg
../../stack/lamp/buildout.cfg
[nc-download-base]
[nc-download-base]
...
...
software/slapos-sr-testing/software-py3.cfg
View file @
8583ace9
[buildout]
[buildout]
extends =
extends =
../../component/python3/buildout.cfg
software.cfg
software.cfg
python = python3
[python]
part = python3
[eggs]
[eggs]
eggs -=
eggs -=
...
...
software/slapos-testing/software-py3.cfg
View file @
8583ace9
[buildout]
[buildout]
extends =
extends =
../../component/python3/buildout.cfg
software.cfg
software.cfg
python = python3
[nghttp2]
[python]
environment =
part = python3
PATH=${autoconf:location}/bin:${automake:location}/bin:${libtool:location}/bin:${m4:location}/bin:${python3:location}/bin:%(PATH)s
[supervisor-repository]
[supervisor-repository]
<= git-clone-repository
<= git-clone-repository
...
...
software/slaprunner/buildout.hash.cfg
View file @
8583ace9
...
@@ -18,7 +18,7 @@ md5sum = ec70348dd71b319590a5c5837f3d2e45
...
@@ -18,7 +18,7 @@ md5sum = ec70348dd71b319590a5c5837f3d2e45
[template-runner]
[template-runner]
filename = instance-runner.cfg
filename = instance-runner.cfg
md5sum =
f342daca2e87f8fa44fd7b6a2a1c22f8
md5sum =
7100c6678576c285322f1445029cd4f2
[template-runner-import-script]
[template-runner-import-script]
filename = template/runner-import.sh.jinja2
filename = template/runner-import.sh.jinja2
...
...
software/slaprunner/instance-runner.cfg
View file @
8583ace9
...
@@ -692,7 +692,7 @@ hash-existing-files = $${buildout:directory}/software_release/buildout.cfg
...
@@ -692,7 +692,7 @@ hash-existing-files = $${buildout:directory}/software_release/buildout.cfg
[shell-environment]
[shell-environment]
shell = ${bash:location}/bin/bash
shell = ${bash:location}/bin/bash
path = ${nano:location}/bin:${vim:location}/bin:${screen:location}/bin:${tmux:location}/bin:${git:location}/bin:${curl:location}/bin:${python
2.7
:location}/bin:${tig:location}/bin:${zip:location}/bin:${mosh:location}/bin:${bash:location}/bin:${fish-shell:location}/bin:$${directory:bin}:/usr/bin:/bin/
path = ${nano:location}/bin:${vim:location}/bin:${screen:location}/bin:${tmux:location}/bin:${git:location}/bin:${curl:location}/bin:${python:location}/bin:${tig:location}/bin:${zip:location}/bin:${mosh:location}/bin:${bash:location}/bin:${fish-shell:location}/bin:$${directory:bin}:/usr/bin:/bin/
[prepare-software]
[prepare-software]
recipe = slapos.cookbook:wrapper
recipe = slapos.cookbook:wrapper
...
...
software/slaprunner/software-py3.cfg
View file @
8583ace9
[buildout]
[buildout]
extends =
extends =
../../component/python3/buildout.cfg
software.cfg
software.cfg
python = python3
# Ignore these for now
# Ignore these for now
common-parts -=
common-parts -=
rdiff-backup
rdiff-backup
[python]
part = python3
[python-with-eggs]
[python-with-eggs]
eggs -=
eggs -=
# futures is a backport of Py3's concurrent.futures module
# futures is a backport of Py3's concurrent.futures module
...
...
software/slaprunner/software.cfg
View file @
8583ace9
...
@@ -18,7 +18,6 @@ extends =
...
@@ -18,7 +18,6 @@ extends =
../../component/mosh/buildout.cfg
../../component/mosh/buildout.cfg
../../component/rsync/buildout.cfg
../../component/rsync/buildout.cfg
../../component/pycurl/buildout.cfg
../../component/pycurl/buildout.cfg
../../component/python-2.7/buildout.cfg
../../component/screen/buildout.cfg
../../component/screen/buildout.cfg
../../component/shellinabox/buildout.cfg
../../component/shellinabox/buildout.cfg
../../component/vim/buildout.cfg
../../component/vim/buildout.cfg
...
...
software/theia/software.cfg
View file @
8583ace9
[buildout]
[buildout]
extends =
extends =
../../component/python3/buildout.cfg
../../component/python-2.7/buildout.cfg
../../component/nodejs/buildout.cfg
../../component/nodejs/buildout.cfg
../../component/caddy/buildout.cfg
../../component/caddy/buildout.cfg
../../component/git/buildout.cfg
../../component/git/buildout.cfg
...
@@ -56,7 +54,7 @@ mode = 0644
...
@@ -56,7 +54,7 @@ mode = 0644
[theia]
[theia]
recipe = plone.recipe.command
recipe = plone.recipe.command
command = ${bash:location}/bin/bash -c "
command = ${bash:location}/bin/bash -c "
export TMPDIR=${:location}/tmp PATH=${nodejs:location}/bin
/:${python2.7:location}/bin/
:$PATH &&
export TMPDIR=${:location}/tmp PATH=${nodejs:location}/bin:$PATH &&
mkdir -p ${:location} && \
mkdir -p ${:location} && \
mkdir -p \$TMPDIR && \
mkdir -p \$TMPDIR && \
mkdir -p ${:THEIA_DEFAULT_PLUGINS} && \
mkdir -p ${:THEIA_DEFAULT_PLUGINS} && \
...
...
software/varnish/software.cfg
View file @
8583ace9
...
@@ -8,7 +8,6 @@ extends =
...
@@ -8,7 +8,6 @@ extends =
../../component/gzip/buildout.cfg
../../component/gzip/buildout.cfg
../../component/logrotate/buildout.cfg
../../component/logrotate/buildout.cfg
../../component/pycurl/buildout.cfg
../../component/pycurl/buildout.cfg
../../component/python-2.7/buildout.cfg
../../component/stunnel/buildout.cfg
../../component/stunnel/buildout.cfg
../../component/varnish/buildout.cfg
../../component/varnish/buildout.cfg
../../component/wget/buildout.cfg
../../component/wget/buildout.cfg
...
...
stack/cloudooo.cfg
View file @
8583ace9
...
@@ -23,7 +23,6 @@ extends =
...
@@ -23,7 +23,6 @@ extends =
../component/mesa/buildout.cfg
../component/mesa/buildout.cfg
../component/onlyoffice-core/buildout.cfg
../component/onlyoffice-core/buildout.cfg
../component/poppler/buildout.cfg
../component/poppler/buildout.cfg
../component/python-2.7/buildout.cfg
../component/rdiff-backup/buildout.cfg
../component/rdiff-backup/buildout.cfg
../component/xorg/buildout.cfg
../component/xorg/buildout.cfg
...
...
stack/slapos.cfg
View file @
8583ace9
...
@@ -2,8 +2,6 @@
...
@@ -2,8 +2,6 @@
# Software Releases or Stacks can safely extend this stack.
# Software Releases or Stacks can safely extend this stack.
[buildout]
[buildout]
python = python2.7
# Developers need to add explicitely this part in their software profile
# Developers need to add explicitely this part in their software profile
# parts = slapos-cookbook
# parts = slapos-cookbook
# Note that if you want a develop version of slapos-cookbook from a git
# Note that if you want a develop version of slapos-cookbook from a git
...
@@ -22,9 +20,9 @@ allow-picked-versions = false
...
@@ -22,9 +20,9 @@ allow-picked-versions = false
# Use shacache and lxml
# Use shacache and lxml
extends =
extends =
../component/defaults.cfg
../component/git/buildout.cfg
../component/git/buildout.cfg
../component/lxml-python/buildout.cfg
../component/lxml-python/buildout.cfg
../component/python-2.7/buildout.cfg
../component/python-cffi/buildout.cfg
../component/python-cffi/buildout.cfg
../component/python-cliff/buildout.cfg
../component/python-cliff/buildout.cfg
../component/python-cachecontrol/buildout.cfg
../component/python-cachecontrol/buildout.cfg
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment