diff options
Diffstat (limited to 'meta-python/recipes-devtools/python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb | 25 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pynacl_1.5.0.bb | 22 |
2 files changed, 12 insertions, 35 deletions
diff --git a/meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb b/meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb deleted file mode 100644 index 7d5292745b..0000000000 --- a/meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb +++ /dev/null | |||
| @@ -1,25 +0,0 @@ | |||
| 1 | SUMMARY = "Python binding to the Networking and Cryptography (NaCl) library" | ||
| 2 | HOMEPAGE = "https://github.com/pyca/pynacl" | ||
| 3 | LICENSE = "Apache-2.0" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8cc789b082b3d97e1ccc5261f8594d3f" | ||
| 5 | |||
| 6 | PYPI_PACKAGE = "PyNaCl" | ||
| 7 | |||
| 8 | inherit pypi setuptools3 | ||
| 9 | |||
| 10 | SRC_URI[sha256sum] = "8ac7448f09ab85811607bdd21ec2464495ac8b7c66d146bf545b0f08fb9220ba" | ||
| 11 | |||
| 12 | DEPENDS += "\ | ||
| 13 | libsodium \ | ||
| 14 | python3-cffi-native \ | ||
| 15 | python3-pip-native \ | ||
| 16 | " | ||
| 17 | |||
| 18 | RDEPENDS:${PN}:class-target += " \ | ||
| 19 | python3-cffi \ | ||
| 20 | python3-pycparser \ | ||
| 21 | " | ||
| 22 | |||
| 23 | export SODIUM_INSTALL = "system" | ||
| 24 | |||
| 25 | BBCLASSEXTEND = "native" \ No newline at end of file | ||
diff --git a/meta-python/recipes-devtools/python/python3-pynacl_1.5.0.bb b/meta-python/recipes-devtools/python/python3-pynacl_1.5.0.bb index 5a8ed131af..0747c67c19 100644 --- a/meta-python/recipes-devtools/python/python3-pynacl_1.5.0.bb +++ b/meta-python/recipes-devtools/python/python3-pynacl_1.5.0.bb | |||
| @@ -10,21 +10,11 @@ PYPI_PACKAGE = "PyNaCl" | |||
| 10 | 10 | ||
| 11 | inherit pypi python_setuptools_build_meta | 11 | inherit pypi python_setuptools_build_meta |
| 12 | 12 | ||
| 13 | # in meta-virtualization layer | ||
| 14 | # | ||
| 15 | RCONFLICTS:${PN} = "python3-nacl" | ||
| 16 | |||
| 17 | DEPENDS += "\ | 13 | DEPENDS += "\ |
| 18 | ${PYTHON_PN}-cffi-native \ | 14 | ${PYTHON_PN}-cffi-native \ |
| 19 | libsodium \ | 15 | libsodium \ |
| 20 | " | 16 | " |
| 21 | 17 | ||
| 22 | RDEPENDS:${PN} = "\ | ||
| 23 | ${PYTHON_PN}-six \ | ||
| 24 | ${PYTHON_PN}-cffi \ | ||
| 25 | libsodium \ | ||
| 26 | " | ||
| 27 | |||
| 28 | do_compile:prepend() { | 18 | do_compile:prepend() { |
| 29 | export SODIUM_INSTALL=system | 19 | export SODIUM_INSTALL=system |
| 30 | } | 20 | } |
| @@ -32,3 +22,15 @@ do_compile:prepend() { | |||
| 32 | do_install:prepend() { | 22 | do_install:prepend() { |
| 33 | export SODIUM_INSTALL=system | 23 | export SODIUM_INSTALL=system |
| 34 | } | 24 | } |
| 25 | |||
| 26 | RDEPENDS:${PN} = "\ | ||
| 27 | ${PYTHON_PN}-six \ | ||
| 28 | ${PYTHON_PN}-cffi \ | ||
| 29 | libsodium \ | ||
| 30 | " | ||
| 31 | |||
| 32 | RPROVIDES:${PN} = "python3-nacl" | ||
| 33 | |||
| 34 | # in meta-virtualization layer | ||
| 35 | # | ||
| 36 | RCONFLICTS:${PN} = "python3-nacl" | ||
