diff options
author | Justin Lecher <jlec@gentoo.org> | 2012-03-25 13:32:25 +0200 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2012-03-25 13:32:25 +0200 |
commit | eef9396c5e4e63d9746154a556c73f0968568d71 (patch) | |
tree | ba9c5b43eb58dde49c4f81e7ee343496245855c1 /sci-chemistry/ball/ball-9999.ebuild | |
parent | New addition, written by me, #406401 (diff) | |
download | sci-eef9396c5e4e63d9746154a556c73f0968568d71.tar.gz sci-eef9396c5e4e63d9746154a556c73f0968568d71.tar.bz2 sci-eef9396c5e4e63d9746154a556c73f0968568d71.zip |
Correct usage of python.eclass
(Portage version: 2.2.0_alpha95/git/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'sci-chemistry/ball/ball-9999.ebuild')
-rw-r--r-- | sci-chemistry/ball/ball-9999.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sci-chemistry/ball/ball-9999.ebuild b/sci-chemistry/ball/ball-9999.ebuild index fc7306d67..168967693 100644 --- a/sci-chemistry/ball/ball-9999.ebuild +++ b/sci-chemistry/ball/ball-9999.ebuild @@ -42,6 +42,12 @@ DEPEND="${RDEPEND} sys-devel/bison virtual/yacc" +pkg_setup() { + use python \ + && python_set_active_version 2 \ + && python_pkg_setup +} + src_prepare() { sed \ -e '/INSTALL_DIRECTORY/s:"lib":${CMAKE_INSTALL_LIBDIR}:g' \ |