pkgsrc/security/py-nacl/Makefile

25 lines
749 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.4 2019/02/19 17:49:24 tm Exp $
py-nacl: update to 1.3.0 1.3.0 2018-09-26 - Added support for Python 3.7. - Update libsodium to 1.0.16. - Run and test all code examples in PyNaCl docs through sphinx's doctest builder. - Add low-level bindings for chacha20-poly1305 AEAD constructions. - Add low-level bindings for the chacha20-poly1305 secretstream constructions. - Add low-level bindings for ed25519ph pre-hashed signing construction. - Add low-level bindings for constant-time increment and addition on fixed-precision big integers represented as little-endian byte sequences. - Add low-level bindings for the ISO/IEC 7816-4 compatible padding API. - Add low-level bindings for libsodium's crypto_kx... key exchange construction. - Set hypothesis deadline to None in tests/test_pwhash.py to avoid incorrect test failures on slower processor architectures. GitHub issue #370 1.2.1 - 2017-12-04 - Update hypothesis minimum allowed version. - Infrastructure: add proper configuration for readthedocs builder runtime environment. 1.2.0 - 2017-11-01 - Update libsodium to 1.0.15. - Infrastructure: add jenkins support for automatic build of manylinux1 binary wheels - Added support for SealedBox construction. - Added support for argon2i and argon2id password hashing constructs and restructured high-level password hashing implementation to expose the same interface for all hashers. - Added support for 128 bit siphashx24 variant of siphash24. - Added support for from_seed APIs for X25519 keypair generation. - Dropped support for Python 3.3.
2019-02-19 13:14:22 +01:00
DISTNAME= PyNaCl-1.3.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl:S/^py//}
CATEGORIES= security python
MASTER_SITES= ${MASTER_SITE_PYPI:=P/PyNaCl/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/pyca/pynacl/
COMMENT= Python binding to the Networking and Cryptography (NaCl) library
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-cffi>=1.4.1:../../devel/py-cffi
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
MAKE_ENV+= SODIUM_INSTALL=system
do-test:
cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
.include "../../security/libsodium/buildlink3.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"