diff options
author | Brian Dolbec <dolsen@gentoo.org> | 2018-01-19 10:28:51 -0800 |
---|---|---|
committer | Brian Dolbec <dolsen@gentoo.org> | 2018-01-19 14:55:33 -0800 |
commit | 3c78cbac23bae78f16de534b833e65259e9a1efe (patch) | |
tree | 1d1a15f32c1fdebd9d65bb9d46d0ce41751d9872 /dev-python/pynacl/pynacl-1.2.1.ebuild | |
parent | dev-python/py-ubjson: Version bump (diff) | |
download | gentoo-3c78cbac23bae78f16de534b833e65259e9a1efe.tar.gz gentoo-3c78cbac23bae78f16de534b833e65259e9a1efe.tar.bz2 gentoo-3c78cbac23bae78f16de534b833e65259e9a1efe.zip |
dev-python/pynacl: Version bump
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'dev-python/pynacl/pynacl-1.2.1.ebuild')
-rw-r--r-- | dev-python/pynacl/pynacl-1.2.1.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/pynacl/pynacl-1.2.1.ebuild b/dev-python/pynacl/pynacl-1.2.1.ebuild new file mode 100644 index 000000000000..bf8ceeff5c8f --- /dev/null +++ b/dev-python/pynacl/pynacl-1.2.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2018 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 ~arm ~ia64 ~ppc ~ppc64 ~x86" +IUSE="test" + +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/pytest-2.6.4[${PYTHON_USEDEP}] ) +" + +src_prepare() { + # For not using the bundled libsodium + export SODIUM_INSTALL=system + distutils-r1_python_prepare_all +} + +python_test() { + py.test -v || die "Tests failed under ${EPYTHON}" +} |