-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-PDEPEND=">=app-portage/layman-2.2.0[g-sorcery,$(python_gen_usedep 'python*')]"
+PDEPEND=">=app-portage/layman-2.2.0[g-sorcery,${PYTHON_USEDEP}]"
python_install_all() {
distutils-r1_python_install_all
IUSE="bson git"
KEYWORDS="~amd64 ~hppa ~x86"
-DEPEND="bson? ( dev-python/pymongo[$(python_gen_usedep 'python*')] )
+DEPEND="bson? ( dev-python/pymongo[${PYTHON_USEDEP}] )
git? ( dev-vcs/git )
- sys-apps/portage[$(python_gen_usedep 'python*')]"
+ sys-apps/portage[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"
-PDEPEND=">=app-portage/layman-2.2.0[g-sorcery(-),$(python_gen_usedep 'python*')]"
+PDEPEND=">=app-portage/layman-2.2.0[g-sorcery(-),${PYTHON_USEDEP}]"
python_test() {
PYTHONPATH="." "${PYTHON}" scripts/run_tests.py
IUSE="bson"
KEYWORDS="~amd64 ~hppa ~x86"
-DEPEND="bson? ( dev-python/pymongo[$(python_gen_usedep 'python*')] )
- sys-apps/portage[$(python_gen_usedep 'python*')]"
+DEPEND="bson? ( dev-python/pymongo[${PYTHON_USEDEP}] )
+ sys-apps/portage[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"
-PDEPEND=">=app-portage/layman-2.2.0[g-sorcery(-),$(python_gen_usedep 'python*')]"
+PDEPEND=">=app-portage/layman-2.2.0[g-sorcery(-),${PYTHON_USEDEP}]"
python_test() {
PYTHONPATH="." "${PYTHON}" scripts/run_tests.py
SLOT="0"
IUSE="bson git"
-DEPEND="bson? ( dev-python/pymongo[$(python_gen_usedep 'python*')] )
+DEPEND="bson? ( dev-python/pymongo[${PYTHON_USEDEP}] )
git? ( dev-vcs/git )
- sys-apps/portage[$(python_gen_usedep 'python*')]"
+ sys-apps/portage[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"
-PDEPEND=">=app-portage/layman-2.2.0[g-sorcery(-),$(python_gen_usedep 'python*')]"
+PDEPEND=">=app-portage/layman-2.2.0[g-sorcery(-),${PYTHON_USEDEP}]"
python_test() {
PYTHONPATH="." "${PYTHON}" scripts/run_tests.py