[buildout] parts = python-slip-egg [python-slip] # BUG: This section does FS changes outside location. recipe = slapos.recipe.cmmi url = https://github.com/nphilipp/python-slip/releases/download/python-slip-0.6.5/python-slip-0.6.5.tar.bz2 md5sum = 28ae5f93853466c44ec96706ba2a1eb4 configure-command = true make-targets = make-binary = make all cp -ax . ${:slip}/ cp -ax . ${:slip.dbus}/ sed -i '/setup(name="slip.dbus"/,/"gtk", "pango"])/d' ${:slip}/setup.py sed -i '/setup(name="slip"/,/selinux"])/d' ${:slip.dbus}/setup.py sed -i '/if sys.version_info.major/,/"gtk", "pango"])/d' ${:slip.dbus}/setup.py slip = ${buildout:parts-directory}/slip slip.dbus = ${buildout:parts-directory}/slip.dbus [slip.dbus-develop] recipe = zc.recipe.egg:develop setup = ${python-slip:slip.dbus} egg-name = slip.dbus [slip-develop] recipe = zc.recipe.egg:develop setup = ${python-slip:slip} egg-name = slip [python-slip-egg] recipe = zc.recipe.egg eggs = ${slip-develop:egg-name} ${slip.dbus-develop:egg-name}