3023038f18
1.8.1 - 2017-03-10 ~~~~~~~~~~~~~~~~~~ * Fixed macOS wheels to properly link against 1.1.0 rather than 1.0.2. 1.8 - 2017-03-09 ~~~~~~~~~~~~~~~~ * Added support for Python 3.6. * Windows and macOS wheels now link against OpenSSL 1.1.0. * macOS wheels are no longer universal. This change significantly shrinks the size of the wheels. Users on macOS 32-bit Python (if there are any) should migrate to 64-bit or build their own packages. * Changed ASN.1 dependency from ``pyasn1`` to ``asn1crypto`` resulting in a general performance increase when encoding/decoding ASN.1 structures. Also, the ``pyasn1_modules`` test dependency is no longer required. * Added support for :meth:`~cryptography.hazmat.primitives.ciphers.CipherContext.update_into` on :class:`~cryptography.hazmat.primitives.ciphers.CipherContext`. * Added :meth:`~cryptography.hazmat.primitives.asymmetric.dh.DHPrivateKeyWithSerialization.private_bytes` to :class:`~cryptography.hazmat.primitives.asymmetric.dh.DHPrivateKeyWithSerialization`. * Added :meth:`~cryptography.hazmat.primitives.asymmetric.dh.DHPublicKeyWithSerialization.public_bytes` to :class:`~cryptography.hazmat.primitives.asymmetric.dh.DHPublicKeyWithSerialization`. * :func:`~cryptography.hazmat.primitives.serialization.load_pem_private_key` and :func:`~cryptography.hazmat.primitives.serialization.load_der_private_key` now require that ``password`` must be bytes if provided. Previously this was documented but not enforced. * Added support for subgroup order in :doc:`/hazmat/primitives/asymmetric/dh`.
40 lines
1.6 KiB
Makefile
40 lines
1.6 KiB
Makefile
# $NetBSD: Makefile,v 1.52 2017/03/13 09:42:25 wiz Exp $
|
|
|
|
DISTNAME= cryptography-1.8.1
|
|
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}-asn1crypto-[0-9]*:../../security/py-asn1crypto
|
|
DEPENDS+= ${PYPKGPREFIX}-cffi>=1.8.2:../../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
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-cryptography_vectors-[0-9]*:../../security/py-cryptography_vectors
|
|
|
|
.include "../../lang/python/pyversion.mk"
|
|
|
|
.if ${PYPKGPREFIX} == "py27"
|
|
DEPENDS+= ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
|
|
DEPENDS+= ${PYPKGPREFIX}-ipaddress-[0-9]*:../../net/py-ipaddress
|
|
.endif
|
|
|
|
# two test failures in 1.8.1
|
|
# https://github.com/pyca/cryptography/issues/3445
|
|
do-test:
|
|
cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|