diff options
author | Fabio Berton <fabio.berton@ossystems.com.br> | 2016-08-22 16:01:22 -0300 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-09-05 13:27:37 +0200 |
commit | c4728e0f7b3c7ba5d218700ecb41e103d28e999e (patch) | |
tree | 730fc57b66e8fbfeb1501ab784475c2a63f4c25b /meta-python | |
parent | 2eb51b66c979bdb317b92ce6137e8041fb9cdf57 (diff) | |
download | meta-openembedded-c4728e0f7b3c7ba5d218700ecb41e103d28e999e.tar.gz |
python-cryptography-vectors: Extend recipe to support Python 3
- Add Python 3 recipe
- Add native and nativesdk to BBCLASSEXTEND
- Use pyppi class
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python')
3 files changed, 19 insertions, 14 deletions
diff --git a/meta-python/recipes-devtools/python/python-cryptography-vectors.inc b/meta-python/recipes-devtools/python/python-cryptography-vectors.inc new file mode 100644 index 000000000..62dfbfd34 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-cryptography-vectors.inc | |||
@@ -0,0 +1,15 @@ | |||
1 | SUMMARY = "Test vectors for the cryptography package." | ||
2 | SECTION = "devel/python" | ||
3 | LICENSE = "Apache-2.0 | BSD" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4" | ||
5 | |||
6 | DEPENDS = " \ | ||
7 | ${PYTHON_PN}-cryptography \ | ||
8 | " | ||
9 | |||
10 | SRC_URI[md5sum] = "b8555dfadafc4ecab4ee4650430d9cab" | ||
11 | SRC_URI[sha256sum] = "0728815ef0c53d67fd437aa5220450a9752d41ecb28108f5df628a092ff466ea" | ||
12 | |||
13 | PYPI_PACKAGE = "cryptography_vectors" | ||
14 | |||
15 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python-cryptography-vectors_1.4.bb b/meta-python/recipes-devtools/python/python-cryptography-vectors_1.4.bb index 0313c81dc..4975278a9 100644 --- a/meta-python/recipes-devtools/python/python-cryptography-vectors_1.4.bb +++ b/meta-python/recipes-devtools/python/python-cryptography-vectors_1.4.bb | |||
@@ -1,14 +1,2 @@ | |||
1 | SUMMARY = "Test vectors for the cryptography package." | 1 | inherit pypi setuptools |
2 | SECTION = "devel/python" | 2 | require python-cryptography-vectors.inc |
3 | LICENSE = "Apache-2.0 | BSD" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4" | ||
5 | DEPENDS = "python-cryptography" | ||
6 | SRCNAME = "cryptography_vectors" | ||
7 | |||
8 | SRC_URI = "https://files.pythonhosted.org/packages/source/c/cryptography-vectors/${SRCNAME}-${PV}.tar.gz" | ||
9 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
10 | |||
11 | SRC_URI[md5sum] = "b8555dfadafc4ecab4ee4650430d9cab" | ||
12 | SRC_URI[sha256sum] = "0728815ef0c53d67fd437aa5220450a9752d41ecb28108f5df628a092ff466ea" | ||
13 | |||
14 | inherit setuptools | ||
diff --git a/meta-python/recipes-devtools/python/python3-cryptography-vectors_1.4.bb b/meta-python/recipes-devtools/python/python3-cryptography-vectors_1.4.bb new file mode 100644 index 000000000..58994ffff --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-cryptography-vectors_1.4.bb | |||
@@ -0,0 +1,2 @@ | |||
1 | inherit pypi setuptools3 | ||
2 | require python-cryptography-vectors.inc | ||