From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IgVHF-0004If-Re for garchives@archives.gentoo.org; Sat, 13 Oct 2007 00:54:50 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id l9D0gDg0015552; Sat, 13 Oct 2007 00:42:14 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id l9D0biLQ008302 for ; Sat, 13 Oct 2007 00:37:44 GMT Received: from gentoo.org (c-67-171-150-177.hsd1.or.comcast.net [67.171.150.177]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 7CD7864DB4; Sat, 13 Oct 2007 00:37:43 +0000 (UTC) Date: Fri, 12 Oct 2007 17:37:40 -0700 From: Donnie Berkholz To: gentoo-dev@lists.gentoo.org, remi@gentoo.org Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-python/gnome-python: ChangeLog gnome-python-2.20.0.ebuild Message-ID: <20071013003739.GJ23990@supernova> References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) X-Archives-Salt: 866da359-a6a3-402b-bdba-4bb48514c197 X-Archives-Hash: e59d5af7393df2da55a371eb26aec33b On 12:46 Fri 12 Oct , Remi Cardona (remi) wrote: > 1.1 dev-python/gnome-python/gnome-python-2.20.0.ebuild > > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/gnome-python/gnome-python-2.20.0.ebuild?rev=1.1&view=markup > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/gnome-python/gnome-python-2.20.0.ebuild?rev=1.1&content-type=text/plain > pkg_postinst() { > python_version > python_mod_optimize /usr/lib/python${PYVER}/site-packages/gtk-2.0 > } > > pkg_postrm() { > python_version > python_mod_cleanup > } Looks like you need get_libdir(), and you don't need to run python_version() in postrm. Thanks, Donnie -- gentoo-dev@gentoo.org mailing list