From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4275D138206 for ; Thu, 18 Jan 2018 02:06:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8F1B1E08FC; Thu, 18 Jan 2018 02:06:36 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 68786E08FC for ; Thu, 18 Jan 2018 02:06:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DD755335C31 for ; Thu, 18 Jan 2018 02:06:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0780D1B8 for ; Thu, 18 Jan 2018 02:06:33 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1516241180.f6c3a84f0907ae51d03138c2f4533632d6c602e2.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/wayland-protocols/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/wayland-protocols/wayland-protocols-9999.ebuild X-VCS-Directories: dev-libs/wayland-protocols/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: f6c3a84f0907ae51d03138c2f4533632d6c602e2 X-VCS-Branch: master Date: Thu, 18 Jan 2018 02:06:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c8dcf2da-852c-43fc-8d28-f4107237fbd6 X-Archives-Hash: 3ad223146223b545a4dcdbed54f1b8a8 commit: f6c3a84f0907ae51d03138c2f4533632d6c602e2 Author: Bertrand Jacquin jacquin bzh> AuthorDate: Mon Jan 15 21:43:30 2018 +0000 Commit: Matt Turner gentoo org> CommitDate: Thu Jan 18 02:06:20 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6c3a84f dev-libs/wayland-protocols: Bump EAPI Use autotools instead of autotools-utils which is now deprecated as per warning from repoman: inherit.deprecated 1 dev-libs/wayland-protocols/wayland-protocols-9999.ebuild please migrate from 'autotools-utils' (no replacement) on line: 13 Drop undefined usage of SRC_PATCHES Closes: https://github.com/gentoo/gentoo/pull/6875 .../wayland-protocols-9999.ebuild | 24 +++++++++++++--------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/dev-libs/wayland-protocols/wayland-protocols-9999.ebuild b/dev-libs/wayland-protocols/wayland-protocols-9999.ebuild index 15cac561d89..4948be07ff8 100644 --- a/dev-libs/wayland-protocols/wayland-protocols-9999.ebuild +++ b/dev-libs/wayland-protocols/wayland-protocols-9999.ebuild @@ -1,23 +1,21 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 if [[ ${PV} = 9999* ]]; then EGIT_REPO_URI="https://anongit.freedesktop.org/git/wayland/wayland-protocols.git" - GIT_ECLASS="git-r3" EXPERIMENTAL="true" - AUTOTOOLS_AUTORECONF=1 -fi -inherit autotools-utils ${GIT_ECLASS} + inherit git-r3 autotools +else + inherit autotools +fi DESCRIPTION="Wayland protocol files" HOMEPAGE="https://wayland.freedesktop.org/" -if [[ $PV = 9999* ]]; then - SRC_URI="${SRC_PATCHES}" -else +if [[ $PV != 9999* ]]; then SRC_URI="https://wayland.freedesktop.org/releases/${P}.tar.xz" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" fi @@ -30,10 +28,16 @@ RDEPEND="dev-libs/wayland" DEPEND="${RDEPEND} virtual/pkgconfig" +src_prepare() { + default + + [[ ${PV} == 9999 ]] && eautoreconf +} + src_test() { export XDG_RUNTIME_DIR="${T}/runtime-dir" mkdir "${XDG_RUNTIME_DIR}" || die chmod 0700 "${XDG_RUNTIME_DIR}" || die - autotools-utils_src_test + default }