summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2008-05-17 12:55:10 +0000
committerSamuli Suominen <drac@gentoo.org>2008-05-17 12:55:10 +0000
commit2f367bf4aa864237a89fcff1320f96a36bb9634a (patch)
tree07048276defbd1c3fd768ca7cb5870b49e85e0b1 /dev-python
parentMade stripping of -g CXXFLAG unconditional (diff)
downloadgentoo-2-2f367bf4aa864237a89fcff1320f96a36bb9634a.tar.gz
gentoo-2-2f367bf4aa864237a89fcff1320f96a36bb9634a.tar.bz2
gentoo-2-2f367bf4aa864237a89fcff1320f96a36bb9634a.zip
Byte-compile.
(Portage version: 2.1.5)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/fuse-python/ChangeLog5
-rw-r--r--dev-python/fuse-python/fuse-python-0.2.ebuild21
2 files changed, 21 insertions, 5 deletions
diff --git a/dev-python/fuse-python/ChangeLog b/dev-python/fuse-python/ChangeLog
index b4dc8b484ca9..a1c3757c7540 100644
--- a/dev-python/fuse-python/ChangeLog
+++ b/dev-python/fuse-python/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/fuse-python
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/fuse-python/ChangeLog,v 1.4 2008/04/26 11:44:35 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/fuse-python/ChangeLog,v 1.5 2008/05/17 12:55:10 drac Exp $
+
+ 17 May 2008; Samuli Suominen <drac@gentoo.org> fuse-python-0.2.ebuild:
+ Byte-compile.
21 Apr 2008; Markus Ullmann <jokey@gentoo.org> fuse-python-0.2.ebuild:
Actually commit the fixed ebuild instead of the unfixed one
diff --git a/dev-python/fuse-python/fuse-python-0.2.ebuild b/dev-python/fuse-python/fuse-python-0.2.ebuild
index 61b518366954..d06d88204caf 100644
--- a/dev-python/fuse-python/fuse-python-0.2.ebuild
+++ b/dev-python/fuse-python/fuse-python-0.2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/fuse-python/fuse-python-0.2.ebuild,v 1.3 2008/04/21 20:02:27 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/fuse-python/fuse-python-0.2.ebuild,v 1.4 2008/05/17 12:55:10 drac Exp $
-inherit eutils distutils
+inherit eutils distutils multilib python
KEYWORDS="~amd64 ~x86"
DESCRIPTION="Python FUSE bindings"
@@ -13,10 +13,23 @@ LICENSE="GPL-2"
SLOT="0"
IUSE=""
-RDEPEND=">=dev-lang/python-2.3
+DEPEND=">=dev-lang/python-2.3
>=sys-fs/fuse-2.0"
src_unpack () {
distutils_src_unpack
- epatch "${FILESDIR}/fuse_python_accept_none.patch"
+ epatch "${FILESDIR}"/fuse_python_accept_none.patch
+}
+
+pkg_postinst() {
+ python_version
+ python_mod_compile \
+ "${ROOT}"usr/$(get_libdir)/python${PYVER}/site-packages/fuse.py
+ python_mod_optimize \
+ "${ROOT}"usr/$(get_libdir)/python${PYVER}/site-packages/fuseparts
+}
+
+pkg_postrm() {
+ python_version
+ python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages
}