From da9ceaa1579e60df78294b2cb885e78cf3ce8d05 Mon Sep 17 00:00:00 2001
From: Julien Muchembled <jm@nexedi.com>
Date: Wed, 11 Mar 2020 17:27:46 +0100
Subject: [PATCH] Remove old/unused components: apache-wsgi, flare,
 python-setuptools

---
 component/apache-wsgi/buildout.cfg       | 43 ------------------------
 component/flare/buildout.cfg             | 18 ----------
 component/python-setuptools/buildout.cfg | 27 ---------------
 3 files changed, 88 deletions(-)
 delete mode 100644 component/apache-wsgi/buildout.cfg
 delete mode 100644 component/flare/buildout.cfg
 delete mode 100644 component/python-setuptools/buildout.cfg

diff --git a/component/apache-wsgi/buildout.cfg b/component/apache-wsgi/buildout.cfg
deleted file mode 100644
index 37ae800ee..000000000
--- a/component/apache-wsgi/buildout.cfg
+++ /dev/null
@@ -1,43 +0,0 @@
-[buildout]
-
-extends = 
-  ../apache/buildout.cfg
-  ../python-2.7/buildout.cfg
-  ../bzip2/buildout.cfg
-  ../gdbm/buildout.cfg
-  ../gettext/buildout.cfg
-  ../libexpat/buildout.cfg
-  ../ncurses/buildout.cfg
-  ../openssl/buildout.cfg
-  ../readline/buildout.cfg
-  ../sqlite3/buildout.cfg
-  ../zlib/buildout.cfg
-  ../file/buildout.cfg
-
-parts =
-  apache-wsgi
-
-[python2.7]
-configure-options =
-  --enable-shared
-  --disable-static
-  --enable-ipv6
-  --enable-unicode=ucs4
-  --with-system-expat
-  --with-threads
-
-environment =
-  CPPFLAGS=-I${zlib:location}/include -I${readline:location}/include -I${libexpat:location}/include -I${ncurses:location}/include -I${ncurses:location}/include/ncursesw -I${bzip2:location}/include  -I${gdbm:location}/include -I${openssl:location}/include -I${sqlite3:location}/include -I${gettext:location}/include
-  LDFLAGS=-L${zlib:location}/lib -L${readline:location}/lib -L${libexpat:location}/lib -L${ncurses:location}/lib -L${bzip2:location}/lib -L${gdbm:location}/lib -L${openssl:location}/lib -L${sqlite3:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${readline:location}/lib -Wl,-rpath=${libexpat:location}/lib -Wl,-rpath=${ncurses:location}/lib -Wl,-rpath=${bzip2:location}/lib -Wl,-rpath=${gdbm:location}/lib -Wl,-rpath=${openssl:location}/lib -Wl,-rpath=${sqlite3:location}/lib -L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib -Wl,-rpath=${file:location}/lib
-  LD_RUN_PATH=${buildout:parts-directory}/${:_buildout_section_name_}/lib
-  
-[apache-wsgi]
-recipe = hexagonit.recipe.cmmi
-url = http://modwsgi.googlecode.com/files/mod_wsgi-3.4.tar.gz
-md5sum = f42d69190ea0c337ef259cbe8d94d985
-configure-options =
-  --with-apxs=${apache:location}/bin/apxs
-  --with-python=${python2.7:location}/bin/python2.7
-environment =
-  CPPFLAGS = -I${python2.7:location}/include/python2.7
-  LDFLAGS = -L${python2.7:location}/lib
diff --git a/component/flare/buildout.cfg b/component/flare/buildout.cfg
deleted file mode 100644
index e2d25bedd..000000000
--- a/component/flare/buildout.cfg
+++ /dev/null
@@ -1,18 +0,0 @@
-[buildout]
-extends =
-  ../boost-lib/buildout.cfg
-  ../tokyocabinet/buildout.cfg
-
-parts =
-  flare
-
-[flare]
-recipe = slapos.recipe.cmmi
-url = http://labs.gree.jp/data/source/flare-1.0.9.tgz
-md5sum = e59ccce1ba29e7edf6f665561678d5c8
-configure-options =
-  --with-tokyocabinet=${tokyocabinet:location}
-  --with-boost=${boost-lib:location}
-environment =
-  LDFLAGS =-Wl,-rpath=${tokyocabinet:location}/lib -Wl,-rpath=${boost-lib:location}/lib
-
diff --git a/component/python-setuptools/buildout.cfg b/component/python-setuptools/buildout.cfg
deleted file mode 100644
index cda796626..000000000
--- a/component/python-setuptools/buildout.cfg
+++ /dev/null
@@ -1,27 +0,0 @@
-[buildout]
-parts = python-setuptools
-
-[setuptools-download]
-recipe = hexagonit.recipe.download
-ignore-existing = true
-download-only = true
-package_suffix = setuptools-18.4
-filename = ${:package_suffix}.tar.gz
-url = https://pypi.python.org/packages/source/s/setuptools/${:filename}
-md5sum = 214c6c43bd7035e870c1beab402c48e7
-mode = 0644
-
-[python-setuptools]
-# Hack to manually install setuptools outside of the Buildout environment.
-# It is useful in case of using things like "python setup.py test" in eggs
-# downloaded from source (so not using bildout magic).
-# To be able to use it, you should in your instance do an:
-# export PYTHONPATH=${:location} (defined in ${:environment})
-location = ${buildout:parts-directory}/${:_buildout_section_name_}
-pythonpath = ${:location}/${setuptools-download:package_suffix}
-environment = export PATH=${python2.7:location}/bin:$PATH; export PYTHONPATH=${:pythonpath};
-stop-on-error = true
-recipe = plone.recipe.command
-update = true
-# chmod is a hack, but the mode of hexagonit.recipe.download above didn't worked yet (there was new version recently)
-command = ${:environment} (mkdir ${:location}; cd ${:location} && tar -xzvf ${setuptools-download:location}/${setuptools-download:filename} && cd ${:pythonpath} && ${buildout:executable} setup.py build) || (rm -fr ${:location}; exit 1)
-- 
2.30.9