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 28998139694 for ; Thu, 20 Apr 2017 16:14:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D180D21C080; Thu, 20 Apr 2017 16:14:39 +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 AF23421C012 for ; Thu, 20 Apr 2017 16:14:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 96098341689 for ; Thu, 20 Apr 2017 16:14:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F352A743C for ; Thu, 20 Apr 2017 16:14:36 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1492704870.984ddfca7e5d602988b77377e6539abc20bb8d27.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/cmark/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/cmark/cmark-0.27.1.ebuild X-VCS-Directories: app-text/cmark/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 984ddfca7e5d602988b77377e6539abc20bb8d27 X-VCS-Branch: master Date: Thu, 20 Apr 2017 16:14:36 +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: 6f61a4c4-df86-4646-a59c-869c1b48ccea X-Archives-Hash: 5c20fe57b3e26ad616b1feb3edbd5b26 commit: 984ddfca7e5d602988b77377e6539abc20bb8d27 Author: Azamat H. Hackimov gmail com> AuthorDate: Tue Apr 18 07:49:49 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Apr 20 16:14:30 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=984ddfca app-text/cmark: use python-any-r1 instead hardcoded, #615908 Bug: https://bugs.gentoo.org/615908 Closes: https://github.com/gentoo/gentoo/pull/4437 Package-Manager: Portage-2.3.3, Repoman-2.3.1 app-text/cmark/cmark-0.27.1.ebuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/app-text/cmark/cmark-0.27.1.ebuild b/app-text/cmark/cmark-0.27.1.ebuild index b7ae5b0f010..a69f2b36f50 100644 --- a/app-text/cmark/cmark-0.27.1.ebuild +++ b/app-text/cmark/cmark-0.27.1.ebuild @@ -3,7 +3,9 @@ EAPI=6 -inherit cmake-utils +PYTHON_COMPAT=( python3_{4,5} ) + +inherit cmake-utils python-any-r1 DESCRIPTION="CommonMark parsing and rendering library and program in C" HOMEPAGE="https://github.com/jgm/cmark" @@ -15,9 +17,13 @@ KEYWORDS="~amd64 ~x86" IUSE="test" DEPEND=" - test? ( || ( dev-lang/python:3.4 dev-lang/python:3.5 ) )" + test? ( ${PYTHON_DEPS} )" RDEPEND="" +pkg_setup() { + use test && python-any-r1_pkg_setup +} + src_prepare() { cmake-utils_src_prepare # Remove static library from installing