bb579283d0
They now have a tool dependency on py-setuptools instead of a DEPENDS
29 lines
912 B
Makefile
29 lines
912 B
Makefile
# $NetBSD: Makefile,v 1.9 2022/01/04 20:54:42 wiz Exp $
|
|
|
|
DISTNAME= PyNaCl-1.4.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl:S/^py//}
|
|
PKGREVISION= 1
|
|
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
|
|
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
|
|
DEPENDS+= ${PYPKGPREFIX}-cffi>=1.4.1:../../devel/py-cffi
|
|
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
|
|
|
|
PYTHON_VERSIONED_DEPENDENCIES= test:test
|
|
PYTHON_VERSIONED_DEPENDENCIES+= hypothesis:test
|
|
|
|
MAKE_ENV+= SODIUM_INSTALL=system
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
|
|
|
|
.include "../../security/libsodium/buildlink3.mk"
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../lang/python/versioned_dependencies.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|