Skip to content

Commit

Permalink
dev-libs/libinput: Move tools needed for USE="doc" to BDEPEND.
Browse files Browse the repository at this point in the history
Fix commented out dependencies for USE="test".

Signed-off-by: Arfrever Frehtes Taifersar Arahesis <[email protected]>
Closes: https://bugs.gentoo.org/685774
Signed-off-by: Lars Wendler <[email protected]>
  • Loading branch information
Arfrever Frehtes Taifersar Arahesis authored and Lars Wendler committed May 13, 2019
1 parent 6656766 commit 2b22eb4
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 45 deletions.
27 changes: 12 additions & 15 deletions dev-libs/libinput/libinput-1.12.6.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 2014-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
Expand All @@ -18,14 +18,8 @@ IUSE="doc input_devices_wacom"
# Other tests are just about logs, exported symbols and autotest of the test library.
RESTRICT="test"

RDEPEND="
input_devices_wacom? ( >=dev-libs/libwacom-0.20 )
>=dev-libs/libevdev-1.3
>=sys-libs/mtdev-1.1
virtual/libudev:=
virtual/udev
"
DEPEND="${RDEPEND}
BDEPEND="
virtual/pkgconfig
doc? (
$(python_gen_any_dep '
dev-python/commonmark[${PYTHON_USEDEP}]
Expand All @@ -37,13 +31,16 @@ DEPEND="${RDEPEND}
>=media-gfx/graphviz-2.38.0
)
"
# test? (
# >=dev-libs/check-0.9.10
# dev-util/valgrind
# sys-libs/libunwind )
BDEPEND="
virtual/pkgconfig
# test? ( dev-util/valgrind )
RDEPEND="
input_devices_wacom? ( >=dev-libs/libwacom-0.20 )
>=dev-libs/libevdev-1.3
>=sys-libs/mtdev-1.1
virtual/libudev:=
virtual/udev
"
DEPEND="${RDEPEND}"
# test? ( >=dev-libs/check-0.9.10 )

python_check_deps() {
has_version "dev-python/commonmark[${PYTHON_USEDEP}]" && \
Expand Down
27 changes: 12 additions & 15 deletions dev-libs/libinput/libinput-1.13.1.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 2014-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
Expand All @@ -18,14 +18,8 @@ IUSE="doc input_devices_wacom"
# Other tests are just about logs, exported symbols and autotest of the test library.
RESTRICT="test"

RDEPEND="
input_devices_wacom? ( >=dev-libs/libwacom-0.20 )
>=dev-libs/libevdev-1.3
>=sys-libs/mtdev-1.1
virtual/libudev:=
virtual/udev
"
DEPEND="${RDEPEND}
BDEPEND="
virtual/pkgconfig
doc? (
$(python_gen_any_dep '
dev-python/commonmark[${PYTHON_USEDEP}]
Expand All @@ -37,13 +31,16 @@ DEPEND="${RDEPEND}
>=media-gfx/graphviz-2.38.0
)
"
# test? (
# >=dev-libs/check-0.9.10
# dev-util/valgrind
# sys-libs/libunwind )
BDEPEND="
virtual/pkgconfig
# test? ( dev-util/valgrind )
RDEPEND="
input_devices_wacom? ( >=dev-libs/libwacom-0.20 )
>=dev-libs/libevdev-1.3
>=sys-libs/mtdev-1.1
virtual/libudev:=
virtual/udev
"
DEPEND="${RDEPEND}"
# test? ( >=dev-libs/check-0.9.10 )

python_check_deps() {
has_version "dev-python/commonmark[${PYTHON_USEDEP}]" && \
Expand Down
27 changes: 12 additions & 15 deletions dev-libs/libinput/libinput-1.13.2.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 2014-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
Expand All @@ -18,14 +18,8 @@ IUSE="doc input_devices_wacom"
# Other tests are just about logs, exported symbols and autotest of the test library.
RESTRICT="test"

RDEPEND="
input_devices_wacom? ( >=dev-libs/libwacom-0.20 )
>=dev-libs/libevdev-1.3
>=sys-libs/mtdev-1.1
virtual/libudev:=
virtual/udev
"
DEPEND="${RDEPEND}
BDEPEND="
virtual/pkgconfig
doc? (
$(python_gen_any_dep '
dev-python/commonmark[${PYTHON_USEDEP}]
Expand All @@ -37,13 +31,16 @@ DEPEND="${RDEPEND}
>=media-gfx/graphviz-2.38.0
)
"
# test? (
# >=dev-libs/check-0.9.10
# dev-util/valgrind
# sys-libs/libunwind )
BDEPEND="
virtual/pkgconfig
# test? ( dev-util/valgrind )
RDEPEND="
input_devices_wacom? ( >=dev-libs/libwacom-0.20 )
>=dev-libs/libevdev-1.3
>=sys-libs/mtdev-1.1
virtual/libudev:=
virtual/udev
"
DEPEND="${RDEPEND}"
# test? ( >=dev-libs/check-0.9.10 )

python_check_deps() {
has_version "dev-python/commonmark[${PYTHON_USEDEP}]" && \
Expand Down

0 comments on commit 2b22eb4

Please sign in to comment.