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 EF74E138350 for ; Mon, 16 Mar 2020 20:09:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 85FB3E0954; Mon, 16 Mar 2020 20:09:48 +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 6F92AE0954 for ; Mon, 16 Mar 2020 20:09:48 +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 8B96734F1FB for ; Mon, 16 Mar 2020 20:09:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B9E6318E for ; Mon, 16 Mar 2020 20:09:44 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1584389203.dbd1785f2d4aecca22c5b9512e8f852021a67353.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyaes/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyaes/pyaes-1.6.1-r2.ebuild X-VCS-Directories: dev-python/pyaes/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: dbd1785f2d4aecca22c5b9512e8f852021a67353 X-VCS-Branch: master Date: Mon, 16 Mar 2020 20:09:44 +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: d8c29c34-190c-489c-b662-fc5865d5d2c1 X-Archives-Hash: 33d2d086ab43822ceec203c89418d3ad commit: dbd1785f2d4aecca22c5b9512e8f852021a67353 Author: Matt Turner gentoo org> AuthorDate: Mon Mar 16 20:06:30 2020 +0000 Commit: Matt Turner gentoo org> CommitDate: Mon Mar 16 20:06:43 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbd1785f dev-python/pyaes: Add missing test dependency Closes: https://bugs.gentoo.org/651262 Signed-off-by: Matt Turner gentoo.org> dev-python/pyaes/pyaes-1.6.1-r2.ebuild | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/dev-python/pyaes/pyaes-1.6.1-r2.ebuild b/dev-python/pyaes/pyaes-1.6.1-r2.ebuild new file mode 100644 index 00000000000..2c3a31013a3 --- /dev/null +++ b/dev-python/pyaes/pyaes-1.6.1-r2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DISTUTILS_USE_SETUPTOOLS=no +PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Pure-Python Implementation of the AES block-cipher and common modes of operation" +HOMEPAGE="https://pypi.org/project/pyaes/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="test? ( dev-python/pycryptodome[${PYTHON_USEDEP}] )" + +python_test() { + local t fail= + for t in tests/test-*.py; do + einfo "${t}" + "${EPYTHON}" "${t}" || fail=1 + done + [[ ${fail} ]] && die "Tests fail with ${EPYTHON}" +}