- fix an indentation error

from David Coppa on ports@, thanks!
This commit is contained in:
ajacoutot 2009-02-05 07:46:27 +00:00
parent d773a9a215
commit 9c091c55c1
3 changed files with 16 additions and 3 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.4 2008/10/30 14:23:31 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.5 2009/02/05 07:46:27 ajacoutot Exp $
COMMENT= python library to access freedesktop.org standards
MODPY_EGG_VERSION= 0.16
DISTNAME= pyxdg-${MODPY_EGG_VERSION}
PKGNAME= py-xdg-${MODPY_EGG_VERSION}
PKGNAME= py-xdg-${MODPY_EGG_VERSION}p0
CATEGORIES= devel

View File

@ -0,0 +1,12 @@
$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

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.2 2008/10/30 14:19:24 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.3 2009/02/05 07:46:27 ajacoutot Exp $
lib/python${MODPY_VERSION}/site-packages/pyxdg-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
lib/python${MODPY_VERSION}/site-packages/xdg/
lib/python${MODPY_VERSION}/site-packages/xdg/BaseDirectory.py
@ -6,6 +6,7 @@ lib/python${MODPY_VERSION}/site-packages/xdg/BaseDirectory.pyc
lib/python${MODPY_VERSION}/site-packages/xdg/Config.py
lib/python${MODPY_VERSION}/site-packages/xdg/Config.pyc
lib/python${MODPY_VERSION}/site-packages/xdg/DesktopEntry.py
lib/python${MODPY_VERSION}/site-packages/xdg/DesktopEntry.pyc
lib/python${MODPY_VERSION}/site-packages/xdg/Exceptions.py
lib/python${MODPY_VERSION}/site-packages/xdg/Exceptions.pyc
lib/python${MODPY_VERSION}/site-packages/xdg/IconTheme.py