python-cryptography, python-cryptography-vectors: uprev

Pick up many fixes and enhancements made since 0.8.1 was released.
See: https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst

The uprev requires an uprev of pyasn1 and also pulls in two new
packages idna and ipaddress. The idna software has 3 licenses, one of
which is the 'Unicode' license: http://www.unicode.org/copyright.html

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Mark Asselstine
2015-11-23 12:13:47 -05:00
committed by Martin Jansa
parent 2463e39c44
commit 06f04adf4b
7 changed files with 98 additions and 8 deletions

View File

@@ -8,7 +8,7 @@ SRCNAME = "cryptography_vectors"
SRC_URI = "https://pypi.python.org/packages/source/c/cryptography-vectors/${SRCNAME}-${PV}.tar.gz"
S = "${WORKDIR}/${SRCNAME}-${PV}"
SRC_URI[md5sum] = "04fcfcc61aee62e3b4beb1740cd120ac"
SRC_URI[sha256sum] = "4a69e66026bfce4b97f75e72fe262f5e8f71daddc081f6608e5b0db89e552504"
SRC_URI[md5sum] = "0ad422501074929c06b7edd40df41844"
SRC_URI[sha256sum] = "a929fbb0eac391c93c5745451a4d4157a8bc18eb2e69faf3af1d825ceacbf32c"
inherit setuptools

View File

@@ -10,8 +10,8 @@ SRC_URI = "https://pypi.python.org/packages/source/c/${SRCNAME}/${SRCNAME}-${PV}
"
S = "${WORKDIR}/${SRCNAME}-${PV}"
SRC_URI[md5sum] = "70dde78a5515abdbfd7a3d58f15689ab"
SRC_URI[sha256sum] = "f4e041bc83c1be94d87116a7aa201c378b7c6581be4d83994b2da0a84499f73b"
SRC_URI[md5sum] = "dd06da41535184f48f2c8e8b74dd570f"
SRC_URI[sha256sum] = "059bc6428b1d0e2317f505698602642f1d8dda5b120ec573a59a430d8cb7a32d"
inherit pypi
@@ -26,6 +26,9 @@ RDEPENDS_${PN} = "\
python-threading\
python-numbers\
python-contextlib\
python-ipaddress\
python-pyasn1\
python-idna\
"
RDEPENDS_${PN}-ptest = "\
@@ -44,3 +47,7 @@ do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests/hazmat
cp -rf ${S}/tests/hazmat/* ${D}${PTEST_PATH}/tests/hazmat/
}
FILES_${PN}-dbg += " \
${libdir}/python2.7/site-packages/${SRCNAME}/hazmat/bindings/.debug \
"

View File

@@ -0,0 +1,22 @@
DESCRIPTION = "Internationalised Domain Names in Applications"
HOMEPAGE = "https://github.com/kjd/idna"
SECTION = "devel/python"
LICENSE = "BSD-3-Clause & Python-2.0 & Unicode"
LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=c61e6ec7ab3da6b340d8d3a89c964ef2"
PV = "2.0"
SRCREV = "bb6e94c5b5525684d8ca010bf8ab42480c319e0a"
SRCNAME = "idna"
SRC_URI = "git://github.com/kjd/${SRCNAME}.git"
S = "${WORKDIR}/git"
inherit setuptools
DEPENDS += " \
python-pip \
"
RDEPENDS_${PN} += " \
"

View File

@@ -0,0 +1,22 @@
DESCRIPTION = "Python 3.3+'s ipaddress for Python 2.6, 2.7, 3.2."
HOMEPAGE = "https://github.com/phihag/ipaddress"
SECTION = "devel/python"
LICENSE = "Python-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=7f538584cc3407bf76042def7168548a"
PV = "1.0.15"
SRCREV = "95adb9f374a1cca5efda08d20d9fc58d955d4a42"
SRCNAME = "ipaddress"
SRC_URI = "git://github.com/phihag/${SRCNAME}.git"
S = "${WORKDIR}/git"
inherit setuptools
DEPENDS += " \
python-pip \
"
RDEPENDS_${PN} += " \
"

View File

@@ -1,13 +1,13 @@
DESCRIPTION = "Python library implementing ASN.1 types."
HOMEPAGE = "http://pyasn1.sourceforge.net/"
SECTION = "devel/python"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=ae098273b2cf8b4af164ac20e32bddf7"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=425e62320d430219736139b134db2fc4"
DEPENDS = "python"
SRC_URI = "https://pypi.python.org/packages/source/p/pyasn1/pyasn1-${PV}.tar.gz"
SRC_URI[md5sum] = "2cbd80fcd4c7b1c82180d3d76fee18c8"
SRC_URI[sha256sum] = "e4f81d53c533f6bd9526b047f047f7b101c24ab17339c1a7ad8f98b25c101eab"
SRC_URI[md5sum] = "f00a02a631d4016818659d1cc38d229a"
SRC_URI[sha256sum] = "853cacd96d1f701ddd67aa03ecc05f51890135b7262e922710112f12a2ed2a7f"
S = "${WORKDIR}/pyasn1-${PV}"