summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorwiz <wiz>2014-03-21 13:20:35 +0000
committerwiz <wiz>2014-03-21 13:20:35 +0000
commit485f03e5cb553bf7ab9d2b6c6e53c68f05c6c328 (patch)
tree300986f6d6484d3418b22c54e9f6c73bf12e086d /security
parenta3c0d4486a60ed9e8c7cfc3f939b754f386b3245 (diff)
downloadpkgsrc-485f03e5cb553bf7ab9d2b6c6e53c68f05c6c328.tar.gz
Import py27-cryptography-0.2.2 as security/py-cryptography.
cryptography is a package designed to expose cryptographic recipes and primitives to Python developers. Our goal is for it to be your "cryptographic standard library". cryptography includes both high level recipes, and low level interfaces to common cryptographic algorithms such as symmetric ciphers, message digests and key derivation functions. Comitted during the freeze since py-OpenSSL needs it.
Diffstat (limited to 'security')
-rw-r--r--security/py-cryptography/DESCR7
-rw-r--r--security/py-cryptography/Makefile35
-rw-r--r--security/py-cryptography/PLIST202
-rw-r--r--security/py-cryptography/distinfo5
4 files changed, 249 insertions, 0 deletions
diff --git a/security/py-cryptography/DESCR b/security/py-cryptography/DESCR
new file mode 100644
index 00000000000..e5cb8de7863
--- /dev/null
+++ b/security/py-cryptography/DESCR
@@ -0,0 +1,7 @@
+cryptography is a package designed to expose cryptographic recipes
+and primitives to Python developers. Our goal is for it to be your
+"cryptographic standard library".
+
+cryptography includes both high level recipes, and low level
+interfaces to common cryptographic algorithms such as symmetric
+ciphers, message digests and key derivation functions.
diff --git a/security/py-cryptography/Makefile b/security/py-cryptography/Makefile
new file mode 100644
index 00000000000..3e1c965fe7d
--- /dev/null
+++ b/security/py-cryptography/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1 2014/03/21 13:20:35 wiz Exp $
+
+DISTNAME= cryptography-0.2.2
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= security python
+MASTER_SITES= https://pypi.python.org/packages/source/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
+
+DEPENDS+= ${PYPKGPREFIX}-cffi>=0.8:../../devel/py-cffi
+DEPENDS+= ${PYPKGPREFIX}-cparser>=2.10:../../devel/py-cparser
+DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+
+.include "../../lang/python/pyversion.mk"
+
+.if ${PYPKGPREFIX} == "py33"
+PLIST_SUBST+= SONAME1=_cffi__xcd368b2dx4a8b9ec1.so
+PLIST_SUBST+= SONAME2=_cffi__xdf1872a9xf0ae7e21.so
+PLIST_SUBST+= SONAME3=_cffi__xf2e3c1f8xfba2f231.so
+.elif ${PYPKGPREFIX} == "py27"
+PLIST_SUBST+= SONAME1=_cffi__x5fea2bacx4a8b9ec1.so
+PLIST_SUBST+= SONAME2=_cffi__x657b2f6exf0ae7e21.so
+PLIST_SUBST+= SONAME3=_cffi__xcfd0a060xfba2f231.so
+.elif ${PYPKGPREFIX} == "py26"
+PLIST_SUBST+= SONAME1=_cffi__x63e6cd6axfba2f231.so
+PLIST_SUBST+= SONAME2=_cffi__xcc2cb6a8xf0ae7e21.so
+PLIST_SUBST+= SONAME3=_cffi__xe2e07463x4a8b9ec1.so
+.endif
+
+.include "../../lang/python/egg.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/py-cryptography/PLIST b/security/py-cryptography/PLIST
new file mode 100644
index 00000000000..301856bc4a3
--- /dev/null
+++ b/security/py-cryptography/PLIST
@@ -0,0 +1,202 @@
+@comment $NetBSD: PLIST,v 1.1 2014/03/21 13:20:35 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/cryptography/__about__.py
+${PYSITELIB}/cryptography/__about__.pyc
+${PYSITELIB}/cryptography/__about__.pyo
+${PYSITELIB}/cryptography/__init__.py
+${PYSITELIB}/cryptography/__init__.pyc
+${PYSITELIB}/cryptography/__init__.pyo
+${PYSITELIB}/cryptography/${SONAME1}
+${PYSITELIB}/cryptography/${SONAME2}
+${PYSITELIB}/cryptography/${SONAME3}
+${PYSITELIB}/cryptography/exceptions.py
+${PYSITELIB}/cryptography/exceptions.pyc
+${PYSITELIB}/cryptography/exceptions.pyo
+${PYSITELIB}/cryptography/fernet.py
+${PYSITELIB}/cryptography/fernet.pyc
+${PYSITELIB}/cryptography/fernet.pyo
+${PYSITELIB}/cryptography/hazmat/__init__.py
+${PYSITELIB}/cryptography/hazmat/__init__.pyc
+${PYSITELIB}/cryptography/hazmat/__init__.pyo
+${PYSITELIB}/cryptography/hazmat/backends/__init__.py
+${PYSITELIB}/cryptography/hazmat/backends/__init__.pyc
+${PYSITELIB}/cryptography/hazmat/backends/__init__.pyo
+${PYSITELIB}/cryptography/hazmat/backends/commoncrypto/__init__.py
+${PYSITELIB}/cryptography/hazmat/backends/commoncrypto/__init__.pyc
+${PYSITELIB}/cryptography/hazmat/backends/commoncrypto/__init__.pyo
+${PYSITELIB}/cryptography/hazmat/backends/commoncrypto/backend.py
+${PYSITELIB}/cryptography/hazmat/backends/commoncrypto/backend.pyc
+${PYSITELIB}/cryptography/hazmat/backends/commoncrypto/backend.pyo
+${PYSITELIB}/cryptography/hazmat/backends/interfaces.py
+${PYSITELIB}/cryptography/hazmat/backends/interfaces.pyc
+${PYSITELIB}/cryptography/hazmat/backends/interfaces.pyo
+${PYSITELIB}/cryptography/hazmat/backends/multibackend.py
+${PYSITELIB}/cryptography/hazmat/backends/multibackend.pyc
+${PYSITELIB}/cryptography/hazmat/backends/multibackend.pyo
+${PYSITELIB}/cryptography/hazmat/backends/openssl/__init__.py
+${PYSITELIB}/cryptography/hazmat/backends/openssl/__init__.pyc
+${PYSITELIB}/cryptography/hazmat/backends/openssl/__init__.pyo
+${PYSITELIB}/cryptography/hazmat/backends/openssl/backend.py
+${PYSITELIB}/cryptography/hazmat/backends/openssl/backend.pyc
+${PYSITELIB}/cryptography/hazmat/backends/openssl/backend.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/__init__.py
+${PYSITELIB}/cryptography/hazmat/bindings/__init__.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/__init__.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/__init__.py
+${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/__init__.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/__init__.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/binding.py
+${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/binding.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/binding.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/common_cryptor.py
+${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/common_cryptor.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/common_cryptor.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/common_digest.py
+${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/common_digest.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/common_digest.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/common_hmac.py
+${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/common_hmac.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/common_hmac.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/common_key_derivation.py
+${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/common_key_derivation.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/common_key_derivation.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/__init__.py
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/__init__.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/__init__.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/aes.py
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/aes.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/aes.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/asn1.py
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/asn1.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/asn1.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/bignum.py
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/bignum.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/bignum.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/binding.py
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/binding.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/binding.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/bio.py
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/bio.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/bio.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/conf.py
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/conf.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/conf.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/crypto.py
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/crypto.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/crypto.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/dh.py
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/dh.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/dh.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/dsa.py
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/dsa.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/dsa.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/ec.py
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/ec.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/ec.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/engine.py
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/engine.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/engine.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/err.py
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/err.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/err.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/evp.py
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/evp.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/evp.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/hmac.py
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/hmac.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/hmac.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/nid.py
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/nid.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/nid.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/objects.py
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/objects.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/objects.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/opensslv.py
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/opensslv.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/opensslv.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/osrandom_engine.py
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/osrandom_engine.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/osrandom_engine.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/pem.py
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/pem.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/pem.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/pkcs12.py
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/pkcs12.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/pkcs12.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/pkcs7.py
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/pkcs7.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/pkcs7.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/rand.py
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/rand.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/rand.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/rsa.py
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/rsa.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/rsa.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/ssl.py
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/ssl.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/ssl.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/x509.py
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/x509.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/x509.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/x509name.py
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/x509name.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/x509name.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/x509v3.py
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/x509v3.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/openssl/x509v3.pyo
+${PYSITELIB}/cryptography/hazmat/bindings/utils.py
+${PYSITELIB}/cryptography/hazmat/bindings/utils.pyc
+${PYSITELIB}/cryptography/hazmat/bindings/utils.pyo
+${PYSITELIB}/cryptography/hazmat/primitives/__init__.py
+${PYSITELIB}/cryptography/hazmat/primitives/__init__.pyc
+${PYSITELIB}/cryptography/hazmat/primitives/__init__.pyo
+${PYSITELIB}/cryptography/hazmat/primitives/asymmetric/__init__.py
+${PYSITELIB}/cryptography/hazmat/primitives/asymmetric/__init__.pyc
+${PYSITELIB}/cryptography/hazmat/primitives/asymmetric/__init__.pyo
+${PYSITELIB}/cryptography/hazmat/primitives/asymmetric/rsa.py
+${PYSITELIB}/cryptography/hazmat/primitives/asymmetric/rsa.pyc
+${PYSITELIB}/cryptography/hazmat/primitives/asymmetric/rsa.pyo
+${PYSITELIB}/cryptography/hazmat/primitives/ciphers/__init__.py
+${PYSITELIB}/cryptography/hazmat/primitives/ciphers/__init__.pyc
+${PYSITELIB}/cryptography/hazmat/primitives/ciphers/__init__.pyo
+${PYSITELIB}/cryptography/hazmat/primitives/ciphers/algorithms.py
+${PYSITELIB}/cryptography/hazmat/primitives/ciphers/algorithms.pyc
+${PYSITELIB}/cryptography/hazmat/primitives/ciphers/algorithms.pyo
+${PYSITELIB}/cryptography/hazmat/primitives/ciphers/base.py
+${PYSITELIB}/cryptography/hazmat/primitives/ciphers/base.pyc
+${PYSITELIB}/cryptography/hazmat/primitives/ciphers/base.pyo
+${PYSITELIB}/cryptography/hazmat/primitives/ciphers/modes.py
+${PYSITELIB}/cryptography/hazmat/primitives/ciphers/modes.pyc
+${PYSITELIB}/cryptography/hazmat/primitives/ciphers/modes.pyo
+${PYSITELIB}/cryptography/hazmat/primitives/constant_time.py
+${PYSITELIB}/cryptography/hazmat/primitives/constant_time.pyc
+${PYSITELIB}/cryptography/hazmat/primitives/constant_time.pyo
+${PYSITELIB}/cryptography/hazmat/primitives/hashes.py
+${PYSITELIB}/cryptography/hazmat/primitives/hashes.pyc
+${PYSITELIB}/cryptography/hazmat/primitives/hashes.pyo
+${PYSITELIB}/cryptography/hazmat/primitives/hmac.py
+${PYSITELIB}/cryptography/hazmat/primitives/hmac.pyc
+${PYSITELIB}/cryptography/hazmat/primitives/hmac.pyo
+${PYSITELIB}/cryptography/hazmat/primitives/interfaces.py
+${PYSITELIB}/cryptography/hazmat/primitives/interfaces.pyc
+${PYSITELIB}/cryptography/hazmat/primitives/interfaces.pyo
+${PYSITELIB}/cryptography/hazmat/primitives/kdf/__init__.py
+${PYSITELIB}/cryptography/hazmat/primitives/kdf/__init__.pyc
+${PYSITELIB}/cryptography/hazmat/primitives/kdf/__init__.pyo
+${PYSITELIB}/cryptography/hazmat/primitives/kdf/hkdf.py
+${PYSITELIB}/cryptography/hazmat/primitives/kdf/hkdf.pyc
+${PYSITELIB}/cryptography/hazmat/primitives/kdf/hkdf.pyo
+${PYSITELIB}/cryptography/hazmat/primitives/kdf/pbkdf2.py
+${PYSITELIB}/cryptography/hazmat/primitives/kdf/pbkdf2.pyc
+${PYSITELIB}/cryptography/hazmat/primitives/kdf/pbkdf2.pyo
+${PYSITELIB}/cryptography/hazmat/primitives/padding.py
+${PYSITELIB}/cryptography/hazmat/primitives/padding.pyc
+${PYSITELIB}/cryptography/hazmat/primitives/padding.pyo
+${PYSITELIB}/cryptography/utils.py
+${PYSITELIB}/cryptography/utils.pyc
+${PYSITELIB}/cryptography/utils.pyo
diff --git a/security/py-cryptography/distinfo b/security/py-cryptography/distinfo
new file mode 100644
index 00000000000..905388f5bb5
--- /dev/null
+++ b/security/py-cryptography/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/03/21 13:20:35 wiz Exp $
+
+SHA1 (cryptography-0.2.2.tar.gz) = 578e6a4cae6e24ecfa7069e1924ca99bd3c7d3ba
+RMD160 (cryptography-0.2.2.tar.gz) = 8203428fbef935cafe897ae0878ac7e482781211
+Size (cryptography-0.2.2.tar.gz) = 13772494 bytes