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 43DFE1396D9 for ; Tue, 31 Oct 2017 19:54:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 505EE2BC10D; Tue, 31 Oct 2017 19:54:06 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 2FDA32BC10D for ; Tue, 31 Oct 2017 19:54:03 +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 98ABF341740 for ; Tue, 31 Oct 2017 19:54:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E220082C for ; Tue, 31 Oct 2017 19:54:00 +0000 (UTC) From: "Matt Thode" 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 Thode" Message-ID: <1509479623.24265b72e10774512312e02a5ba4669b61ecfc6f.prometheanfire@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cryptography/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/cryptography/cryptography-2.1.2-r1.ebuild X-VCS-Directories: dev-python/cryptography/ X-VCS-Committer: prometheanfire X-VCS-Committer-Name: Matt Thode X-VCS-Revision: 24265b72e10774512312e02a5ba4669b61ecfc6f X-VCS-Branch: master Date: Tue, 31 Oct 2017 19:54:00 +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: 1e9c9c5a-7ffc-4386-9aed-00537d704cce X-Archives-Hash: d53f2d8b238464fd1b426e5818e43926 commit: 24265b72e10774512312e02a5ba4669b61ecfc6f Author: Matthew Thode gentoo org> AuthorDate: Tue Oct 31 19:52:42 2017 +0000 Commit: Matt Thode gentoo org> CommitDate: Tue Oct 31 19:53:43 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24265b72 dev-python/cryptography: allow the new ecc enabled openssl (got around patents) bug 531540 Package-Manager: Portage-2.3.8, Repoman-2.3.4 .../cryptography/cryptography-2.1.2-r1.ebuild | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/dev-python/cryptography/cryptography-2.1.2-r1.ebuild b/dev-python/cryptography/cryptography-2.1.2-r1.ebuild new file mode 100644 index 00000000000..70a0e57999b --- /dev/null +++ b/dev-python/cryptography/cryptography-2.1.2-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 flag-o-matic + +DESCRIPTION="Library providing cryptographic recipes and primitives" +HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.python.org/pypi/cryptography/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="|| ( Apache-2.0 BSD )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~x64-solaris" +IUSE="libressl test" + +RDEPEND=" + !libressl? ( dev-libs/openssl:0= ( || ( dev-libs/openssl:0[-bindist(-)] + =dev-libs/openssl-1.0.2l-r1:0 + =dev-libs/openssl-1.1.0f-r1:0 ) ) ) + libressl? ( dev-libs/libressl ) + $(python_gen_cond_dep '>=dev-python/cffi-1.7:=[${PYTHON_USEDEP}]' 'python*') + $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7 pypy{,3}) + >=dev-python/idna-2.1[${PYTHON_USEDEP}] + >=dev-python/asn1crypto-0.21.0[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/six-1.4.1[${PYTHON_USEDEP}] + virtual/python-ipaddress[${PYTHON_USEDEP}] + " +DEPEND="${RDEPEND} + >=dev-python/setuptools-1.0[${PYTHON_USEDEP}] + test? ( + ~dev-python/cryptography-vectors-${PV}[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/iso8601[${PYTHON_USEDEP}] + dev-python/pretend[${PYTHON_USEDEP}] + dev-python/pyasn1-modules[${PYTHON_USEDEP}] + >=dev-python/pytest-2.9.0[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + )" + +DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst ) + +python_configure_all() { + append-cflags $(test-flags-CC -pthread) +} + +python_test() { + py.test -v -v -x || die "Tests fail with ${EPYTHON}" +}