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 3DBB1139694 for ; Fri, 12 May 2017 18:49:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7A364E0BE4; Fri, 12 May 2017 18:49:14 +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 5649BE0BE4 for ; Fri, 12 May 2017 18:49:14 +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 69FD73416F6 for ; Fri, 12 May 2017 18:49:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2E80B7427 for ; Fri, 12 May 2017 18:49:12 +0000 (UTC) From: "Mike Gilbert" 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" Message-ID: <1494614949.3c0e9741ce1d2aece78b121af92c6c666095e27c.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cython/, dev-python/cython/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/cython/cython-0.25.2.ebuild dev-python/cython/files/0.25.2-test-cpdef_enums-L-suffix.patch X-VCS-Directories: dev-python/cython/files/ dev-python/cython/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 3c0e9741ce1d2aece78b121af92c6c666095e27c X-VCS-Branch: master Date: Fri, 12 May 2017 18:49:12 +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: d846fb16-8bf9-4917-9709-98fc76d468c1 X-Archives-Hash: 900d4fa0667841d2470e21320d2a492d commit: 3c0e9741ce1d2aece78b121af92c6c666095e27c Author: Mike Gilbert gentoo org> AuthorDate: Fri May 12 18:48:44 2017 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Fri May 12 18:49:09 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c0e9741 dev-python/cython: fix test failure on ARM Bug: https://bugs.gentoo.org/618242 Package-Manager: Portage-2.3.5_p32, Repoman-2.3.2_p62 dev-python/cython/cython-0.25.2.ebuild | 4 ++++ .../files/0.25.2-test-cpdef_enums-L-suffix.patch | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/dev-python/cython/cython-0.25.2.ebuild b/dev-python/cython/cython-0.25.2.ebuild index af740157074..56b6b180aed 100644 --- a/dev-python/cython/cython-0.25.2.ebuild +++ b/dev-python/cython/cython-0.25.2.ebuild @@ -34,6 +34,10 @@ DEPEND="${RDEPEND} SITEFILE=50cython-gentoo.el S="${WORKDIR}/${MY_PN}-${PV%_*}" +PATCHES=( + "${FILESDIR}"/0.25.2-test-cpdef_enums-L-suffix.patch +) + python_compile() { if ! python_is_python3; then local CFLAGS="${CFLAGS}" diff --git a/dev-python/cython/files/0.25.2-test-cpdef_enums-L-suffix.patch b/dev-python/cython/files/0.25.2-test-cpdef_enums-L-suffix.patch new file mode 100644 index 00000000000..3a8b9d9d1e7 --- /dev/null +++ b/dev-python/cython/files/0.25.2-test-cpdef_enums-L-suffix.patch @@ -0,0 +1,19 @@ +From d92a718a26c9354fbf35f31a17de5c069865a447 Mon Sep 17 00:00:00 2001 +From: Robert Bradshaw +Date: Tue, 24 Jan 2017 16:57:00 -0800 +Subject: [PATCH] Normalize possible L suffix. + +--- + tests/run/cpdef_enums.pyx | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/run/cpdef_enums.pyx b/tests/run/cpdef_enums.pyx +index 167c762..c264ec5 100644 +--- a/tests/run/cpdef_enums.pyx ++++ b/tests/run/cpdef_enums.pyx +@@ -93,4 +93,4 @@ def verify_resolution_GH1533(): + 3 + """ + THREE = 100 +- return PyxEnum.THREE ++ return int(PyxEnum.THREE)