dev-python/pynacl - 1.6.2 (ha-bleeding-edge)

Search

Install

Install this version:

emerge -a =dev-python/pynacl-1.6.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/pynacl-1.6.2

Or alternatively:

emerge --autounmask-write -a =dev-python/pynacl-1.6.2

Package Information

Description:
Python binding to the Networking and Cryptography (NaCl) library
Homepage:
https://github.com/pyca/pynacl/
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
1.6.2 8 ~amd64 ~arm64 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{12..14} )

PYPI_PN="PyNaCl"
#PYPI_NO_NORMALIZE=1
DISTUTILS_USE_PEP517=setuptools
inherit pypi distutils-r1

DESCRIPTION="Python binding to the Networking and Cryptography (NaCl) library"
HOMEPAGE="https://github.com/pyca/pynacl/"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="test docs"
RESTRICT="!test? ( test )"

RDEPEND="
    >=dev-python/cffi-2.0.0[${PYTHON_USEDEP}]
    dev-libs/libsodium
"
BDEPEND="
    test? (
        >=dev-python/pytest-7.4.0[${PYTHON_USEDEP}]
        >=dev-python/pytest-cov-2.10.1[${PYTHON_USEDEP}]
        >=dev-python/pytest-xdist-3.5.0[${PYTHON_USEDEP}]
        >=dev-python/hypothesis-3.27.0[${PYTHON_USEDEP}]
    )
    docs? (
        <dev-python/sphinx-7[${PYTHON_USEDEP}]
        dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
    )
"

distutils_enable_tests pytest

USE Flags

Manage flags for this package: euse -i <flag> -p dev-python/pynacl | euse -E <flag> -p dev-python/pynacl | euse -D <flag> -p dev-python/pynacl

Global/Standard Flags

Inherited Eclasses

Dependencies

RDEPEND

    >=dev-python/cffi-2.0.0[]
    dev-libs/libsodium

BDEPEND

    test? (
        >=dev-python/pytest-7.4.0[]
        >=dev-python/pytest-cov-2.10.1[]
        >=dev-python/pytest-xdist-3.5.0[]
        >=dev-python/hypothesis-3.27.0[]
    )
    docs? (
        <dev-python/sphinx-7[]
        dev-python/sphinx-rtd-theme[]
    )