summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Birchinger <joker@gentoo.org>2014-06-20 14:13:34 +0000
committerChristian Birchinger <joker@gentoo.org>2014-06-20 14:13:34 +0000
commitddf1f0ec61975b3c6d039ec8e1029ecd889277ea (patch)
treece63ed3fafec012667bc552913d6dda738b72d84 /sys-apps/razercfg
parentMask USE=libadns (bug #513982). (diff)
downloadgentoo-2-ddf1f0ec61975b3c6d039ec8e1029ecd889277ea.tar.gz
gentoo-2-ddf1f0ec61975b3c6d039ec8e1029ecd889277ea.tar.bz2
gentoo-2-ddf1f0ec61975b3c6d039ec8e1029ecd889277ea.zip
Change the Python interpreter detection.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x0151863A67652900!)
Diffstat (limited to 'sys-apps/razercfg')
-rw-r--r--sys-apps/razercfg/ChangeLog5
-rw-r--r--sys-apps/razercfg/razercfg-0.26.ebuild13
2 files changed, 9 insertions, 9 deletions
diff --git a/sys-apps/razercfg/ChangeLog b/sys-apps/razercfg/ChangeLog
index fe4a903cb71f..d248fda54d87 100644
--- a/sys-apps/razercfg/ChangeLog
+++ b/sys-apps/razercfg/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/razercfg
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/razercfg/ChangeLog,v 1.25 2014/06/20 13:43:08 joker Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/razercfg/ChangeLog,v 1.26 2014/06/20 14:13:34 joker Exp $
+
+ 20 Jun 2014; Christian Birchinger <joker@gentoo.org> razercfg-0.26.ebuild:
+ Change the Python interpreter detection.
*razercfg-0.26 (20 Jun 2014)
diff --git a/sys-apps/razercfg/razercfg-0.26.ebuild b/sys-apps/razercfg/razercfg-0.26.ebuild
index 132977b68b10..b92b1d054a7c 100644
--- a/sys-apps/razercfg/razercfg-0.26.ebuild
+++ b/sys-apps/razercfg/razercfg-0.26.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/razercfg/razercfg-0.26.ebuild,v 1.1 2014/06/20 13:43:08 joker Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/razercfg/razercfg-0.26.ebuild,v 1.2 2014/06/20 14:13:34 joker Exp $
EAPI=5
@@ -38,12 +38,11 @@ src_prepare() {
-e "s:DESTINATION lib:DESTINATION $(get_libdir):" \
librazer/CMakeLists.txt \
|| die "sed failed"
+}
- # setup.py creates a totaly wrong interperter path for python_fix_shebang
- sed -i \
- -e 's:build -b:build -e /usr/bin/python3 -b:' \
- ui/CMakeLists.txt \
- || die "sed failed"
+src_configure() {
+ mycmakeargs="${mycmakeargs} -DPYTHON='${PYTHON}'"
+ cmake-utils_src_configure
}
src_install() {
@@ -58,8 +57,6 @@ src_install() {
fi
use pm-utils || rm "${D}"/usr/$(get_libdir)/pm-utils/sleep.d/80razer
-
- python_fix_shebang "${ED}"usr/bin
}
pkg_postinst() {