Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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