aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
* python3-docutil: Extend to nativesdkHEADmasterRichard Purdie2022-03-171-1/+1
| | | | | | This is needed by the incomming buildtools-docs-tarball. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cryptography: Fix ptest result handlingRichard Purdie2022-03-171-1/+1
| | | | | | | | | 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>
* rust-cross: Add rust-crosssdk variant for nativesdk useRichard Purdie2022-03-173-7/+14
| | | | | | | Allow nativesdk recipes to find a correct version of the rust cross compiler. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libstd-rs: Extend to nativesdkRichard Purdie2022-03-171-0/+2
| | | | | | | 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>
* classes/flit_core: rename to python_flit_coreRoss Burton2022-03-174-4/+4
| | | | | | | | 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>
* python3-packaging: remove duplicate python3-setuptools-native DEPENDSRoss Burton2022-03-171-1/+0
| | | | | | | 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>
* expect: modify fixline1 scriptJoe Slater2022-03-162-0/+32
| | | | | | | | | 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>
* python3-pyparsing: rdepends on python3-htmlKai Kang2022-03-161-0/+1
| | | | | | | | | | | | | | | | 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>
* dpkg: upgrade 1.21.1 -> 1.21.2wangmy2022-03-167-52/+59
| | | | | | | | | | | | | 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>
* python3-setuptools-rust-native: use setuptools_build_metaRoss Burton2022-03-161-4/+1
| | | | | | | | | 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>
* python3-numpy: upgrade 1.22.2 -> 1.22.3wangmy2022-03-161-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-importlib-metadata: upgrade 4.11.2 -> 4.11.3wangmy2022-03-161-1/+1
| | | | | | | | 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>
* libdnf: upgrade 0.65.0 -> 0.66.0wangmy2022-03-165-100/+9
| | | | | | | | | | | | | | | | | | | | | 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>
* dnf: upgrade 4.10.0 -> 4.11.1wangmy2022-03-161-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* createrepo-c: upgrade 0.18.0 -> 0.19.0wangmy2022-03-161-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Fix build on ppc64Khem Raj2022-03-162-0/+93
| | | | | | | add a missing system include Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python_pep517: use installer instead of pipRoss Burton2022-03-164-61/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* python3-installer: add installer moduleRoss Burton2022-03-162-0/+83
| | | | | | | | | 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>
* python3-cryptography-vectors: Fix reproducibilityRichard Purdie2022-03-161-0/+5
| | | | | | | 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>
* python3-cryptography: remove obsolete PIP_INSTALL_DIST_PATHRoss Burton2022-03-161-2/+0
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cryptography: Add missing ptest tomli dependencyRichard Purdie2022-03-161-0/+1
| | | | | | Add missing tomli runtime dependency to allow ptests to execute. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cryptography: mark test_create_certificate_with_extensions as ↵Ross Burton2022-03-162-0/+20
| | | | | | | | | 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>
* poetry_core: Rename to python_poetry_coreRichard Purdie2022-03-162-2/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* setuptools3_rust: Rename to python_setuptools3_rustRichard Purdie2022-03-161-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-ply: move from meta-pythonTim Orling2022-03-161-0/+18
| | | | | | Dependency for python3-cryptography Signed-off-by: Tim Orling <tim.orling@konsulko.com>
* python3-pycparser: move from meta-pythonTim Orling2022-03-161-0/+21
| | | | | | Dependency for python3-cryptography Signed-off-by: Tim Orling <tim.orling@konsulko.com>
* python3-semantic-version: move from meta-pythonTim Orling2022-03-161-0/+12
| | | | | | Dependency for python3-cryptography Signed-off-by: Tim Orling <tim.orling@konsulko.com>
* python3-typing-extensions: move from meta-pythonTim Orling2022-03-161-0/+12
| | | | | | Dependency for python3-cryptography Signed-off-by: Tim Orling <tim.orling@konsulko.com>
* python3-iso8601: move from meta-pythonTim Orling2022-03-161-0/+15
| | | | | | Dependency for python3-cryptography Signed-off-by: Tim Orling <tim.orling@konsulko.com>
* python3-poetry-core: remove obsolete PIP_INSTALL_PACKAGERoss Burton2022-03-161-2/+0
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-poetry-core: move from meta-pythonTim Orling2022-03-161-0/+46
| | | | | | | | 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>
* python3-psutil/python3-bcrypt: Add missing HOMEPAGERichard Purdie2022-03-162-0/+2
| | | | | | | 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>
* python3-psutil: move from meta-pythonTim Orling2022-03-162-0/+225
| | | | | | Dependency for python3-cryptography Signed-off-by: Tim Orling <tim.orling@konsulko.com>
* python3-pretend: move from meta-pythonTim Orling2022-03-161-0/+11
| | | | | | Dependency for python3-cryptography Signed-off-by: Tim Orling <tim.orling@konsulko.com>
* python3-bcrypt: move from meta-pythonTim Orling2022-03-162-0/+33
| | | | | | Dependency for python3-cryptography Signed-off-by: Tim Orling <tim.orling@konsulko.com>
* python3-pytz: move from meta-pythonTim Orling2022-03-162-0/+38
| | | | | | Dependency for python3-cryptography Signed-off-by: Tim Orling <tim.orling@konsulko.com>
* python3-cffi: move from meta-pythonTim Orling2022-03-161-0/+18
| | | | | | Dependency for python3-cryptography Signed-off-by: Tim Orling <tim.orling@konsulko.com>
* python3-asn1crypto: move from meta-pythonTim Orling2022-03-161-0/+25
| | | | | | Dependency for python3-cryptography Signed-off-by: Tim Orling <tim.orling@konsulko.com>
* python3-cryptography-vectors: from meta-pythonTim Orling2022-03-161-0/+24
| | | | | | | | | 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>
* python3-pytest-subtests: move from meta-pythonTim Orling2022-03-161-0/+20
| | | | | | Dependency for python3-cryptography ptest. Signed-off-by: Tim Orling <tim.orling@konsulko.com>
* python3-cryptography: move from meta-pythonTim Orling2022-03-165-0/+196
| | | | | | | | | | | | | | | | | | | | * 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>
* python3-setuptools-rust-native: remove obsolete PIP_*Ross Burton2022-03-161-4/+0
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools-rust-native: from meta-pythonTim Orling2022-03-161-0/+33
| | | | | | | | | 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>
* libstd-rs: Fix build on riscv64/muslKhem Raj2022-03-153-0/+72
| | | | | | | | | | | | | | | | | | | | | | | 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>
* erofs-utils: Use __SANE_USERSPACE_TYPES__ on ppc64Khem Raj2022-03-151-0/+2
| | | | | | | | | | 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>
* go: Remove three unnecessary paths from do_compile[dirs]Peter Kjellerstedt2022-03-156-6/+0
| | | | | | | | 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>
* binutils: Bump to latest 2.38 release branchKhem Raj2022-03-151-1/+1
| | | | | | | | | | | | | | | | | 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>
* meta: rename pip_install_wheel.bbclass to python_pep517.bbclassRoss Burton2022-03-134-4/+4
| | | | | | | | | | 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>
* meta: remove obsolete PIP_INSTALL_PACKAGERoss Burton2022-03-129-14/+0
| | | | | | | | 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>
* pip_install_wheel: add a generic do_install for bootstrappingRoss Burton2022-03-114-11/+4
| | | | | | | | | | | | | | | 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>