python-PyNaCl
Port variant v12
Summary Binding to NaCl Cryptography library (3.12)
BROKEN
Package version 1.5.0
Homepage https://github.com/pyca/pynacl/
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v13
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 15 NOV 2024, 16:08:50 UTC
Port created 05 FEB 2019, 15:55:37 UTC
Subpackage Descriptions
single =============================================== PyNaCl: Python binding to the libsodium library =============================================== :alt: Latest Version :alt: Compatible Python Versions PyNaCl is a Python binding to `libsodium`_, which is a fork of the `Networking and Cryptography library`_. These libraries have a stated goal of improving usability, security and speed. It supports Python 3.6+ as well as PyPy 3. .. _libsodium: https://github.com/jedisct1/libsodium .. _Networking and Cryptography library: https://nacl.cr.yp.to/ Features -------- * Digital signatures * Secret-key encryption * Public-key encryption * Hashing and message authentication * Password based key derivation and password hashing `Changelog`_ ------------ .. _Changelog: https://pynacl.readthedocs.io/en/stable/changelog/ Installation ============ Binary wheel install -------------------- PyNaCl ships as a binary wheel on macOS, Windows and Linux manylinux1 [#many]_ , so all dependencies are included. Make sure you have an up-to-date pip and run: .. code-block:: console $ pip install pynacl Faster wheel build ------------------ You can define the environment variable LIBSODIUM_MAKE_ARGS to pass arguments to make and enable `parallelization`_: .. code-block:: console $ LIBSODIUM_MAKE_ARGS=-j4 pip install pynacl Linux source build ------------------ PyNaCl relies on `libsodium`_, a portable C library. A copy is bundled with PyNaCl so to install you can run: .. code-block:: console $ pip install pynacl If you'd prefer to use the version of libsodium provided by your distribution, you can disable the bundled copy during install by running: .. code-block:: console $ SODIUM_INSTALL=system pip install pynacl .. warning:: Usage of the legacy easy_install command provided by setuptools is generally discouraged, and is completely unsupported in PyNaCl's case. .. _parallelization: https://www.gnu.org/software/make/manual/html_node/Parallel.html .. _libsodium: https://github.com/jedisct1/libsodium .. [#many] [manylinux1 wheels] are built on a baseline linux environment based on Centos 5.11 and should work on most x86 and x86_64 glibc based linux environments. Changelog ========= 1.5.0 (2022-01-07) ------------------ * **BACKWARDS INCOMPATIBLE:** Removed support for Python 2.7 and Python 3.5. * **BACKWARDS INCOMPATIBLE:** We no longer distribute manylinux1 wheels. * Added manylinux2014, manylinux_2_24, musllinux, and macOS universal2 wheels (the latter supports macOS arm64).
Configuration Switches (platform-specific settings discarded)
PY312 ON Build using Python 3.12 PY313 OFF Build using Python 3.13
Package Dependencies by Type
Build (only) libsodium:dev:std
python312:dev:std
python-setuptools:single:v12
autoselect-python:single:std
Build and Runtime libsodium:primary:std
python-cffi:single:v12
python-setuptools:single:v12
python312:primary:std
Download groups
main mirror://PYPI/P/PyNaCl
Distribution File Information
8ac7448f09ab85811607bdd21ec2464495ac8b7c66d146bf545b0f08fb9220ba 3392854 python-src/PyNaCl-1.5.0.tar.gz
Ports that require python-PyNaCl:v12
python-paramiko:v12 SSH2 protocol library (3.12)