diff options
Diffstat (limited to 'dev-python/pynacl')
-rw-r--r-- | dev-python/pynacl/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pynacl/pynacl-1.1.2.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/pynacl/Manifest b/dev-python/pynacl/Manifest index ec36eeeb5272..1c7f30d63487 100644 --- a/dev-python/pynacl/Manifest +++ b/dev-python/pynacl/Manifest @@ -1 +1,2 @@ DIST pynacl-1.1.1.tar.gz 3099431 SHA256 a251393a93c4bd85e7a2c1c0e938dc8862743ae27d8def87c32b2888ccca049e SHA512 6410f6ed2a474fefd5df425ea7e76fbe527a9d2ed09b36291caf2c5d0e68704e58caa694e06b01ea61323b2ef16ce85c1478191cf49d7eea969395a3d74d09a8 WHIRLPOOL 625589b26591c23976cb0c5c4ec9b53c428f3c3c1a07da187af52183367d625ea5bf4d3038b1fe6c88e5c9d4297b1474137b7f350430faefbdbc43f3e36fd698 +DIST pynacl-1.1.2.tar.gz 3149804 SHA256 448897f0cfe3607dc23a871fa4405ef00926179df27ee8dfd0e46d42c60d8968 SHA512 ce9c720699fc3b808bb569ad9916f5f5ea97fbc49643117b014374ffaf77ce7972a530e9c4cfaca14dcffc8d676b5bce2facf6da99bf2fda4e319b772075e52e WHIRLPOOL e30d1fb88e94976ee334a950726437995cb8aac539cb96c93812f44314d8981dad5969cc1e687638d9100553ed6cf0b5ce2c93e66f3a1cd7aa55db034a76aa33 diff --git a/dev-python/pynacl/pynacl-1.1.2.ebuild b/dev-python/pynacl/pynacl-1.1.2.ebuild new file mode 100644 index 000000000000..0c6657009781 --- /dev/null +++ b/dev-python/pynacl/pynacl-1.1.2.ebuild @@ -0,0 +1,31 @@ +# 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}) + +inherit distutils-r1 + +DESCRIPTION="Python binding to the Networking and Cryptography (NaCl) library" +HOMEPAGE="https://github.com/pyca/pynacl/ https://pypi.python.org/pypi/PyNaCl/" +SRC_URI="https://github.com/pyca/${PN}/archive/${PV}.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.4.1[${PYTHON_USEDEP}] + dev-libs/libsodium:0/18 +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( >=dev-python/pytest-2.6.4[${PYTHON_USEDEP}] ) +" + +src_prepare() { + # For not using the bundled libsodium + export SODIUM_INSTALL=system + distutils-r1_python_prepare_all +} |