diff options
-rw-r--r-- | development/gaphor/fix_zope_component_registry.patch | 19 | ||||
-rw-r--r-- | development/gaphor/gaphor.SlackBuild | 3 | ||||
-rw-r--r-- | development/gaphor/gaphor.info | 2 |
3 files changed, 23 insertions, 1 deletions
diff --git a/development/gaphor/fix_zope_component_registry.patch b/development/gaphor/fix_zope_component_registry.patch new file mode 100644 index 0000000000..36e15aaa41 --- /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 139ffaeba5..1d7a9936aa 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 1491b607f4..1eafc36b21 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" |