summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/gnome-connection-manager/gnome-connection-manager-1.0.0-r2.ebuild')
-rw-r--r--net-misc/gnome-connection-manager/gnome-connection-manager-1.0.0-r2.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/net-misc/gnome-connection-manager/gnome-connection-manager-1.0.0-r2.ebuild b/net-misc/gnome-connection-manager/gnome-connection-manager-1.0.0-r2.ebuild
index 9473fad..aa3ac26 100644
--- a/net-misc/gnome-connection-manager/gnome-connection-manager-1.0.0-r2.ebuild
+++ b/net-misc/gnome-connection-manager/gnome-connection-manager-1.0.0-r2.ebuild
@@ -27,6 +27,11 @@ RDEPEND="${DEPEND}"
S="${WORKDIR}"/gcm-"${PV}"
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
src_prepare() {
sed -i "s|BASE_PATH = os.path.*|BASE_PATH = '/usr/share/"${PN}"'|" gnome_connection_manager.py \
|| die "Can not apply patch to BASE_PATH"
@@ -34,9 +39,6 @@ src_prepare() {
|| die "Can not apply patch to glade_dir"
sed -i "s|env python\s*$|env python2|" gnome_connection_manager.py \
|| die "Can not apply patch to python"
-
- python_set_active_version 2
- python_pkg_setup
}
src_install() {