summaryrefslogtreecommitdiff
blob: 79df58827daad5f67b4beb8b9681dbe4a4dee3f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# python.uselect mephx.x@gmail.com

module python {
	description "Python Version Switcher"
	version "0.1"
	author "mephx.x@gmail.com"
} python

user action bin {
	description "Change Python's Version"
	type sym
	sym python /usr/bin/python /usr/bin/ python([0-9]+\.[0-9]+$) *
} bin

system action config {
	description "Change Python's /usr/bin/python-config Version"
	type sym
	sym python /usr/bin/python-config /usr/bin/ python([0-9]+\.[0-9]+)-config($) *
} config