net-nds/luma in portage seems a bit old, 2.2.1 is current. ebuild requested Reproducible: Always Steps to Reproduce: 1. 2. 3. i modified the 2.1.3 ebuild ti install 2.2.1 but i get an error trying to start it: Traceback (most recent call last): File "/usr/bin/luma", line 21, in ? from base.gui.MainWin import MainWin File "/usr/lib/luma/base/gui/MainWin.py", line 28, in ? from base.gui.ImprovedServerDialog import ImprovedServerDialog ImportError: cannot import name ImprovedServerDialog
The 2.2.1 emerge log for the edited 2.1.3 ebuild has this in it: WARNING: The specified prefix is NOT present in your PATH variable. Add PREFIX to your PATH and then Start LUMA by typing 'luma' from anywhere in the console.
The above message also occurs when merging 2.1.3 which does run, so it appears to not be very helpful.
luma 2.2.1 runs if i manually run the install.py but not when using the renamed ebuild
The file file modification code must not be used anymore. This is ebuild works for me: # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils qt3 DESCRIPTION="Luma is a graphical utility for accessing and managing data stored on LDAP servers." HOMEPAGE="http://luma.sourceforge.net/" SRC_URI="mirror://sourceforge/luma/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="ppc ~sparc x86" IUSE="samba" RDEPEND="$(qt_min_version 3.2) >=dev-lang/python-2.3 >=dev-python/PyQt-3.10 >=dev-python/python-ldap-2.0.1 samba? ( >=dev-python/py-smbpasswd-1.0 )" DEPEND="$(qt_min_version 3.2) >=dev-lang/python-2.3 >=dev-python/PyQt-3.10 >=dev-python/python-ldap-2.0.1 samba? ( >=dev-python/py-smbpasswd-1.0 )" src_install() { dodir /usr python install.py --prefix=${D}/usr make_desktop_entry "luma" Luma "/usr/share/luma/icons/luma-128.png" "System;Qt" }
in cvs