# 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