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 0D330138334 for ; Tue, 3 Dec 2019 23:15:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 41F20E086A; Tue, 3 Dec 2019 23:15:20 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 23067E086A for ; Tue, 3 Dec 2019 23:15:20 +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 01A4034D781 for ; Tue, 3 Dec 2019 23:15:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 774438B8 for ; Tue, 3 Dec 2019 23:15:17 +0000 (UTC) From: "Aaron Bauman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aaron Bauman" Message-ID: <1575414911.0d9f3349d90bf860146dcd5f179c370488b4baec.bman@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cssutils/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/cssutils/cssutils-1.0.2-r1.ebuild X-VCS-Directories: dev-python/cssutils/ X-VCS-Committer: bman X-VCS-Committer-Name: Aaron Bauman X-VCS-Revision: 0d9f3349d90bf860146dcd5f179c370488b4baec X-VCS-Branch: master Date: Tue, 3 Dec 2019 23:15:17 +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: 6aeb84d6-55c6-4786-b536-5025e2861b88 X-Archives-Hash: 93bfa9617f08aea1bda0c8485a63b003 commit: 0d9f3349d90bf860146dcd5f179c370488b4baec Author: Aaron Bauman gentoo org> AuthorDate: Tue Dec 3 23:12:16 2019 +0000 Commit: Aaron Bauman gentoo org> CommitDate: Tue Dec 3 23:15:11 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d9f3349 dev-python/cssutils: fix tests * Casing issue discovered for calls to Windows-1252 vs windows-1252 Suggested-by: Patrick McLean gentoo.org> Signed-off-by: Aaron Bauman gentoo.org> dev-python/cssutils/cssutils-1.0.2-r1.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dev-python/cssutils/cssutils-1.0.2-r1.ebuild b/dev-python/cssutils/cssutils-1.0.2-r1.ebuild index 3e02fd56a0a..9963ab69248 100644 --- a/dev-python/cssutils/cssutils-1.0.2-r1.ebuild +++ b/dev-python/cssutils/cssutils-1.0.2-r1.ebuild @@ -35,6 +35,10 @@ python_prepare_all() { -e '/tests_require/d' \ -i setup.py || die + # fix casing of call to Windows-1252. Remove when upstream fixes casing. + sed -i -e 's/encutils.tryEncodings(test)/encutils.tryEncodings(test).lower()/' \ + src/cssutils/tests/test_encutils/__init__.py || die "fixing test_encutils failed" + distutils-r1_python_prepare_all }