summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2010-03-06 04:57:14 +0000
committerRyan Hill <dirtyepic@gentoo.org>2010-03-06 04:57:14 +0000
commit9f34e25738effdab230251b68c278d4fcaa61e81 (patch)
treed2276d4c849e08a83db3bde9ff1502da67751820 /dev-util/boa-constructor
parentUse SUPPORT_PYTHON_ABIS. Remove old. (diff)
downloadgentoo-2-9f34e25738effdab230251b68c278d4fcaa61e81.tar.gz
gentoo-2-9f34e25738effdab230251b68c278d4fcaa61e81.tar.bz2
gentoo-2-9f34e25738effdab230251b68c278d4fcaa61e81.zip
Clean up python bits. EAPI 2. Don't byte-compile modules to prevent
SyntaxErrors. (Portage version: 2.2_rc65/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/boa-constructor')
-rw-r--r--dev-util/boa-constructor/ChangeLog9
-rw-r--r--dev-util/boa-constructor/boa-constructor-0.6.1.ebuild21
2 files changed, 14 insertions, 16 deletions
diff --git a/dev-util/boa-constructor/ChangeLog b/dev-util/boa-constructor/ChangeLog
index 28efe7d89d65..312a081cce1b 100644
--- a/dev-util/boa-constructor/ChangeLog
+++ b/dev-util/boa-constructor/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/boa-constructor
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/boa-constructor/ChangeLog,v 1.34 2008/11/17 20:59:48 flameeyes Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/boa-constructor/ChangeLog,v 1.35 2010/03/06 04:57:14 dirtyepic Exp $
+
+ 06 Mar 2010; Ryan Hill <dirtyepic@gentoo.org>
+ boa-constructor-0.6.1.ebuild:
+ Clean up python bits. EAPI 2. Don't byte-compile modules to prevent
+ SyntaxErrors.
17 Nov 2008; Diego E. Pettenò <flameeyes@gentoo.org>
files/boa-constructor-0.4.0_alpha-wxversion.patch:
diff --git a/dev-util/boa-constructor/boa-constructor-0.6.1.ebuild b/dev-util/boa-constructor/boa-constructor-0.6.1.ebuild
index 8056c36bbfda..3c8ec72292b6 100644
--- a/dev-util/boa-constructor/boa-constructor-0.6.1.ebuild
+++ b/dev-util/boa-constructor/boa-constructor-0.6.1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/boa-constructor/boa-constructor-0.6.1.ebuild,v 1.5 2008/10/18 16:45:30 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/boa-constructor/boa-constructor-0.6.1.ebuild,v 1.6 2010/03/06 04:57:14 dirtyepic Exp $
+
+EAPI=2
inherit eutils python multilib
@@ -13,19 +15,18 @@ LICENSE="GPL-2"
KEYWORDS="~amd64 ppc ~sparc x86 ~x86-fbsd"
IUSE=""
-RDEPEND="=dev-python/wxpython-2.6*
+RDEPEND="dev-python/wxpython:2.6
dev-libs/expat"
DEPEND="${RDEPEND}
app-arch/unzip"
src_compile() {
- python -c "import compileall; compileall.compile_dir('.', force=1)"
+ "$(PYTHON)" -c "import compileall; compileall.compile_dir('.', force=1)"
}
src_install() {
- python_version
- local boadir="/usr/$(get_libdir)/python${PYVER}/site-packages/boa"
+ local boadir="$(python_get_sitedir)"/boa
local dir
for dir in $(find . -type d)
@@ -48,11 +49,3 @@ src_install() {
dodoc Bugs.txt Changes.txt Credits.txt README.txt
}
-
-pkg_postinst() {
- python_mod_optimize
-}
-
-pkg_postrm() {
- python_mod_cleanup
-}