From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id ED7AD1388C1 for ; Wed, 9 Dec 2015 19:07:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 13F5321C021; Wed, 9 Dec 2015 19:07:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6AD3621C01E for ; Wed, 9 Dec 2015 19:07:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6360D340834 for ; Wed, 9 Dec 2015 19:07:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 436C5CB2 for ; Wed, 9 Dec 2015 19:07:11 +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: <1449688007.cfe5896f6b5cf781c5c5d87e0b61d883f4dc65fe.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/http-parser/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/http-parser/http-parser-0.8.3.ebuild X-VCS-Directories: dev-python/http-parser/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: cfe5896f6b5cf781c5c5d87e0b61d883f4dc65fe X-VCS-Branch: master Date: Wed, 9 Dec 2015 19:07:11 +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: b929844d-f421-45cf-9a7e-fd9fbcd1c95e X-Archives-Hash: d3bb2d1c3a56402eb351f6ae4678cb5b commit: cfe5896f6b5cf781c5c5d87e0b61d883f4dc65fe Author: Michał Górny gentoo org> AuthorDate: Wed Dec 9 17:38:24 2015 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Dec 9 19:06:47 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfe5896f dev-python/http-parser: Replace custom cython dep with python_gen_cond_dep dev-python/http-parser/http-parser-0.8.3.ebuild | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/dev-python/http-parser/http-parser-0.8.3.ebuild b/dev-python/http-parser/http-parser-0.8.3.ebuild index 085dbef..bf086e5 100644 --- a/dev-python/http-parser/http-parser-0.8.3.ebuild +++ b/dev-python/http-parser/http-parser-0.8.3.ebuild @@ -19,15 +19,8 @@ IUSE="examples" RDEPEND="" DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}]" - -cython_dep() { - local flag - for flag in $(python_gen_useflags 'python*'); do - DEPEND+=" ${flag}? ( dev-python/cython[${flag}(-)] )" - done -} -cython_dep + dev-python/setuptools[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/cython[${PYTHON_USEDEP}]' 'python*')" python_compile() { if [[ ${EPYTHON} != python3* ]]; then