5cd3c99ffd
1.4 - 2016-06-04 ~~~~~~~~~~~~~~~~ * Support for OpenSSL 0.9.8 has been removed. Users on older versions of OpenSSL will need to upgrade. * Added :class:`~cryptography.hazmat.primitives.kdf.kbkdf.KBKDFHMAC`. * Added support for ``OpenSSH`` public key serialization. * Added support for SHA-2 in RSA :class:`~cryptography.hazmat.primitives.asymmetric.padding.OAEP` when using OpenSSL 1.0.2 or greater. * Added "one shot" :meth:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey.sign` and :meth:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey.verify` methods to RSA keys.
38 lines
1.4 KiB
Makefile
38 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.41 2016/06/06 11:58:09 wiz Exp $
|
|
|
|
DISTNAME= cryptography-1.4
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= security python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=c/cryptography/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://pypi.python.org/pypi/cryptography/
|
|
COMMENT= Cryptographic recipes and primitives for Python
|
|
LICENSE= apache-2.0 OR modified-bsd
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-asn1-[0-9]*:../../security/py-asn1
|
|
DEPENDS+= ${PYPKGPREFIX}-cffi>=0.8:../../devel/py-cffi
|
|
DEPENDS+= ${PYPKGPREFIX}-cparser>=2.10:../../devel/py-cparser
|
|
DEPENDS+= ${PYPKGPREFIX}-idna-[0-9]*:../../www/py-idna
|
|
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
|
|
# actually, TEST_DEPENDS
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-iso8601-[0-9]*:../../time/py-iso8601
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-pretend-[0-9]*:../../devel/py-pretend
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-requests>=0.8:../../devel/py-requests
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-test>=0.8:../../devel/py-test
|
|
|
|
.include "../../lang/python/pyversion.mk"
|
|
|
|
.if ${PYPKGPREFIX} == "py27"
|
|
DEPENDS+= ${PYPKGPREFIX}-ipaddress-[0-9]*:../../net/py-ipaddress
|
|
.endif
|
|
.if ${PYPKGPREFIX} == "py27" || ${PYPKGPREFIX} == "py33"
|
|
DEPENDS+= ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
|
|
.endif
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|