summaryrefslogtreecommitdiff
path: root/development/gaphor
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2012-09-10 08:17:04 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-09-10 16:37:33 -0500
commitb79abf8086b3222c15334aafa064bdc8cdc5644e (patch)
tree428a1194fbea76ecd09102bb94d208f4d4f797fb /development/gaphor
parent9f7bf98d550d750462e8a85f2aff1b3374bd11c2 (diff)
downloadslackbuilds-b79abf8086b3222c15334aafa064bdc8cdc5644e.tar.gz
development/gaphor: Add a patch and a new dependency.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/gaphor')
-rw-r--r--development/gaphor/fix_zope_component_registry.patch19
-rw-r--r--development/gaphor/gaphor.SlackBuild3
-rw-r--r--development/gaphor/gaphor.info2
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"