summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2022-03-16python3-cryptography: remove obsolete PIP_INSTALL_DIST_PATHRoss Burton
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16python3-cryptography: Add missing ptest tomli dependencyRichard Purdie
Add missing tomli runtime dependency to allow ptests to execute. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16python3-cryptography: mark test_create_certificate_with_extensions as ↵Ross Burton
expected to fail This test causes OpenSSL to leak some memory. Until this is resolved in OpenSSL, mark the test as expected-to-fail. Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-03-16ptest-packagelists: add python3-bcrypt and -pytzTim Orling
python3-bcrypt and python3-pytz both run in just a few seconds, so add them to the fast list. Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16ptest-packagelists.inc: add python3-cryptographyTim Orling
The python3-cryptography recipe has a lot of tests and uses a large amount of memory. It is slow (> 30 seconds). Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-03-16poetry_core: update for renamed class pip_install_wheel to python_pep517Ross Burton
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16poetry_core: Rename to python_poetry_coreRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16setuptools3_rust: Rename to python_setuptools3_rustRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16py3o: Rename to python_py3oRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16maintainers.inc: add python3-crypto and friendsTim Orling
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-03-16python3-ply: move from meta-pythonTim Orling
Dependency for python3-cryptography Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-03-16python3-pycparser: move from meta-pythonTim Orling
Dependency for python3-cryptography Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-03-16python3-semantic-version: move from meta-pythonTim Orling
Dependency for python3-cryptography Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-03-16python3-typing-extensions: move from meta-pythonTim Orling
Dependency for python3-cryptography Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-03-16python3-iso8601: move from meta-pythonTim Orling
Dependency for python3-cryptography Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-03-16python3-poetry-core: remove obsolete PIP_INSTALL_PACKAGERoss Burton
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16python3-poetry-core: move from meta-pythonTim Orling
A PEP 517 build backend implementation developed for Poetry. This project is intended to be a light weight, fully compliant, self-contained package allowing PEP 517 compatible build frontends to build Poetry managed projects. Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-03-16poetry_core.bbclass: move from meta-pythonTim Orling
poetry.core.masonry.api is one of the common PEP-517 build backends. Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-03-16python3-psutil/python3-bcrypt: Add missing HOMEPAGERichard Purdie
Add missing HOMEPAGE entries to the two recipes imported from meta-oe to fix selftest failures. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16python3-psutil: move from meta-pythonTim Orling
Dependency for python3-cryptography Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-03-16python3-pretend: move from meta-pythonTim Orling
Dependency for python3-cryptography Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-03-16python3-bcrypt: move from meta-pythonTim Orling
Dependency for python3-cryptography Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-03-16python3-pytz: move from meta-pythonTim Orling
Dependency for python3-cryptography Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-03-16python3-cffi: move from meta-pythonTim Orling
Dependency for python3-cryptography Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-03-16python3-asn1crypto: move from meta-pythonTim Orling
Dependency for python3-cryptography Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-03-16python3-cryptography-vectors: from meta-pythonTim Orling
Dependency for python3-cryptography ptest. This recipe needs to be kept in lock-step with the version of python3-cryptography. Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-03-16python3-pytest-subtests: move from meta-pythonTim Orling
Dependency for python3-cryptography ptest. Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-03-16python3-cryptography: move from meta-pythonTim Orling
* inherit new setuptools_rust class (which inherits new pyo3 class, which inherits cargo and python3-dir). * RDEPENDS on python3-pytest-subtests for ptest * Copy pyproject.toml for ptest as it defines the pytest.marker(s) needed * Use 'cargo bitbake' to generate the crate:// SRC_URIs - Needed some hacks to the Cargo.toml in src/rust/ to make this work (probably only package.repository was strictly required): [package] description = "cryptography includes both high level recipes and low level interfaces to common cryptographic algorithms such as symmetric ciphers, message digests, and key derivation functions." homepage = "https://github.com/pyca/cryptography" repository = "https://github.com/pyca/cryptography" * Add patches to src/rust/Cargo.toml to fix cargo errors including pem version * Add check-memfree.py to ptest to check for sufficient free memory Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-03-16setuptools3_rust.bbclass: move from meta-pythonTim Orling
setuptools-rust is a plugin for setuptools to build Rust Python extensions implemented with PyO3 or rust-cpython. Compile and distribute Python extensions written in Rust as easily as if they were written in C. This class inherits pyo3.bbclass (and therefore cargo.bbclass) and setuptools3.bbclass to make it easier to build Python modules with Rust extensions. Need to call pyo3_do_configure to properly setup the PyO3 environment for cross-compiling. Need to call cargo_common_do_configure to setup cargo_home/config so that the linker properly finds e.g. crti.o and crtbeginS.o It is strongly recommended to provide crates needed for your recipe using the crate:// fetcher. This can be helped with the cargo-bitbake command [1]. If you choose not to use the crate fetcher, bitbake vendoring will not work with setuptools-rust, as it errors out immediately because it cannot find pyo3 or some other crate. The (strongly discouraged) workaround for this is to set: CARGO_DISABLE_BITBAKE_VENDORING = "1" [1] https://crates.io/crates/cargo-bitbake Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-03-16pyo3.bbclass: move from meta-pythonTim Orling
PyO3 provides Rust bindings for Python, including tools for creating native Python extension modules. Running and interacting with Python code from a Rust binary is also supported. This class sets up the cross-compilation environment. Export PYO3_CROSS, PYO3_CROSS_LIB_DIR, PYO3_CROSS_INCLUDE_DIR and CARGO_BUILD_TARGET to inform tools like setuptools-rust we are cross-compiling. Export RUSTFLAGS so cargo can find 'std' and 'core' for target Dynamically generate PyO3 config file and export PYO3_CONFIG_FILE absolute path. This is the trick that finally made pyo3 work. Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-03-16python3-setuptools-rust-native: remove obsolete PIP_*Ross Burton
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16python3-setuptools-rust-native: from meta-pythonTim Orling
Dependency for python3-cryptography 3.4.x+ Only native rustc is supported at this time in oe-core, therefore it makes no sense to try to build for target. Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-03-15gst-devtools: upgrade 1.20.0 -> 1.20.1Jose Quaresma
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15gstreamer1.0-python: upgrade 1.20.0 -> 1.20.1Jose Quaresma
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15gstreamer1.0-rtsp-server: upgrade 1.20.0 -> 1.20.1Jose Quaresma
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15gstreamer1.0-vaapi: upgrade 1.20.0 -> 1.20.1Jose Quaresma
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15gstreamer1.0-omx: upgrade 1.20.0 -> 1.20.1Jose Quaresma
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15gstreamer1.0-libav: upgrade 1.20.0 -> 1.20.1Jose Quaresma
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15gstreamer1.0-plugins-ugly: upgrade 1.20.0 -> 1.20.1Jose Quaresma
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15gstreamer1.0-plugins-bad: upgrade 1.20.0 -> 1.20.1Jose Quaresma
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15gstreamer1.0-plugins-good: upgrade 1.20.0 -> 1.20.1Jose Quaresma
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15gstreamer1.0-plugins-base: upgrade 1.20.0 -> 1.20.1Jose Quaresma
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15gstreamer1.0: upgrade 1.20.0 -> 1.20.1Jose Quaresma
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15libstd-rs: Fix build on riscv64/muslKhem Raj
Backport necessary patch, which was dropped in upgrade to 1.59 Fixes: error[E0425]: cannot find value `SYS_clone3` in this scope --> library/std/src/sys/unix/weak.rs:202:17 | 202 | concat_idents!(SYS_, $name), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `SYS_clone` | ::: library/std/src/sys/unix/process/process_unix.rs:165:9 | 165 | / raw_syscall! { 166 | | fn clone3(cl_args: *mut clone_args, len: libc::size_t) -> libc::c_long 167 | | } | |_________- in this macro invocation | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15erofs-utils: Use __SANE_USERSPACE_TYPES__ on ppc64Khem Raj
ppc64 historically has used l64 for defining u64 types in kernel asm/types.h defaults to use l64 by default but kernel uses ll64 now a days, therefore lets use same int-ll64.h to provide these defines like other architectures Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15shadow-native: Simplify and fix syslog disable patchRichard Purdie
Shadow is happily spamming the host syslog with messages and shouldn't be which suggests the patch isn't working. Redo it to work at the configure level which is simpler and hopefully more effective. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15scripts/runqemu: Fix memory limits for qemux86-64Richard Purdie
When setting memory to 4GB, qemu is only running with 2GB for x86_64. Avoid this by removing the mem= option to the kernel and letting the qemu configuration handle it for x86 in a similar way to mips. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15go: Remove three unnecessary paths from do_compile[dirs]Peter Kjellerstedt
There is no reason to include a path in foo[dirs] if it is also in foo[cleandirs] (except if it is the last path in foo[dirs]). Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15image.bbclass: Remove two unnecessary paths from do_rootfs[dirs]Peter Kjellerstedt
There is no reason to include a path in foo[dirs] if it is also in foo[cleandirs] (except if it is the last path in foo[dirs]). Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15package.bbclass: Remove an unnecessary path from do_package[dirs]Peter Kjellerstedt
There is no reason to include a path in foo[dirs] if it is also in foo[cleandirs] (except if it is the last path in foo[dirs]). Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>