Skip to content

Commit

Permalink
Add siphash24
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Jul 4, 2024
1 parent 6574483 commit ccc4c7c
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions siphash24/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{% set name = "siphash24" %}
{% set version = "1.6" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/siphash24-{{ version }}.tar.gz
sha256: 242d6901a81260f618938635a25ae7f208e744f7ee6c571f1b255c1c4c62917d

build:
noarch: python
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
number: 0

requirements:
host:
- python >=3.7
- cython >=3.0.2
- meson >=1.0.0
- meson-python >=0.14.0
- pip
run:
- python >=3.7

test:
imports:
- siphash24
commands:
- PYTHONHASHSEED=0 python check.py
- python test.py
source_files:
- test.py
- check.py
requires:
- pip

about:
summary: Streaming-capable SipHash-1-3 and SipHash-2-4 Implementation
dev_url: https://github.com/dnicolodi/python-siphash24/
license: 'Apache 2.0 or LGPL 2.1 or later'
license_file:
- LICENSES/Apache-2.0.txt
- LICENSES/LGPL-2.1-or-later.txt

extra:
recipe-maintainers:
- inducer
- matthiasdiener

0 comments on commit ccc4c7c

Please sign in to comment.