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 4DFE3138334 for ; Sun, 24 Nov 2019 19:31:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 60293E0855; Sun, 24 Nov 2019 19:31:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 4A73AE0855 for ; Sun, 24 Nov 2019 19:31:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 2336134D2D5 for ; Sun, 24 Nov 2019 19:31:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 982598BF for ; Sun, 24 Nov 2019 19:31:52 +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: <1574623907.e6bbedddaef5121063d059c351310f42d20a9839.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/qrcode/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/qrcode/qrcode-6.1.ebuild X-VCS-Directories: dev-python/qrcode/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e6bbedddaef5121063d059c351310f42d20a9839 X-VCS-Branch: master Date: Sun, 24 Nov 2019 19:31:52 +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: 3e4f3bdb-b600-4506-bf63-6b69b518c322 X-Archives-Hash: d82d7ce14b2bf70b7f584f36b6f303ef commit: e6bbedddaef5121063d059c351310f42d20a9839 Author: Michał Górny gentoo org> AuthorDate: Sun Nov 24 19:18:36 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Nov 24 19:31:47 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6bbeddd dev-python/qrcode: Enable py3.8 Signed-off-by: Michał Górny gentoo.org> dev-python/qrcode/qrcode-6.1.ebuild | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/dev-python/qrcode/qrcode-6.1.ebuild b/dev-python/qrcode/qrcode-6.1.ebuild index b59ee7e4b56..f73d0b58126 100644 --- a/dev-python/qrcode/qrcode-6.1.ebuild +++ b/dev-python/qrcode/qrcode-6.1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) +PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} ) inherit distutils-r1 @@ -14,8 +14,6 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" # optional deps: # - pillow and lxml for svg backend, set as hard deps @@ -25,12 +23,9 @@ RDEPEND=" dev-python/pillow[${PYTHON_USEDEP}]" DEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] - test? ( ${RDEPEND} - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2) )" + test? ( $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2) )" -python_test() { - "${EPYTHON}" -m unittest discover -v || die "Testing failed with ${EPYTHON}" -} +distutils_enable_tests unittest src_install() { distutils-r1_src_install