diff options
author | 2009-10-18 18:01:08 +0000 | |
---|---|---|
committer | 2009-10-18 18:01:08 +0000 | |
commit | 02f5e10352a7606058ba6f8d95c68ecc45fa1e06 (patch) | |
tree | d89e90c47095461f7946989f67dc4180cafff3df /dev-python/pyxdg | |
parent | x86 stable, bug #287697 (diff) | |
download | gentoo-2-02f5e10352a7606058ba6f8d95c68ecc45fa1e06.tar.gz gentoo-2-02f5e10352a7606058ba6f8d95c68ecc45fa1e06.tar.bz2 gentoo-2-02f5e10352a7606058ba6f8d95c68ecc45fa1e06.zip |
Respect XDG_MENU_PREFIX (bug #288914). Set SUPPORT_PYTHON_ABIS.
(Portage version: 14674-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyxdg')
-rw-r--r-- | dev-python/pyxdg/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/pyxdg/files/pyxdg-0.17-respect_XDG_MENU_PREFIX.patch | 12 | ||||
-rw-r--r-- | dev-python/pyxdg/pyxdg-0.17-r2.ebuild | 38 |
3 files changed, 57 insertions, 1 deletions
diff --git a/dev-python/pyxdg/ChangeLog b/dev-python/pyxdg/ChangeLog index b9899f824094..f3825a5ce386 100644 --- a/dev-python/pyxdg/ChangeLog +++ b/dev-python/pyxdg/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/pyxdg # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyxdg/ChangeLog,v 1.55 2009/09/04 17:57:28 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyxdg/ChangeLog,v 1.56 2009/10/18 18:01:08 arfrever Exp $ + +*pyxdg-0.17-r2 (18 Oct 2009) + + 18 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +pyxdg-0.17-r2.ebuild, +files/pyxdg-0.17-respect_XDG_MENU_PREFIX.patch: + Respect XDG_MENU_PREFIX (bug #288914). Set SUPPORT_PYTHON_ABIS. 04 Sep 2009; Patrick Lauer <patrick@gentoo.org> -pyxdg-0.15.ebuild: Remove old diff --git a/dev-python/pyxdg/files/pyxdg-0.17-respect_XDG_MENU_PREFIX.patch b/dev-python/pyxdg/files/pyxdg-0.17-respect_XDG_MENU_PREFIX.patch new file mode 100644 index 000000000000..db8804b43e93 --- /dev/null +++ b/dev-python/pyxdg/files/pyxdg-0.17-respect_XDG_MENU_PREFIX.patch @@ -0,0 +1,12 @@ +--- xdg/Menu.py ++++ xdg/Menu.py +@@ -500,6 +500,9 @@ + + # use default if no filename given + if not filename: ++ filename = __getFileName(os.environ.get("XDG_MENU_PREFIX", "") + "applications.menu") ++ ++ if not filename: + filename = __getFileName("applications.menu") + + if not filename: diff --git a/dev-python/pyxdg/pyxdg-0.17-r2.ebuild b/dev-python/pyxdg/pyxdg-0.17-r2.ebuild new file mode 100644 index 000000000000..d67243ff86fc --- /dev/null +++ b/dev-python/pyxdg/pyxdg-0.17-r2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyxdg/pyxdg-0.17-r2.ebuild,v 1.1 2009/10/18 18:01:08 arfrever Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +DESCRIPTION="A Python module to deal with freedesktop.org specifications" +SRC_URI="http://www.freedesktop.org/~lanius/${P}.tar.gz" +HOMEPAGE="http://pyxdg.freedesktop.org/" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="" +RDEPEND="" +RESTRICT_PYTHON_ABIS="3.*" + +PYTHON_MODNAME="xdg" +DOCS="AUTHORS" + +src_prepare() { + distutils_src_prepare + epatch "${FILESDIR}/${PN}-subprocess.patch" + epatch "${FILESDIR}/${P}-respect_XDG_MENU_PREFIX.patch" +} + +src_install () { + distutils_src_install + + insinto /usr/share/doc/${P}/test + insopts -m 755 + doins test/* +} |