diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-06-08 19:47:52 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-06-08 19:52:52 +0200 |
commit | 9ceec0d66d839148425d2ab0ac15d90f97be3544 (patch) | |
tree | 7d6afe32db6dea2677d0574a02bd79ec6e8b31c7 /dev-python/pynacl/pynacl-1.4.0.ebuild | |
parent | dev-python/pynacl: Port to py3.9 (diff) | |
download | gentoo-9ceec0d66d839148425d2ab0ac15d90f97be3544.tar.gz gentoo-9ceec0d66d839148425d2ab0ac15d90f97be3544.tar.bz2 gentoo-9ceec0d66d839148425d2ab0ac15d90f97be3544.zip |
dev-python/pynacl: Bump to 1.4.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pynacl/pynacl-1.4.0.ebuild')
-rw-r--r-- | dev-python/pynacl/pynacl-1.4.0.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/pynacl/pynacl-1.4.0.ebuild b/dev-python/pynacl/pynacl-1.4.0.ebuild new file mode 100644 index 000000000000..6f73a99639f2 --- /dev/null +++ b/dev-python/pynacl/pynacl-1.4.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{6..9}) + +inherit distutils-r1 + +DESCRIPTION="Python binding to the Networking and Cryptography (NaCl) library" +HOMEPAGE="https://github.com/pyca/pynacl/ https://pypi.org/project/PyNaCl/" +SRC_URI="https://github.com/pyca/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + >=dev-python/cffi-1.4.1[${PYTHON_USEDEP}] + dev-libs/libsodium:0/23 +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( >=dev-python/hypothesis-3.27.0[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests pytest + +src_prepare() { + # For not using the bundled libsodium + export SODIUM_INSTALL=system + sed -i -e 's:"wheel"::' setup.py || die + distutils-r1_python_prepare_all +} |