diff options
author | Mike Gilbert <floppym@gentoo.org> | 2021-07-14 16:44:27 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2021-07-14 16:44:27 -0400 |
commit | 084e189ebf56438c5bddc0346c490a61445cb27e (patch) | |
tree | 7cfe9ec9f832f13c48f5ac1a57f0d5238e2bae14 /sys-fs/udev | |
parent | net-wireless/bluez: remove unused files (diff) | |
download | gentoo-084e189ebf56438c5bddc0346c490a61445cb27e.tar.gz gentoo-084e189ebf56438c5bddc0346c490a61445cb27e.tar.bz2 gentoo-084e189ebf56438c5bddc0346c490a61445cb27e.zip |
sys-fs/udev: depend on dev-python/jinja
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-fs/udev')
-rw-r--r-- | sys-fs/udev/udev-249-r1.ebuild | 5 | ||||
-rw-r--r-- | sys-fs/udev/udev-9999.ebuild | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/sys-fs/udev/udev-249-r1.ebuild b/sys-fs/udev/udev-249-r1.ebuild index 52595ad4a4e8..412b8abefde7 100644 --- a/sys-fs/udev/udev-249-r1.ebuild +++ b/sys-fs/udev/udev-249-r1.ebuild @@ -41,6 +41,7 @@ BDEPEND=" app-text/docbook-xsl-stylesheets dev-libs/libxslt ${PYTHON_DEPS} + $(python_gen_any_dep 'dev-python/jinja[${PYTHON_USEDEP}]') " COMMON_DEPEND=" >=sys-apps/util-linux-2.30[${MULTILIB_USEDEP}] @@ -71,6 +72,10 @@ RDEPEND="${COMMON_DEPEND} PDEPEND=">=sys-apps/hwids-20140304[udev] >=sys-fs/udev-init-scripts-34" +python_check_deps() { + has_version -b "dev-python/jinja[${PYTHON_USEDEP}]" +} + pkg_setup() { if [[ ${MERGE_TYPE} != buildonly ]] ; then CONFIG_CHECK="~BLK_DEV_BSG ~DEVTMPFS ~!IDE ~INOTIFY_USER ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2 ~SIGNALFD ~EPOLL ~FHANDLE ~NET ~!FW_LOADER_USER_HELPER ~UNIX" diff --git a/sys-fs/udev/udev-9999.ebuild b/sys-fs/udev/udev-9999.ebuild index 6a9acda5e0ff..889f61023243 100644 --- a/sys-fs/udev/udev-9999.ebuild +++ b/sys-fs/udev/udev-9999.ebuild @@ -41,6 +41,7 @@ BDEPEND=" app-text/docbook-xsl-stylesheets dev-libs/libxslt ${PYTHON_DEPS} + $(python_gen_any_dep 'dev-python/jinja[${PYTHON_USEDEP}]') " COMMON_DEPEND=" >=sys-apps/util-linux-2.30[${MULTILIB_USEDEP}] @@ -71,6 +72,10 @@ RDEPEND="${COMMON_DEPEND} PDEPEND=">=sys-apps/hwids-20140304[udev] >=sys-fs/udev-init-scripts-34" +python_check_deps() { + has_version -b "dev-python/jinja[${PYTHON_USEDEP}]" +} + pkg_setup() { if [[ ${MERGE_TYPE} != buildonly ]] ; then CONFIG_CHECK="~BLK_DEV_BSG ~DEVTMPFS ~!IDE ~INOTIFY_USER ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2 ~SIGNALFD ~EPOLL ~FHANDLE ~NET ~!FW_LOADER_USER_HELPER ~UNIX" |