summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSérgio Almeida <mephx@thedude.(none)>2009-06-17 18:45:31 +0100
committerSérgio Almeida <mephx@thedude.(none)>2009-06-17 18:45:31 +0100
commit5e561c1bb476977119fb947a4e21fe6dd4e3c314 (patch)
treeedc9261465523b884f869145aa97a0b7dd9ccd2b /modules/python.uselect
downloaduselect-5e561c1bb476977119fb947a4e21fe6dd4e3c314.tar.gz
uselect-5e561c1bb476977119fb947a4e21fe6dd4e3c314.tar.bz2
uselect-5e561c1bb476977119fb947a4e21fe6dd4e3c314.zip
Initial Universal Select Tool Commit
Diffstat (limited to 'modules/python.uselect')
-rw-r--r--modules/python.uselect21
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/python.uselect b/modules/python.uselect
new file mode 100644
index 0000000..79df588
--- /dev/null
+++ b/modules/python.uselect
@@ -0,0 +1,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