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 45CF21395E2 for ; Tue, 6 Dec 2016 09:29:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C6A721C2F5; Tue, 6 Dec 2016 09:29:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 619AD21C2F5 for ; Tue, 6 Dec 2016 09:29:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 855DB341117 for ; Tue, 6 Dec 2016 09:29:10 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 50FAD24AB for ; Tue, 6 Dec 2016 09:29:09 +0000 (UTC) From: "Tobias Klausmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tobias Klausmann" Message-ID: <1481016545.da3ac2fc4ebd5399529b7728af6a1b4b5e2fad54.klausman@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pynacl/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pynacl/pynacl-1.0.1-r1.ebuild X-VCS-Directories: dev-python/pynacl/ X-VCS-Committer: klausman X-VCS-Committer-Name: Tobias Klausmann X-VCS-Revision: da3ac2fc4ebd5399529b7728af6a1b4b5e2fad54 X-VCS-Branch: master Date: Tue, 6 Dec 2016 09:29:09 +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: 05021920-474a-4d53-996c-9a053181b1a8 X-Archives-Hash: 912a4eee69f0221820cfe826ad5416bd commit: da3ac2fc4ebd5399529b7728af6a1b4b5e2fad54 Author: Tobias Klausmann gentoo org> AuthorDate: Tue Dec 6 09:28:01 2016 +0000 Commit: Tobias Klausmann gentoo org> CommitDate: Tue Dec 6 09:29:05 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da3ac2fc dev-python/pynacl: Ensure that the bundled libsodium is never used Package-Manager: portage-2.3.3 dev-python/pynacl/pynacl-1.0.1-r1.ebuild | 37 ++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/dev-python/pynacl/pynacl-1.0.1-r1.ebuild b/dev-python/pynacl/pynacl-1.0.1-r1.ebuild new file mode 100644 index 00000000..82dde1a --- /dev/null +++ b/dev-python/pynacl/pynacl-1.0.1-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5}) + +inherit distutils-r1 + +MY_PN="PyNaCl" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Python binding to the Networking and Cryptography (NaCl) library" +HOMEPAGE="https://github.com/pyca/pynacl/ https://pypi.python.org/pypi/PyNaCl/" +SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}] + >=dev-python/cffi-1.1.0[${PYTHON_USEDEP}] + dev-libs/libsodium:0/18 +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( >=dev-python/pytest-2.6.4[${PYTHON_USEDEP}] ) +" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + # For not using the bundled libsodium + export SODIUM_INSTALL=system + distutils-r1_python_prepare_all +}