aboutsummaryrefslogtreecommitdiff
path: root/sysutils/yum/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/yum/Makefile')
-rw-r--r--sysutils/yum/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/sysutils/yum/Makefile b/sysutils/yum/Makefile
index fad3ec5c0adc..93485b96f632 100644
--- a/sysutils/yum/Makefile
+++ b/sysutils/yum/Makefile
@@ -17,15 +17,16 @@ BUILD_DEPENDS= bash:shells/bash \
intltool-update:textproc/intltool
RUN_DEPENDS= bash:shells/bash \
${PYTHON_SITELIBDIR}/rpm/__init__.py:archivers/rpm4 \
- ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 \
- ${PYTHON_SITELIBDIR}/sqlitecachec.py:devel/py-yum-metadata-parser \
- ${PYTHON_PKGNAMEPREFIX}iniparse>0:devel/py-iniparse \
- ${PYTHON_PKGNAMEPREFIX}urlgrabber>0:www/py-urlgrabber
+ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${FLAVOR} \
+ ${PYTHON_SITELIBDIR}/sqlitecachec.py:devel/py-yum-metadata-parser@${FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}iniparse>0:devel/py-iniparse@${FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}urlgrabber>0:www/py-urlgrabber@${FLAVOR}
ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386
ONLY_FOR_ARCHS_REASON= linux is not available for ${ARCH}
-USES= cpe gettext gmake python shebangfix
+USES= cpe gettext gmake python:2.7 shebangfix
+USE_PYTHON= flavors
SHEBANG_FILES= etc/yum-updatesd.init
CPE_VENDOR= baseurl