summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
AgeCommit message (Collapse)Author
2022-03-17python3-docutil: Extend to nativesdkHEADmasterRichard Purdie
This is needed by the incomming buildtools-docs-tarball. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17python3-cryptography: Fix ptest result handlingRichard Purdie
We run the tests correctly, we just don't get individual test result reporting. Borrow the code from python3-bcrypt to handle this correctly and ensure the test pass/fail scores and individual test results are reported in a format we can read. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17rust-cross: Add rust-crosssdk variant for nativesdk useRichard Purdie
Allow nativesdk recipes to find a correct version of the rust cross compiler. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17libstd-rs: Extend to nativesdkRichard Purdie
This is needed to add the rust standard library to SDKs for use by SDK tools. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17classes/flit_core: rename to python_flit_coreRoss Burton
To be more uniform with the other new Python classes, rename this to python_flit_core and update the recipes that use it. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17python3-packaging: remove duplicate python3-setuptools-native DEPENDSRoss Burton
setuptools_build_meta.bbclass already sets this dependency. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16expect: modify fixline1 scriptJoe Slater
fixline1 needs to be processed by fixline1, but we short-circuit that. Enter the multi-line shebang which I am a bit queasy about, but expect loves it. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16python3-pyparsing: rdepends on python3-htmlKai Kang
It fails to import python module 'pyparsing': | root@qemux86-64:~# python3 -c 'import pyparsing' | Traceback (most recent call last): | File "<string>", line 1, in <module> | File "/usr/lib64/python3.10/site-packages/pyparsing/__init__.py", line 141, in <module> | from .helpers import * | File "/usr/lib64/python3.10/site-packages/pyparsing/helpers.py", line 2, in <module> | import html.entities | ModuleNotFoundError: No module named 'html' Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16dpkg: upgrade 1.21.1 -> 1.21.2wangmy
The following patches refreshed for new version: 0001-build.c-ignore-return-of-1-from-tar-cf.patch 0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch 0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch 0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch noman.patch remove-tar-no-timestamp.patch Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16python3-setuptools-rust-native: use setuptools_build_metaRoss Burton
The wheel generation problems are solved now: a wheel is correctly built to setuptools_rust-1.1.2-py3-none-any.whl, so we can use setuptools_build_meta. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16python3-numpy: upgrade 1.22.2 -> 1.22.3wangmy
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16python3-importlib-metadata: upgrade 4.11.2 -> 4.11.3wangmy
Changelog: #372: Removed cast of path items in FastPath, not needed. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16libdnf: upgrade 0.65.0 -> 0.66.0wangmy
0001-Add-WITH_TESTS-option.patch 0001-Look-fo-sphinx-only-if-documentation-is-actually-ena.patch removed since they're included in 0.66.0 0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch 0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch modified for new version Changelog: ========= Use rpmdbCookie from librpm, remove hawkey.Sack._rpmdb_version Fix handling transaction id in resolveTransactionItemReason (RhBug:2010259,2053014) Remove deprecated assertions (RhBug:2027383) Skip rich deps for autodetection of unmet dependencies (RhBug:2033130, 2048394) Increase required rpm version since we use rpmdbCookie() Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16dnf: upgrade 4.10.0 -> 4.11.1wangmy
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16createrepo-c: upgrade 0.18.0 -> 0.19.0wangmy
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16qemu: Fix build on ppc64Khem Raj
add a missing system include Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16python_pep517: use installer instead of pipRoss Burton
Instead of battling pip to install a wheel, use installer. Installer does one thing, so it's faster and easier to work with. This means setuptools, pip, and wheel are no longer part of the bootstrap phase, so they can be built normally. To avoid sysroot file conflicts these three recipes can't install .pyc files to the native sysroot. We currently patch pypa/installer to allow us to override the interpreter used, which means we can drop the interpreter seding. We don't need to recompile any Python which is found in $bindir as Python doesn't actually load those files. Across a build of oe-core, the only differences between using pip and installer are: - the .dist-info/RECORD files are ordered differently - the .dist-info/REQUESTED and INSTALLER files are not created - the hashbang in native scripts is "/usr/bin/env nativepython" instead of pointing directly at the native sysroot python3. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16python3-installer: add installer moduleRoss Burton
Add a recipe for Installer, a minimal library/tool to install Python Wheels. Unlike PIP, it explicitly only installs wheels and does nothing else. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16python3-cryptography-vectors: Fix reproducibilityRichard Purdie
We regenerate the pycache files and the checksums in the manifest are incorrect. Remove them to avoid this and ensure reproducibility. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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-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-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-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-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-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-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-15binutils: Bump to latest 2.38 release branchKhem Raj
Fixes building ppc32 kernels Brings following fixes * 2d92604cd30 Revert "Check thin archive element file size against archive header" * ed9b2e40ebf binutils 2.38 vs. ppc32 linux kernel * 40d32f56f63 Updated Serbian translations for the bfd, gold, ld and opcodes directories * 6aa1b7df2fc ld: Keep indirect symbol from IR if referenced from shared object * ae1cab7d3f3 i386: Update I386_NEED_DYNAMIC_RELOC_TYPE_P for DT_TEXTREL * df9071487a8 PR28882, build failure with gcc-4.2 due to use of 0b literals * caa6172de4b x86: Disallow invalid relocation against protected symbol Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-13meta: rename pip_install_wheel.bbclass to python_pep517.bbclassRoss Burton
pip_install_wheel shouldn't restricted to just using Pip to install wheels (the installer module is simplier and likely a better option), and in the future may be extended to also provide do_compile() using the build module. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-12meta: remove obsolete PIP_INSTALL_PACKAGERoss Burton
PIP_INSTALL_PACKAGE isn't used anymore, so remove all instances of it from the recipes. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11pip_install_wheel: add a generic do_install for bootstrappingRoss Burton
Several recipes are duplicating the same bootstrap logic for installing a wheel without using any tools. Add an implementation to pip_install_wheel to centralise the code, and remove the duplicated code from the following recipes: - python3-flit-core - python3-pip - python3-setuptools - python3-wheel Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>