From b79abf8086b3222c15334aafa064bdc8cdc5644e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikko=20V=C3=A4rri?= Date: Mon, 10 Sep 2012 08:17:04 -0500 Subject: development/gaphor: Add a patch and a new dependency. Signed-off-by: Robby Workman --- development/gaphor/fix_zope_component_registry.patch | 19 +++++++++++++++++++ development/gaphor/gaphor.SlackBuild | 3 +++ development/gaphor/gaphor.info | 2 +- 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 development/gaphor/fix_zope_component_registry.patch (limited to 'development') diff --git a/development/gaphor/fix_zope_component_registry.patch b/development/gaphor/fix_zope_component_registry.patch new file mode 100644 index 000000000000..36e15aaa417c --- /dev/null +++ b/development/gaphor/fix_zope_component_registry.patch @@ -0,0 +1,19 @@ +--- gaphor/services/componentregistry.py.orig 2012-08-08 13:57:32.000000000 +0300 ++++ gaphor/services/componentregistry.py 2012-08-08 13:57:57.000000000 +0300 +@@ -7,6 +7,7 @@ + """ + + from zope import interface, component ++from zope.component import registry + from gaphor.core import inject + from gaphor.interfaces import IService, IEventFilter + +@@ -27,7 +28,7 @@ + pass + + def init(self, app): +- self._components = component.registry.Components( ++ self._components = registry.Components( + name='component_registry', + bases=(component.getGlobalSiteManager(),)) + diff --git a/development/gaphor/gaphor.SlackBuild b/development/gaphor/gaphor.SlackBuild index 139ffaeba5e6..1d7a9936aa89 100644 --- a/development/gaphor/gaphor.SlackBuild +++ b/development/gaphor/gaphor.SlackBuild @@ -55,6 +55,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# A patch from upstream git +patch -p0 <$CWD/fix_zope_component_registry.patch + python setup.py install --root=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/development/gaphor/gaphor.info b/development/gaphor/gaphor.info index 1491b607f452..1eafc36b215a 100644 --- a/development/gaphor/gaphor.info +++ b/development/gaphor/gaphor.info @@ -5,6 +5,6 @@ DOWNLOAD="http://pypi.python.org/packages/source/g/gaphor/gaphor-0.17.1.tar.gz" MD5SUM="cf7b6e1f752913f19a69c7addcfe00d5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="zope.component gaphas" +REQUIRES="etk.docking zope.component gaphas" MAINTAINER="Mikko Värri" EMAIL="vmj@linuxbox.fi" -- cgit v1.2.3