diff options
| author | Fabio Berton <fabio.berton@ossystems.com.br> | 2016-08-22 16:01:24 -0300 | 
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-09-05 13:27:38 +0200 | 
| commit | 1d68defca0ddf4225da978bd7a2f36cee6cf89da (patch) | |
| tree | 41bdd0ae397cb0a701bb20683e46b1a5fd748c58 | |
| parent | 7d5ec62fed0bd822b2d96f916b691359ec446226 (diff) | |
| download | meta-openembedded-1d68defca0ddf4225da978bd7a2f36cee6cf89da.tar.gz | |
python-pretend: Extend recipe to support Python 3
- Add Python 3 recipe
  - Add native and nativesdk to BBCLASSEXTEND
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
3 files changed, 11 insertions, 7 deletions
diff --git a/meta-python/recipes-devtools/python/python-pretend.inc b/meta-python/recipes-devtools/python/python-pretend.inc new file mode 100644 index 0000000000..2d21cc4a89 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-pretend.inc  | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | SUMMARY = "A library for stubbing in Python" | ||
| 2 | LICENSE = "BSD" | ||
| 3 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=411780c0b7fa756753e94affeee5bc99" | ||
| 4 | |||
| 5 | SRC_URI[md5sum] = "7147050a95c9f494248557b42b58ad79" | ||
| 6 | SRC_URI[sha256sum] = "930f2c1e18503e8f8c403abe2e02166c4a881941745147e712cdd4f49f3fb964" | ||
| 7 | |||
| 8 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python-pretend_1.0.8.bb b/meta-python/recipes-devtools/python/python-pretend_1.0.8.bb index ddc7b623e4..73b8ed4d7c 100644 --- a/meta-python/recipes-devtools/python/python-pretend_1.0.8.bb +++ b/meta-python/recipes-devtools/python/python-pretend_1.0.8.bb  | |||
| @@ -1,8 +1,2 @@ | |||
| 1 | SUMMARY = "A library for stubbing in Python" | ||
| 2 | LICENSE = "BSD" | ||
| 3 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=411780c0b7fa756753e94affeee5bc99" | ||
| 4 | |||
| 5 | SRC_URI[md5sum] = "7147050a95c9f494248557b42b58ad79" | ||
| 6 | SRC_URI[sha256sum] = "930f2c1e18503e8f8c403abe2e02166c4a881941745147e712cdd4f49f3fb964" | ||
| 7 | |||
| 8 | inherit pypi setuptools | 1 | inherit pypi setuptools | 
| 2 | require python-pretend.inc | ||
diff --git a/meta-python/recipes-devtools/python/python3-pretend_1.0.8.bb b/meta-python/recipes-devtools/python/python3-pretend_1.0.8.bb new file mode 100644 index 0000000000..9c5d8a8437 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pretend_1.0.8.bb  | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | inherit pypi setuptools3 | ||
| 2 | require python-pretend.inc | ||
