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 775A7138350 for ; Mon, 20 Apr 2020 07:42:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8BC28E09E4; Mon, 20 Apr 2020 07:42:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 6A8C7E09E4 for ; Mon, 20 Apr 2020 07:42:06 +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 17CDC34EFFE for ; Mon, 20 Apr 2020 07:42:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9CFB01E7 for ; Mon, 20 Apr 2020 07:42:03 +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: <1587368498.c76d97f426da553bef178a216d48ec951dc50275.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pdfrw/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pdfrw/pdfrw-0.4.ebuild X-VCS-Directories: dev-python/pdfrw/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c76d97f426da553bef178a216d48ec951dc50275 X-VCS-Branch: master Date: Mon, 20 Apr 2020 07:42:03 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 12fc90e5-5399-4090-a382-019968a4973f X-Archives-Hash: 620ed360e5a418756a7d38f63a571069 commit: c76d97f426da553bef178a216d48ec951dc50275 Author: Michał Górny gentoo org> AuthorDate: Mon Apr 20 07:05:30 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Apr 20 07:41:38 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c76d97f4 dev-python/pdfrw: Enable py3.{7,8} Signed-off-by: Michał Górny gentoo.org> dev-python/pdfrw/pdfrw-0.4.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dev-python/pdfrw/pdfrw-0.4.ebuild b/dev-python/pdfrw/pdfrw-0.4.ebuild index 3c4fb0e43fe..5059fdaf8e5 100644 --- a/dev-python/pdfrw/pdfrw-0.4.ebuild +++ b/dev-python/pdfrw/pdfrw-0.4.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python2_7 python3_6 ) +PYTHON_COMPAT=( python2_7 python3_{6,7,8} ) inherit distutils-r1 @@ -38,8 +38,11 @@ src_prepare() { sed -e 's:test_rl1_platypus:_&:' \ -i tests/test_examples.py || die # fails with py3 - sed -e '/repaginate\/7037/s:dd41b0104f185206b51e7ffe5b07d261:skip:' \ + sed -e '/repaginate\/7037/s:[0-9a-f]*$:skip:' \ + -e '/.*\/72eb/s:[0-9a-f]*$:skip:' \ -i tests/expected.txt || die + # fix py3.7+ + sed -i -e 's:raise StopIteration:return:' pdfrw/tokens.py || die distutils-r1_src_prepare }