summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2017-03-28 18:18:56 -0700
committerBrian Dolbec <dolsen@gentoo.org>2017-03-28 18:43:07 -0700
commitc197dfabc31ed74f01da9d46afbd3d7081bfd23e (patch)
treeba95bd8f02ad8dd2a8523222f1c352d0d8767aca /dev-python/pynacl
parentdev-python/py-ubjson: Version bump (diff)
downloadgentoo-c197dfabc31ed74f01da9d46afbd3d7081bfd23e.tar.gz
gentoo-c197dfabc31ed74f01da9d46afbd3d7081bfd23e.tar.bz2
gentoo-c197dfabc31ed74f01da9d46afbd3d7081bfd23e.zip
dev-python/pynacl: Version bump
Package-Manager: Portage-2.3.5, Repoman-2.3.2_p30
Diffstat (limited to 'dev-python/pynacl')
-rw-r--r--dev-python/pynacl/Manifest1
-rw-r--r--dev-python/pynacl/pynacl-1.1.1.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/pynacl/Manifest b/dev-python/pynacl/Manifest
index c02775c4bd10..7729e7d6c8b0 100644
--- a/dev-python/pynacl/Manifest
+++ b/dev-python/pynacl/Manifest
@@ -1 +1,2 @@
DIST pynacl-1.0.1.tar.gz 2710876 SHA256 d21d7a7358a85fb9b9ddadfbd1176c40fe199334fe2202881255e77f6d3773f4 SHA512 71731f26b5f262b31dac20313377e91f5668c6012f30ab43da0c460af1c7e15d911ba082af54ce2dfd55fd920f8a48aa40a98650396d12dc906a61d487a0b14f WHIRLPOOL b83e6fee9ed1ec08b979cd9eacce8cfefa352f701d4b212e8a0f5fc5227c7369da1e4ae0973e421ea59f06d259dd6bd018fa3210dd36225befcbf605f77759d0
+DIST pynacl-1.1.1.tar.gz 3099431 SHA256 a251393a93c4bd85e7a2c1c0e938dc8862743ae27d8def87c32b2888ccca049e SHA512 6410f6ed2a474fefd5df425ea7e76fbe527a9d2ed09b36291caf2c5d0e68704e58caa694e06b01ea61323b2ef16ce85c1478191cf49d7eea969395a3d74d09a8 WHIRLPOOL 625589b26591c23976cb0c5c4ec9b53c428f3c3c1a07da187af52183367d625ea5bf4d3038b1fe6c88e5c9d4297b1474137b7f350430faefbdbc43f3e36fd698
diff --git a/dev-python/pynacl/pynacl-1.1.1.ebuild b/dev-python/pynacl/pynacl-1.1.1.ebuild
new file mode 100644
index 000000000000..bc9c3cc8e614
--- /dev/null
+++ b/dev-python/pynacl/pynacl-1.1.1.ebuild
@@ -0,0 +1,36 @@
+# 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
+
+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.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}] )
+"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ # For not using the bundled libsodium
+ export SODIUM_INSTALL=system
+ distutils-r1_python_prepare_all
+}