diff options
author | 2019-12-10 23:02:54 +0100 | |
---|---|---|
committer | 2019-12-11 00:22:38 +0100 | |
commit | 064af661d0c9a31cecdf348632bc5603333a9149 (patch) | |
tree | 2202373a7cafcb8a761d32747d4f62263aed64d5 /dev-cpp | |
parent | dev-python/passlib: keyworded 1.7.1-r2 for hppa, bug #700918 (diff) | |
download | gentoo-064af661d0c9a31cecdf348632bc5603333a9149.tar.gz gentoo-064af661d0c9a31cecdf348632bc5603333a9149.tar.bz2 gentoo-064af661d0c9a31cecdf348632bc5603333a9149.zip |
*/*: [QA] Fix trivial cases of MissingTestRestrict
The result was achieved via the following pipeline:
pkgcheck scan -c RestrictTestCheck -R FormatReporter \
--format '{category}/{package}/{package}-{version}.ebuild' |
xargs -n32 grep -L RESTRICT |
xargs -n32 sed -i -e '/^IUSE=.*test/aRESTRICT="!test? ( test )"'
The resulting metadata was compared before and after the change.
Few Go ebuilds had to be fixed manually due to implicit RESTRICT=strip
added by the eclass. Two ebuilds have to be fixed because of multiline
IUSE.
Suggested-by: Robin H. Johnson <robbat2@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/13942
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-cpp')
30 files changed, 37 insertions, 7 deletions
diff --git a/dev-cpp/asio/asio-1.10.8.ebuild b/dev-cpp/asio/asio-1.10.8.ebuild index 6510f168fcd..24b561fdb47 100644 --- a/dev-cpp/asio/asio-1.10.8.ebuild +++ b/dev-cpp/asio/asio-1.10.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,6 +11,7 @@ LICENSE="Boost-1.0" SLOT="0" KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ppc ppc64 sparc x86" IUSE="doc examples ssl test" +RESTRICT="!test? ( test )" RDEPEND="dev-libs/boost ssl? ( dev-libs/openssl:0= )" diff --git a/dev-cpp/asio/asio-1.12.2.ebuild b/dev-cpp/asio/asio-1.12.2.ebuild index fe556e8cbee..effe4bef802 100644 --- a/dev-cpp/asio/asio-1.12.2.ebuild +++ b/dev-cpp/asio/asio-1.12.2.ebuild @@ -11,6 +11,7 @@ LICENSE="Boost-1.0" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="doc examples libressl ssl test" +RESTRICT="!test? ( test )" RDEPEND="dev-libs/boost ssl? ( diff --git a/dev-cpp/asio/asio-1.13.0.ebuild b/dev-cpp/asio/asio-1.13.0.ebuild index fe556e8cbee..effe4bef802 100644 --- a/dev-cpp/asio/asio-1.13.0.ebuild +++ b/dev-cpp/asio/asio-1.13.0.ebuild @@ -11,6 +11,7 @@ LICENSE="Boost-1.0" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="doc examples libressl ssl test" +RESTRICT="!test? ( test )" RDEPEND="dev-libs/boost ssl? ( diff --git a/dev-cpp/asio/asio-1.14.0.ebuild b/dev-cpp/asio/asio-1.14.0.ebuild index 3b20269b855..3752e942209 100644 --- a/dev-cpp/asio/asio-1.14.0.ebuild +++ b/dev-cpp/asio/asio-1.14.0.ebuild @@ -11,6 +11,7 @@ LICENSE="Boost-1.0" SLOT="0" KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ppc ppc64 sparc x86" IUSE="doc examples libressl ssl test" +RESTRICT="!test? ( test )" RDEPEND="dev-libs/boost ssl? ( diff --git a/dev-cpp/cpp-hocon/cpp-hocon-0.1.4-r1.ebuild b/dev-cpp/cpp-hocon/cpp-hocon-0.1.4-r1.ebuild index 8861488d02b..752c94b6d59 100644 --- a/dev-cpp/cpp-hocon/cpp-hocon-0.1.4-r1.ebuild +++ b/dev-cpp/cpp-hocon/cpp-hocon-0.1.4-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -13,6 +13,7 @@ LICENSE="Apache-2.0" SLOT="0" KEYWORDS="amd64 ~arm hppa ppc ppc64 sparc x86" IUSE="debug test" +RESTRICT="!test? ( test )" DEPEND=" >=sys-devel/gcc-4.9.3:* diff --git a/dev-cpp/gflags/gflags-2.2.0.ebuild b/dev-cpp/gflags/gflags-2.2.0.ebuild index 082603bc4fe..f66d0706187 100644 --- a/dev-cpp/gflags/gflags-2.2.0.ebuild +++ b/dev-cpp/gflags/gflags-2.2.0.ebuild @@ -19,6 +19,7 @@ HOMEPAGE="http://gflags.github.io/gflags/" LICENSE="BSD" SLOT="0/2.2" IUSE="static-libs test" +RESTRICT="!test? ( test )" # AUTHORS.txt only links the google group DOCS=( ChangeLog.txt README.md ) diff --git a/dev-cpp/gflags/gflags-2.2.1-r1.ebuild b/dev-cpp/gflags/gflags-2.2.1-r1.ebuild index 0bce0bfcd8d..ba91e0c6d75 100644 --- a/dev-cpp/gflags/gflags-2.2.1-r1.ebuild +++ b/dev-cpp/gflags/gflags-2.2.1-r1.ebuild @@ -19,6 +19,7 @@ HOMEPAGE="http://gflags.github.io/gflags/" LICENSE="BSD" SLOT="0/2.2" IUSE="static-libs test" +RESTRICT="!test? ( test )" # AUTHORS.txt only links the google group DOCS=( ChangeLog.txt README.md ) diff --git a/dev-cpp/gflags/gflags-2.2.1.ebuild b/dev-cpp/gflags/gflags-2.2.1.ebuild index 91f405e1e9b..5db32895326 100644 --- a/dev-cpp/gflags/gflags-2.2.1.ebuild +++ b/dev-cpp/gflags/gflags-2.2.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -19,6 +19,7 @@ HOMEPAGE="http://gflags.github.io/gflags/" LICENSE="BSD" SLOT="0/2.2" IUSE="static-libs test" +RESTRICT="!test? ( test )" # AUTHORS.txt only links the google group DOCS=( ChangeLog.txt README.md ) diff --git a/dev-cpp/gflags/gflags-9999.ebuild b/dev-cpp/gflags/gflags-9999.ebuild index 95cd79c7ef3..60c68630cba 100644 --- a/dev-cpp/gflags/gflags-9999.ebuild +++ b/dev-cpp/gflags/gflags-9999.ebuild @@ -19,6 +19,7 @@ HOMEPAGE="http://gflags.github.io/gflags/" LICENSE="BSD" SLOT="0/2.2" IUSE="static-libs test" +RESTRICT="!test? ( test )" # AUTHORS.txt only links the google group DOCS=( ChangeLog.txt README.md ) diff --git a/dev-cpp/glibmm/glibmm-2.56.1.ebuild b/dev-cpp/glibmm/glibmm-2.56.1.ebuild index 9aa4cc3775e..a83a68fec04 100644 --- a/dev-cpp/glibmm/glibmm-2.56.1.ebuild +++ b/dev-cpp/glibmm/glibmm-2.56.1.ebuild @@ -11,6 +11,7 @@ LICENSE="LGPL-2.1+ GPL-2+" # GPL-2+ applies only to the build system SLOT="2" KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" IUSE="doc debug test" +RESTRICT="!test? ( test )" RDEPEND=" >=dev-libs/libsigc++-2.9.1:2[${MULTILIB_USEDEP}] diff --git a/dev-cpp/glibmm/glibmm-2.58.1.ebuild b/dev-cpp/glibmm/glibmm-2.58.1.ebuild index 98e37553fd8..a9698a9ca84 100644 --- a/dev-cpp/glibmm/glibmm-2.58.1.ebuild +++ b/dev-cpp/glibmm/glibmm-2.58.1.ebuild @@ -11,6 +11,7 @@ LICENSE="LGPL-2.1+ GPL-2+" # GPL-2+ applies only to the build system SLOT="2" KEYWORDS="alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" IUSE="doc debug test" +RESTRICT="!test? ( test )" RDEPEND=" >=dev-libs/libsigc++-2.9.1:2[${MULTILIB_USEDEP}] diff --git a/dev-cpp/glibmm/glibmm-2.60.0.ebuild b/dev-cpp/glibmm/glibmm-2.60.0.ebuild index d742fe26782..ce57fc6e0e5 100644 --- a/dev-cpp/glibmm/glibmm-2.60.0.ebuild +++ b/dev-cpp/glibmm/glibmm-2.60.0.ebuild @@ -11,6 +11,7 @@ LICENSE="LGPL-2.1+ GPL-2+" # GPL-2+ applies only to the build system SLOT="2" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" IUSE="doc debug test" +RESTRICT="!test? ( test )" RDEPEND=" >=dev-libs/libsigc++-2.9.1:2[${MULTILIB_USEDEP}] diff --git a/dev-cpp/glibmm/glibmm-2.60.1.ebuild b/dev-cpp/glibmm/glibmm-2.60.1.ebuild index 3b51cdd041b..b119a2d526a 100644 --- a/dev-cpp/glibmm/glibmm-2.60.1.ebuild +++ b/dev-cpp/glibmm/glibmm-2.60.1.ebuild @@ -11,6 +11,7 @@ LICENSE="LGPL-2.1+ GPL-2+" # GPL-2+ applies only to the build system SLOT="2" KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" IUSE="doc debug test" +RESTRICT="!test? ( test )" RDEPEND=" >=dev-libs/libsigc++-2.9.1:2[${MULTILIB_USEDEP}] diff --git a/dev-cpp/gstreamermm/gstreamermm-1.10.0.ebuild b/dev-cpp/gstreamermm/gstreamermm-1.10.0.ebuild index 42aeb6b5158..6fdef7109be 100644 --- a/dev-cpp/gstreamermm/gstreamermm-1.10.0.ebuild +++ b/dev-cpp/gstreamermm/gstreamermm-1.10.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -12,6 +12,7 @@ LICENSE="LGPL-2.1" SLOT="1.0/1" KEYWORDS="amd64 ~ppc x86" IUSE="doc examples test" +RESTRICT="!test? ( test )" RDEPEND=" >=media-libs/gstreamer-${PV}:1.0 diff --git a/dev-cpp/gtest/gtest-1.10.0.ebuild b/dev-cpp/gtest/gtest-1.10.0.ebuild index 2a75dd1da0e..98d67d92032 100644 --- a/dev-cpp/gtest/gtest-1.10.0.ebuild +++ b/dev-cpp/gtest/gtest-1.10.0.ebuild @@ -30,6 +30,7 @@ HOMEPAGE="https://github.com/google/googletest" LICENSE="BSD" SLOT="0" IUSE="doc examples test" +RESTRICT="!test? ( test )" DEPEND="test? ( ${PYTHON_DEPS} )" RDEPEND="!dev-cpp/gmock" diff --git a/dev-cpp/gtest/gtest-1.8.0-r1.ebuild b/dev-cpp/gtest/gtest-1.8.0-r1.ebuild index 7ab8e27afd9..76673187e00 100644 --- a/dev-cpp/gtest/gtest-1.8.0-r1.ebuild +++ b/dev-cpp/gtest/gtest-1.8.0-r1.ebuild @@ -16,6 +16,7 @@ LICENSE="BSD" SLOT="0" KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="doc examples test" +RESTRICT="!test? ( test )" DEPEND="test? ( ${PYTHON_DEPS} )" RDEPEND="!dev-cpp/gmock" diff --git a/dev-cpp/gtest/gtest-1.8.0.ebuild b/dev-cpp/gtest/gtest-1.8.0.ebuild index dff3323368d..9f7ffbdb9ae 100644 --- a/dev-cpp/gtest/gtest-1.8.0.ebuild +++ b/dev-cpp/gtest/gtest-1.8.0.ebuild @@ -16,6 +16,7 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="doc examples test" +RESTRICT="!test? ( test )" DEPEND="test? ( ${PYTHON_DEPS} )" RDEPEND="!dev-cpp/gmock" diff --git a/dev-cpp/gtest/gtest-1.8.1-r1.ebuild b/dev-cpp/gtest/gtest-1.8.1-r1.ebuild index 32cb3eac1b6..771468eb8b6 100644 --- a/dev-cpp/gtest/gtest-1.8.1-r1.ebuild +++ b/dev-cpp/gtest/gtest-1.8.1-r1.ebuild @@ -23,6 +23,7 @@ HOMEPAGE="https://github.com/google/googletest" LICENSE="BSD" SLOT="0" IUSE="doc examples test" +RESTRICT="!test? ( test )" DEPEND="test? ( ${PYTHON_DEPS} )" RDEPEND="!dev-cpp/gmock" diff --git a/dev-cpp/gtest/gtest-1.8.1.ebuild b/dev-cpp/gtest/gtest-1.8.1.ebuild index 38ae957597e..a8cdd6890e6 100644 --- a/dev-cpp/gtest/gtest-1.8.1.ebuild +++ b/dev-cpp/gtest/gtest-1.8.1.ebuild @@ -23,6 +23,7 @@ HOMEPAGE="https://github.com/google/googletest" LICENSE="BSD" SLOT="0" IUSE="doc examples test" +RESTRICT="!test? ( test )" DEPEND="test? ( ${PYTHON_DEPS} )" RDEPEND="!dev-cpp/gmock" diff --git a/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild b/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild index daa2e778fbe..9a6cb10a49f 100644 --- a/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild +++ b/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild @@ -30,6 +30,7 @@ HOMEPAGE="https://github.com/google/googletest" LICENSE="BSD" SLOT="0" IUSE="doc examples test" +RESTRICT="!test? ( test )" DEPEND="test? ( ${PYTHON_DEPS} )" RDEPEND="!dev-cpp/gmock" diff --git a/dev-cpp/gtest/gtest-9999.ebuild b/dev-cpp/gtest/gtest-9999.ebuild index ccb2185df0a..2fdd8d6bb36 100644 --- a/dev-cpp/gtest/gtest-9999.ebuild +++ b/dev-cpp/gtest/gtest-9999.ebuild @@ -28,6 +28,7 @@ HOMEPAGE="https://github.com/google/googletest" LICENSE="BSD" SLOT="0" IUSE="doc examples test" +RESTRICT="!test? ( test )" DEPEND="test? ( ${PYTHON_DEPS} )" RDEPEND="!dev-cpp/gmock" diff --git a/dev-cpp/gtkmm/gtkmm-2.24.5.ebuild b/dev-cpp/gtkmm/gtkmm-2.24.5.ebuild index 93b4807719e..9393d4bdc7f 100644 --- a/dev-cpp/gtkmm/gtkmm-2.24.5.ebuild +++ b/dev-cpp/gtkmm/gtkmm-2.24.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -12,6 +12,7 @@ LICENSE="LGPL-2.1+" SLOT="2.4" KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" IUSE="doc examples test" +RESTRICT="!test? ( test )" RDEPEND=" >=dev-cpp/glibmm-2.34.1:2[${MULTILIB_USEDEP}] diff --git a/dev-cpp/gtkmm/gtkmm-3.24.0.ebuild b/dev-cpp/gtkmm/gtkmm-3.24.0.ebuild index ce9bc8b7fbf..9020381f2cc 100644 --- a/dev-cpp/gtkmm/gtkmm-3.24.0.ebuild +++ b/dev-cpp/gtkmm/gtkmm-3.24.0.ebuild @@ -12,6 +12,7 @@ SLOT="3.0" KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~x86-solaris" IUSE="aqua doc test wayland X" +RESTRICT="!test? ( test )" REQUIRED_USE="|| ( aqua wayland X )" RDEPEND=" diff --git a/dev-cpp/gtkmm/gtkmm-3.24.1.ebuild b/dev-cpp/gtkmm/gtkmm-3.24.1.ebuild index c4b1fe49fcf..fc75f17ec2d 100644 --- a/dev-cpp/gtkmm/gtkmm-3.24.1.ebuild +++ b/dev-cpp/gtkmm/gtkmm-3.24.1.ebuild @@ -12,6 +12,7 @@ SLOT="3.0" KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~x86-solaris" IUSE="aqua doc test wayland X" +RESTRICT="!test? ( test )" REQUIRED_USE="|| ( aqua wayland X )" RDEPEND=" diff --git a/dev-cpp/ms-gsl/ms-gsl-2.0.0.ebuild b/dev-cpp/ms-gsl/ms-gsl-2.0.0.ebuild index 5eccf76caa0..a9ddc632488 100644 --- a/dev-cpp/ms-gsl/ms-gsl-2.0.0.ebuild +++ b/dev-cpp/ms-gsl/ms-gsl-2.0.0.ebuild @@ -15,6 +15,7 @@ LICENSE="MIT" SLOT="0" KEYWORDS="amd64 x86" IUSE="test" +RESTRICT="!test? ( test )" # header only library RDEPEND="" diff --git a/dev-cpp/ms-gsl/ms-gsl-9999.ebuild b/dev-cpp/ms-gsl/ms-gsl-9999.ebuild index 3568adaea6b..767d0523e26 100644 --- a/dev-cpp/ms-gsl/ms-gsl-9999.ebuild +++ b/dev-cpp/ms-gsl/ms-gsl-9999.ebuild @@ -14,6 +14,7 @@ LICENSE="MIT" SLOT="0" KEYWORDS="" IUSE="test" +RESTRICT="!test? ( test )" # header only library RDEPEND="" diff --git a/dev-cpp/muParser/muParser-2.2.5.ebuild b/dev-cpp/muParser/muParser-2.2.5.ebuild index 3dffdc7b474..6e70ecf5770 100644 --- a/dev-cpp/muParser/muParser-2.2.5.ebuild +++ b/dev-cpp/muParser/muParser-2.2.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -13,6 +13,7 @@ LICENSE="MIT" SLOT="0" KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" IUSE="doc test" +RESTRICT="!test? ( test )" S=${WORKDIR}/muparser-${PV} diff --git a/dev-cpp/muParser/muParser-2.2.6.1.ebuild b/dev-cpp/muParser/muParser-2.2.6.1.ebuild index a19668ce09b..6e70ecf5770 100644 --- a/dev-cpp/muParser/muParser-2.2.6.1.ebuild +++ b/dev-cpp/muParser/muParser-2.2.6.1.ebuild @@ -13,6 +13,7 @@ LICENSE="MIT" SLOT="0" KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" IUSE="doc test" +RESTRICT="!test? ( test )" S=${WORKDIR}/muparser-${PV} diff --git a/dev-cpp/nlohmann_json/nlohmann_json-3.6.1-r1.ebuild b/dev-cpp/nlohmann_json/nlohmann_json-3.6.1-r1.ebuild index 583d0ff52fc..d7e7355ddcf 100644 --- a/dev-cpp/nlohmann_json/nlohmann_json-3.6.1-r1.ebuild +++ b/dev-cpp/nlohmann_json/nlohmann_json-3.6.1-r1.ebuild @@ -13,6 +13,7 @@ LICENSE="MIT" SLOT="0" KEYWORDS="amd64 ppc ppc64 x86" IUSE="doc test" +RESTRICT="!test? ( test )" DEPEND="doc? ( app-doc/doxygen )" diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild b/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild index 48edca1378e..627ca917b84 100644 --- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild +++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -13,6 +13,7 @@ LICENSE="MIT" SLOT="0/0.6" KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" IUSE="test" +RESTRICT="!test? ( test )" DEPEND="test? ( dev-cpp/gtest )" |