From fb2bc7dc780e333965ae64189322785dd36fbb07 Mon Sep 17 00:00:00 2001 From: tastytea Date: Tue, 13 Sep 2022 19:52:59 +0200 Subject: [PATCH] dev-cpp/identiconpp: fix MultipleKeywordsLines, MissingTestRestrict Signed-off-by: tastytea --- dev-cpp/identiconpp/identiconpp-0.7.1.ebuild | 13 ++++--------- dev-cpp/identiconpp/identiconpp-0.7.2.ebuild | 13 ++++--------- dev-cpp/identiconpp/identiconpp-9999.ebuild | 13 ++++--------- 3 files changed, 12 insertions(+), 27 deletions(-) diff --git a/dev-cpp/identiconpp/identiconpp-0.7.1.ebuild b/dev-cpp/identiconpp/identiconpp-0.7.1.ebuild index b7097f0..71ec7bb 100644 --- a/dev-cpp/identiconpp/identiconpp-0.7.1.ebuild +++ b/dev-cpp/identiconpp/identiconpp-0.7.1.ebuild @@ -16,17 +16,16 @@ if [[ "${PV}" == "9999" ]]; then else SRC_URI="https://schlomp.space/tastytea/identiconpp/archive/${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}" + KEYWORDS="~amd64" fi LICENSE="GPL-3" SLOT="0" -if [[ "${PV}" == "9999" ]]; then - KEYWORDS="" -else - KEYWORDS="~amd64" -fi IUSE="doc examples test" +RESTRICT="!test? ( test )" + RDEPEND=" media-gfx/imagemagick[png,cxx] " @@ -37,10 +36,6 @@ DEPEND=" ${RDEPEND} " -if [[ "${PV}" != "9999" ]]; then - S="${WORKDIR}/${PN}" -fi - src_prepare() { if use doc; then HTML_DOCS="doc/html/*" diff --git a/dev-cpp/identiconpp/identiconpp-0.7.2.ebuild b/dev-cpp/identiconpp/identiconpp-0.7.2.ebuild index b7097f0..71ec7bb 100644 --- a/dev-cpp/identiconpp/identiconpp-0.7.2.ebuild +++ b/dev-cpp/identiconpp/identiconpp-0.7.2.ebuild @@ -16,17 +16,16 @@ if [[ "${PV}" == "9999" ]]; then else SRC_URI="https://schlomp.space/tastytea/identiconpp/archive/${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}" + KEYWORDS="~amd64" fi LICENSE="GPL-3" SLOT="0" -if [[ "${PV}" == "9999" ]]; then - KEYWORDS="" -else - KEYWORDS="~amd64" -fi IUSE="doc examples test" +RESTRICT="!test? ( test )" + RDEPEND=" media-gfx/imagemagick[png,cxx] " @@ -37,10 +36,6 @@ DEPEND=" ${RDEPEND} " -if [[ "${PV}" != "9999" ]]; then - S="${WORKDIR}/${PN}" -fi - src_prepare() { if use doc; then HTML_DOCS="doc/html/*" diff --git a/dev-cpp/identiconpp/identiconpp-9999.ebuild b/dev-cpp/identiconpp/identiconpp-9999.ebuild index b7097f0..71ec7bb 100644 --- a/dev-cpp/identiconpp/identiconpp-9999.ebuild +++ b/dev-cpp/identiconpp/identiconpp-9999.ebuild @@ -16,17 +16,16 @@ if [[ "${PV}" == "9999" ]]; then else SRC_URI="https://schlomp.space/tastytea/identiconpp/archive/${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}" + KEYWORDS="~amd64" fi LICENSE="GPL-3" SLOT="0" -if [[ "${PV}" == "9999" ]]; then - KEYWORDS="" -else - KEYWORDS="~amd64" -fi IUSE="doc examples test" +RESTRICT="!test? ( test )" + RDEPEND=" media-gfx/imagemagick[png,cxx] " @@ -37,10 +36,6 @@ DEPEND=" ${RDEPEND} " -if [[ "${PV}" != "9999" ]]; then - S="${WORKDIR}/${PN}" -fi - src_prepare() { if use doc; then HTML_DOCS="doc/html/*"