Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jun 2004 11:17:30 -0400 (EDT)
From:      michael johnson <ahze@ahze.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/68332: [NEW PORT] devel/py-xdg: A python library to access freedesktop.org standards
Message-ID:  <20040625151730.02BE75CD6@gentoo.ahze.net>
Resent-Message-ID: <200406251520.i5PFKElg078114@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         68332
>Category:       ports
>Synopsis:       [NEW PORT] devel/py-xdg: A python library to access freedesktop.org standards
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 25 15:20:14 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     michael johnson
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD gentoo.ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #53: Fri Jun 11 22:50:16 EDT 2004
>Description:
A python library to access freedesktop.org standards. 

Currently supported are:
 o Base Directory Specification
 o Menu Specification
 o Desktop Entry Specification
 o Icon Theme Specification

WWW:	http://freedesktop.org/Software/pyxdg

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- py-xdg-0.5.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-xdg
#	py-xdg/pkg-descr
#	py-xdg/Makefile
#	py-xdg/pkg-plist
#	py-xdg/distinfo
#	py-xdg/files
#	py-xdg/files/patch-xdg::IconTheme.py
#
echo c - py-xdg
mkdir -p py-xdg > /dev/null 2>&1
echo x - py-xdg/pkg-descr
sed 's/^X//' >py-xdg/pkg-descr << 'END-of-py-xdg/pkg-descr'
XA python library to access freedesktop.org standards. 
X
XCurrently supported are:
X o Base Directory Specification
X o Menu Specification
X o Desktop Entry Specification
X o Icon Theme Specification
X
XWWW:	http://freedesktop.org/Software/pyxdg
END-of-py-xdg/pkg-descr
echo x - py-xdg/Makefile
sed 's/^X//' >py-xdg/Makefile << 'END-of-py-xdg/Makefile'
X# New ports collection makefile for:	py-xdg
X# Date created:		2004-06-25
X# Whom:			michael johnson <ahze@ahze.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	xdg
XPORTVERSION=	0.5
XCATEGORIES=	devel python
XMASTER_SITES=	http://freedesktop.org/Software/pyxdg/releases/
XPKGNAMEPREFIX=	py-
XDISTNAME=	py${PORTNAME}-${PORTVERSION}
X
XMAINTAINER=	ahze@ahze.net
XCOMMENT=	A python library to access freedesktop.org standards
X
XUSE_PYTHON=	yes
XUSE_PYDISTUTILS=yes
XUSE_REINPLACE=	yes
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|; \
X		s|/usr/share|/usr/share:${X11BASE}/share|' \
X		${WRKSRC}/xdg/BaseDirectory.py
X	@${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|' \
X			${WRKSRC}/xdg/IconTheme.py
X
X.include <bsd.port.mk>
END-of-py-xdg/Makefile
echo x - py-xdg/pkg-plist
sed 's/^X//' >py-xdg/pkg-plist << 'END-of-py-xdg/pkg-plist'
X%%PYTHON_SITELIBDIR%%/xdg/BaseDirectory.py
X%%PYTHON_SITELIBDIR%%/xdg/BaseDirectory.pyc
X%%PYTHON_SITELIBDIR%%/xdg/BaseDirectory.pyo
X%%PYTHON_SITELIBDIR%%/xdg/DesktopEntry.py
X%%PYTHON_SITELIBDIR%%/xdg/DesktopEntry.pyc
X%%PYTHON_SITELIBDIR%%/xdg/DesktopEntry.pyo
X%%PYTHON_SITELIBDIR%%/xdg/Exceptions.py
X%%PYTHON_SITELIBDIR%%/xdg/Exceptions.pyc
X%%PYTHON_SITELIBDIR%%/xdg/Exceptions.pyo
X%%PYTHON_SITELIBDIR%%/xdg/IconTheme.py
X%%PYTHON_SITELIBDIR%%/xdg/IconTheme.pyc
X%%PYTHON_SITELIBDIR%%/xdg/IconTheme.pyo
X%%PYTHON_SITELIBDIR%%/xdg/IniFile.py
X%%PYTHON_SITELIBDIR%%/xdg/IniFile.pyc
X%%PYTHON_SITELIBDIR%%/xdg/IniFile.pyo
X%%PYTHON_SITELIBDIR%%/xdg/Menu.py
X%%PYTHON_SITELIBDIR%%/xdg/Menu.pyc
X%%PYTHON_SITELIBDIR%%/xdg/Menu.pyo
X%%PYTHON_SITELIBDIR%%/xdg/__init__.py
X%%PYTHON_SITELIBDIR%%/xdg/__init__.pyc
X%%PYTHON_SITELIBDIR%%/xdg/__init__.pyo
X@dirrm %%PYTHON_SITELIBDIR%%/xdg
END-of-py-xdg/pkg-plist
echo x - py-xdg/distinfo
sed 's/^X//' >py-xdg/distinfo << 'END-of-py-xdg/distinfo'
XMD5 (pyxdg-0.5.tar.gz) = 1a399b10608027035784e80c12d1c6ff
XSIZE (pyxdg-0.5.tar.gz) = 25208
END-of-py-xdg/distinfo
echo c - py-xdg/files
mkdir -p py-xdg/files > /dev/null 2>&1
echo x - py-xdg/files/patch-xdg::IconTheme.py
sed 's/^X//' >py-xdg/files/patch-xdg::IconTheme.py << 'END-of-py-xdg/files/patch-xdg::IconTheme.py'
X--- xdg/IconTheme.py.orig	Fri Jun 25 10:57:25 2004
X+++ xdg/IconTheme.py	Fri Jun 25 11:00:15 2004
X@@ -212,7 +212,8 @@
X icondirs = []
X for basedir in xdg_data_dirs:
X 	icondirs.append(os.path.join(basedir, "icons"))
X-icondirs.append("/usr/share/pixmaps")
X+icondirs.append("%%X11BASE%%/share/gnome/pixmaps")
X+icondirs.append("%%X11BASE%%/share/icons")
X icondirs.append(os.path.expanduser("~/.icons"))
X 
X # just cache variables, they give a 10x speed improvement
END-of-py-xdg/files/patch-xdg::IconTheme.py
exit
--- py-xdg-0.5.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040625151730.02BE75CD6>