summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-08 11:34:48 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-09 16:54:17 +0100
commitd9e2995129f77953318443f8f67b93d78dc83579 (patch)
treeee58ed35eff475154ea87db64b021e83d4cd20c4 /app-admin
parentprofiles/features/selinux: Extend portage py2.7 masks to PST (diff)
downloadgentoo-d9e2995129f77953318443f8f67b93d78dc83579.tar.gz
gentoo-d9e2995129f77953318443f8f67b93d78dc83579.tar.bz2
gentoo-d9e2995129f77953318443f8f67b93d78dc83579.zip
app-admin/calamares: Switch to python-single-r1
This package does not have *any* code to support multiple implementations, and depends on single-r1 package. Use python-single-r1 instead of hacking around python-r1 to make it work by miracle. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/calamares/calamares-3.2.12.ebuild11
-rw-r--r--app-admin/calamares/calamares-3.2.17.1-r1.ebuild (renamed from app-admin/calamares/calamares-3.2.17.1.ebuild)11
2 files changed, 12 insertions, 10 deletions
diff --git a/app-admin/calamares/calamares-3.2.12.ebuild b/app-admin/calamares/calamares-3.2.12.ebuild
index 9fea01c24f62..8ce51a9bf5da 100644
--- a/app-admin/calamares/calamares-3.2.12.ebuild
+++ b/app-admin/calamares/calamares-3.2.12.ebuild
@@ -5,7 +5,7 @@ EAPI=7
KDE_TEST="true"
PYTHON_COMPAT=( python3_6 )
-inherit kde5 python-r1
+inherit kde5 python-single-r1
DESCRIPTION="Distribution-independent installer framework"
HOMEPAGE="https://calamares.io"
@@ -41,13 +41,15 @@ COMMON_DEPEND="${PYTHON_DEPS}
$(add_qt_dep qtwidgets)
$(add_qt_dep qtxml)
dev-cpp/yaml-cpp:=
- >=dev-libs/boost-1.55:=[python,${PYTHON_USEDEP}]
- dev-libs/libpwquality[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ >=dev-libs/boost-1.55:=[python,${PYTHON_MULTI_USEDEP}]
+ dev-libs/libpwquality[${PYTHON_MULTI_USEDEP}]
+ ')
sys-apps/dbus
sys-apps/dmidecode
sys-auth/polkit-qt[qt5(+)]
>=sys-libs/kpmcore-4.0.0:5=
- pythonqt? ( >=dev-python/PythonQt-3.1:=[${PYTHON_USEDEP}] )
+ pythonqt? ( >=dev-python/PythonQt-3.1:=[${PYTHON_SINGLE_USEDEP}] )
"
DEPEND="${COMMON_DEPEND}
test? ( $(add_qt_dep qttest) )
@@ -67,7 +69,6 @@ RDEPEND="${COMMON_DEPEND}
src_prepare() {
cmake-utils_src_prepare
- python_setup
export PYTHON_INCLUDE_DIRS="$(python_get_includedir)" \
PYTHON_INCLUDE_PATH="$(python_get_library_path)"\
PYTHON_CFLAGS="$(python_get_CFLAGS)"\
diff --git a/app-admin/calamares/calamares-3.2.17.1.ebuild b/app-admin/calamares/calamares-3.2.17.1-r1.ebuild
index e94dcef7f308..de32e110d2e0 100644
--- a/app-admin/calamares/calamares-3.2.17.1.ebuild
+++ b/app-admin/calamares/calamares-3.2.17.1-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=7
ECM_TEST="true"
PYTHON_COMPAT=( python3_6 )
-inherit ecm python-r1
+inherit ecm python-single-r1
DESCRIPTION="Distribution-independent installer framework"
HOMEPAGE="https://calamares.io"
@@ -22,8 +22,10 @@ BDEPEND="
"
COMMON_DEPEND="${PYTHON_DEPS}
dev-cpp/yaml-cpp:=
- >=dev-libs/boost-1.55:=[python,${PYTHON_USEDEP}]
- dev-libs/libpwquality[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ >=dev-libs/boost-1.55:=[python,${PYTHON_MULTI_USEDEP}]
+ dev-libs/libpwquality[${PYTHON_MULTI_USEDEP}]
+ ')
dev-qt/qtconcurrent:5
dev-qt/qtdbus:5
dev-qt/qtdeclarative:5
@@ -43,7 +45,7 @@ COMMON_DEPEND="${PYTHON_DEPS}
sys-apps/dmidecode
sys-auth/polkit-qt
>=sys-libs/kpmcore-4.0.0:5=
- pythonqt? ( >=dev-python/PythonQt-3.1:=[${PYTHON_USEDEP}] )
+ pythonqt? ( >=dev-python/PythonQt-3.1:=[${PYTHON_SINGLE_USEDEP}] )
"
DEPEND="${COMMON_DEPEND}
test? ( dev-qt/qttest:5 )
@@ -63,7 +65,6 @@ RDEPEND="${COMMON_DEPEND}
src_prepare() {
ecm_src_prepare
- python_setup
export PYTHON_INCLUDE_DIRS="$(python_get_includedir)" \
PYTHON_INCLUDE_PATH="$(python_get_library_path)"\
PYTHON_CFLAGS="$(python_get_CFLAGS)"\