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 | |
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')
-rw-r--r-- | dev-python/pynacl/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pynacl/pynacl-1.4.0.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/pynacl/Manifest b/dev-python/pynacl/Manifest index 1864d109f743..3676176d5df9 100644 --- a/dev-python/pynacl/Manifest +++ b/dev-python/pynacl/Manifest @@ -1,2 +1,3 @@ DIST pynacl-1.2.1.tar.gz 3302051 BLAKE2B 96278368427c2b5f1d9508a5d9a36853a9c50390ee3ada20d6344e4f7f67fb3f1285c45794b863f129b48feff8a5a3d4a20796f69e832cec2aef26f27961d925 SHA512 15a3a84fed4d002072c185ca346c708ed0fb397ca3a8d0144caced635cc2e00e19603767cf9fcedc571cb4bf32c546141094ce44536dd117c3775efb2fc589b9 DIST pynacl-1.3.0.tar.gz 3405949 BLAKE2B e6a6444eed2cbf134ee6060ef382981f6bfb8396fbae30dc1e16f7702a559b7ea56889d9889adfea09ac6644732fafb98e07da99e3a41392303b6a45f0b494b1 SHA512 815c31a2069cbee1091d7e0ebf0b5572875c4a537311af561b5bce0b9d8051028e367a516b46481453d9780e60e9e7e2a4640d320164059c3974b0319d1cf96d +DIST pynacl-1.4.0.tar.gz 46396758 BLAKE2B 9575bca05ecaf33e798f2abfee7a1af26bbb10b5dbd4e7ca70af8032866e26b88736c2a2ff52e4496e4862f92042fb125df7cd1f1427b16a2313926162466343 SHA512 2a11a623452cea60199cdff83db6f5922698237267c11f055f2fd7768e0875a819dcc08c477113ad89461797ab36d66e0b9c7700eee335eb6b16af6b378b9e88 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 +} |