Update to py-xdg-0.18 which adds support for XDG_MENU_PREFIX.
prodded by landry@
This commit is contained in:
parent
fcac72bf2b
commit
7178d8128f
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.7 2009/07/12 20:28:41 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.8 2009/11/14 14:16:23 ajacoutot Exp $
|
||||
|
||||
COMMENT= python library to access freedesktop.org standards
|
||||
|
||||
MODPY_EGG_VERSION= 0.16
|
||||
MODPY_EGG_VERSION= 0.18
|
||||
DISTNAME= pyxdg-${MODPY_EGG_VERSION}
|
||||
PKGNAME= py-xdg-${MODPY_EGG_VERSION}p2
|
||||
PKGNAME= py-xdg-${MODPY_EGG_VERSION}
|
||||
|
||||
CATEGORIES= devel
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (pyxdg-0.16.tar.gz) = VbcewN+VCeBeVirEArEZ9w==
|
||||
RMD160 (pyxdg-0.16.tar.gz) = ak/R6+eg9Qyd3rT4ofZ4nRuoJO4=
|
||||
SHA1 (pyxdg-0.16.tar.gz) = Ml27LPsS9Zh3MHAi9qqAPn8IGfA=
|
||||
SHA256 (pyxdg-0.16.tar.gz) = t/kc7JtCQEpoDHgMQNN8glcB1+UzwQQ7ur9qBVHoZjU=
|
||||
SIZE (pyxdg-0.16.tar.gz) = 37284
|
||||
MD5 (pyxdg-0.18.tar.gz) = B2tXci6R2rirgwKMbvnc6g==
|
||||
RMD160 (pyxdg-0.18.tar.gz) = lIhZi+ON/jIodn4TzdSTGyzwdQY=
|
||||
SHA1 (pyxdg-0.18.tar.gz) = 1yRbR+R87WR9cABF4EcvjTzmCnw=
|
||||
SHA256 (pyxdg-0.18.tar.gz) = aG8nRJgStyD83qDQf+MeTqxxPoGDU4zvvndSYYDXyn0=
|
||||
SIZE (pyxdg-0.18.tar.gz) = 37558
|
||||
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-xdg_DesktopEntry_py,v 1.1 2009/02/05 07:46:27 ajacoutot Exp $
|
||||
--- xdg/DesktopEntry.py.orig Wed Feb 4 15:16:59 2009
|
||||
+++ xdg/DesktopEntry.py Wed Feb 4 15:18:18 2009
|
||||
@@ -181,7 +181,7 @@ class DesktopEntry(IniFile):
|
||||
else:
|
||||
#OnlyShowIn and NotShowIn
|
||||
if self.content[group].has_key("OnlyShowIn") and self.content[group].has_key("NotShowIn"):
|
||||
- self.errors.append("Group may either have OnlyShowIn or NotShowIn, but not both")
|
||||
+ self.errors.append("Group may either have OnlyShowIn or NotShowIn, but not both")
|
||||
|
||||
def checkKey(self, key, value, group):
|
||||
# standard keys
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-xdg_Menu_py,v 1.3 2008/10/30 14:23:31 ajacoutot Exp $
|
||||
--- xdg/Menu.py.orig Thu Oct 30 15:20:37 2008
|
||||
+++ xdg/Menu.py Thu Oct 30 15:20:49 2008
|
||||
@@ -495,7 +495,7 @@ def parse(filename=None):
|
||||
filename = __getFileName("applications.menu")
|
||||
|
||||
if not filename:
|
||||
- raise ParsingError('File not found', "/etc/xdg/menus/applications.menu")
|
||||
+ raise ParsingError('File not found', "${SYSCONFDIR}/xdg/menus/applications.menu")
|
||||
|
||||
# check if it is a .menu file
|
||||
if not os.path.splitext(filename)[1] == ".menu":
|
Loading…
Reference in New Issue
Block a user