Skip to content

Commit

Permalink
Merge pull request #28930 from maresb/libnacl
Browse files Browse the repository at this point in the history
Add libnacl
  • Loading branch information
ocefpaf authored Jan 25, 2025
2 parents 1721776 + 0d72bb8 commit 434247f
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions recipes/libnacl-python-bindings/recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
context:
version: 2.1.0

package:
name: libnacl-python-bindings
version: ${{ version }}

source:
- url: https://pypi.org/packages/source/l/libnacl/libnacl-${{ version }}.tar.gz
sha256: f3418da7df29e6d9b11fd7d990289d16397dc1020e4e35192e11aee826922860

build:
number: 0
noarch: python
script: ${{ PYTHON }} -m pip install .

requirements:
host:
- python ${{ python_min }}.*
- poetry-core
- pip
run:
- python >=${{ python_min }},<4.0
- libsodium

tests:
- python:
python_version: ${{ python_min }}.*
imports:
- libnacl
pip_check: true
- files:
source:
- tests/
script:
- python -m unittest discover --start-directory tests -v

about:
homepage: https://github.com/saltstack/libnacl
repository: https://github.com/saltstack/libnacl
summary: Python bindings for libsodium based on ctypes
description: |
This library is used to gain direct access to the functions exposed by
Daniel J. Bernstein's nacl library via libsodium.
license: Apache-2.0
license_file: LICENSE
documentation: https://libnacl.readthedocs.org

extra:
recipe-maintainers:
- maresb

0 comments on commit 434247f

Please sign in to comment.