From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-943400-garchives=archives.gentoo.org@lists.gentoo.org> 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 33A21139694 for <garchives@archives.gentoo.org>; Sat, 8 Apr 2017 22:24:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6150D21C082; Sat, 8 Apr 2017 22:24:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3D86621C082 for <gentoo-commits@lists.gentoo.org>; Sat, 8 Apr 2017 22:24:20 +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 1CACF34168A for <gentoo-commits@lists.gentoo.org>; Sat, 8 Apr 2017 22:24:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7730C73E8 for <gentoo-commits@lists.gentoo.org>; Sat, 8 Apr 2017 22:24:17 +0000 (UTC) From: "Mike Gilbert" <floppym@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" <floppym@gentoo.org> Message-ID: <1491690255.6c1d8ef2e327b3b694124e52b8c2677bc1734cac.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/meson/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/meson/meson-0.39.1.ebuild dev-util/meson/meson-9999.ebuild X-VCS-Directories: dev-util/meson/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 6c1d8ef2e327b3b694124e52b8c2677bc1734cac X-VCS-Branch: master Date: Sat, 8 Apr 2017 22:24:17 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9a2b4d94-f4a1-488f-a183-d3a41386b02a X-Archives-Hash: 6de84c72fec8bc38d1a04a58688f34c3 commit: 6c1d8ef2e327b3b694124e52b8c2677bc1734cac Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> AuthorDate: Sat Apr 8 22:17:48 2017 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Sat Apr 8 22:24:15 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c1d8ef2 dev-util/meson: add basic python_test function and RESTRICT=test The tests do not pass at the moment. Package-Manager: Portage-2.3.5_p19, Repoman-2.3.2_p49 dev-util/meson/meson-0.39.1.ebuild | 5 +++++ dev-util/meson/meson-9999.ebuild | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/dev-util/meson/meson-0.39.1.ebuild b/dev-util/meson/meson-0.39.1.ebuild index 4a98372fa7d..d2899b6e689 100644 --- a/dev-util/meson/meson-0.39.1.ebuild +++ b/dev-util/meson/meson-0.39.1.ebuild @@ -20,6 +20,7 @@ HOMEPAGE="http://mesonbuild.com/" LICENSE="Apache-2.0" SLOT="0" IUSE="" +RESTRICT="test" DEPEND="${PYTHON_DEPS} >=dev-util/ninja-1.6.0 @@ -27,3 +28,7 @@ DEPEND="${PYTHON_DEPS} RDEPEND="${DEPEND}" DOCS=( authors.txt contributing.txt ) + +python_test() { + ${EPYTHON} run_tests.py || die +} diff --git a/dev-util/meson/meson-9999.ebuild b/dev-util/meson/meson-9999.ebuild index 898271b1e2c..e9199b92640 100644 --- a/dev-util/meson/meson-9999.ebuild +++ b/dev-util/meson/meson-9999.ebuild @@ -20,6 +20,7 @@ HOMEPAGE="http://mesonbuild.com/" LICENSE="Apache-2.0" SLOT="0" IUSE="" +RESTRICT="test" DEPEND="${PYTHON_DEPS} >=dev-util/ninja-1.6.0 @@ -27,3 +28,7 @@ DEPEND="${PYTHON_DEPS} RDEPEND="${DEPEND}" DOCS=( authors.txt contributing.txt ) + +python_test() { + ${EPYTHON} run_tests.py || die +}