summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2022-02-22[WIP] setuptools3.bbclass: add check for pyproject.tomltimo/pyprojecttoml_build_backend_checkTim Orling
Add a check for pyproject.toml and if a [build-sytem] is found and build-backend is declared, hint that the corresponding class should be inherited instead of setuptools3. Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-22python3-nose: drop recipetimo/bootstrap-wheelsTim Orling
The code has not been touched since 2016 and numerous files still have Python2 syntax code in them. This causes do_compile errors when packaging a wheel (PEP-517 packaging). Nothing in oe-core depends on python3-nose. [YOCTO #14638] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-22python3-packaging: inherit setuptools_build_metaTim Orling
Upstream provides a pyproject.toml which declares the setuptools.build_meta backend for PEP-517 packaging. [YOCTO #14638] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-22python3-mako: inherit setuptools_build_metaTim Orling
Upstream provides a pyproject.toml which declares the setuptools.build_meta backend for PEP-517 packaging. [YOCTO #14638] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-22python3-dbusmock: set PIP_INSTALL_PACKAGETim Orling
The name of the wheel as built by bdist_wheel is "python_dbusmock", set PIP_INSTALL_PACKAGE appropriately. [YOCTO #14638] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-22numpy: set PIP_INSTALL_PACKAGETim Orling
The recipe does not inherit pypi so we need to manually set PIP_INSTALL_PACKAGE appropriately. [YOCTO #14638] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-22gi-docgen: set PIP_INSTALL_PACKAGETim Orling
The name of the wheel as built by bdist_wheel is "gi_docgen", set PIP_INSTALL_PACKAGE appropriately. [YOCTO #14638] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-22asciidoc: set PIP_INSTALL_PACKAGETim Orling
This recipe does not inherit pypi and therefor we need to manually set PIP_INSTALL_PACKAGE to reflect the wheel built by bdist_wheel. [YOCTO #14638] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-22bmap-tools: set PIP_INSTALL_PACKAGE, BASEVERTim Orling
Change filename to _git.bb and use BASEVER to set PV. The wheel built by bdist_wheel is named "bmap_tool-*.whl" set the PIP_INSTALL_PACKAGE name accordingly. Use BASEVER to set PYPA_WHEEL to match the version in the wheel produced by bdist_wheel. [YOCTO #14638] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-22python3-magic: set PIP_INSTALL_PACKAGETim Orling
The wheel built by bdist_wheel has the name "python_magic-*.whl" so set PIP_INSTALL_PACKAGE accordingly. [YOCTO #14638] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-22python3-subunit: merge inc; set PIP_INSTALL_PACKAGETim Orling
We have not supported python2 for some time now, so there is no reason to maintain a separate python-subunit.inc file. The wheel built by bdist_wheel is named 'python_subunit-*.whl', so set PIP_INSALL_PACKAGE appropriately. Add patch to use vendored _distutils from setuptools. [YOCTO #14638] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-22python3-scons: merge -native recipeTim Orling
The native recipe simply calls create_wrapper to add a host script. Do this via do_install:append:class-native() The scons*.1 man pages are being installed in ${prefix}, move them to ${mandir} (previously installed in ${datadir}). [YOCTO #14638] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-22python3-smartypants: patch hash bang to python3Tim Orling
Change hash bang in smartypants and smartypants.py to be /usr/bin/env python3 [YOCTO #14638] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-22python3-libarchive-d: set PIP_INSTALL_PACKAGETim Orling
Set PIP_INSTALL_PACKAGE to libarchive_c to match the name of the wheel built by bdist_wheel. [YOCTO #14638] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-22meson: inherit setuptools_build_metaTim Orling
Upstream provides a pyproject.toml which declares setuptools.build_meta to be backend for PEP-517 packaging. Set PIP_INSTALL_PACKAGE as this recipe does not inherit pypi and therefor no PYPI_PACKAGE is defined [YOCTO #14638] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-22python3-more-itertools: set PIP_INSTALL_PACKAGETim Orling
Define PIP_INSTALL_PACKAGE as more_itertools to match the name of the wheel. [YOCTO #14638] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-22setuptools3.bbclass: refactor for wheelsTim Orling
Depend on python3-wheel-native so that we can build with 'setup.py bdist_wheel'. Use pip_install_wheel class to install the built wheels with pip, as intended by upstream Python. [YOCTO #14638] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-22python3-setuptools: inherit setuptools_base_metaTim Orling
Upstream provides a pyproject.toml which declares the setuptools.build_meta backend for PEP-517 packaging. We need to bootstrap python3-setuptools-native, simply installing by unzipping the built wheel. This avoids a dependency loop. [YOCTO #14638] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-22python3-pluggy: inherit setuptools_build_metaTim Orling
Upstream provides a pyproject.toml which while it does not declare the setuptools.build_meta backend is compatible with it. [YOCTO #14638] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-22python3-py: inherit setuptools_build_metaTim Orling
Upstreama provides a pyproject.toml which declares the setuptools.build_meta backend for PEP-517 packaging. [YOCTO #14638] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-22python3-iniconfig: inherit setuptools_build_metaTim Orling
Upstream provides a pyproject.toml which decalres the setuptools.build_meta backend for PEP-517 packaging. DEPENDS on python3-setuptools-scm-native (as declared in the pyproject.toml build-system.requires). [YOCTO #14638] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-22python3-zipp: inherit setuptools_build_metaTim Orling
Upstream provides a pyproject.toml which declares the setuptools.build_meta backend for PEP-517 packaging. [YOCTO #14638] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-22python3-setuptools-scm: inherit setuptools_build_metaTim Orling
Upstream provides a pyproject.toml which declares the setuptools.build_meta backend for PEP-517 packaging. [YOCTO #14638] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-22python3-pytest: inherit setuptools_build_metaTim Orling
Upstream provides a pyproject.toml which declares the setuptools.build_meta backend for PEP-517 packaging. [YOCTO #14638] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-22python3-git: inherit setuptools_build_metaTim Orling
Upstream provides a pyproject.toml which declares the setuptools.build_meta backend for PEP-517 packaging. [YOCTO #14638] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-22python3-attrs: inherit setuptools_build_metaTim Orling
Upstream provides a pyproject.toml which declares the setuptools.build_meta backend for PEP-517 packaging. [YOCTO #14638] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-22python3-pip: inherit setuptools_build_metaTim Orling
Upstream provides a pyproject.toml which declares setuptools.build_meta as the backend for PEP-517 packaging. We bootstrap the -native installation by simply unzipping the wheel to PYTHON_SITEPACKAGES_DIR, so that all other recipes can use pip to install wheels (as intended by upstream). Check for presence of ${D}${bindir}/pip and remove if found (this was originally to make sure Python2 pip was the default). [YOCTO #14638] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-22setuptools_build_meta.bbclass: add helper classTim Orling
This class uses the PEP 517 compliant setuptools.buil_meta to build wheels. [YOCTO #14638] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-22pip_install_wheel.bbclass: add helper classTim Orling
Provide a helper class to use pip to install wheels built by either bdist_wheel or a PEP-517 backend. Set pip install arguments via PIP_INSTALL_ARGS, which can be overriden by recipes. Pass --root and --prefix to ensure that pip installs things into the proper place in sysroot. By passing --no-deps and --no-index we avoid finicky dependency checking (pip expects wheels in its cache) and avoid trying to fetch wheels from pypi.org. This is basically the same behavior we have now, the dependencies should be declared in the recipe. Also pass --force-reinstall to make sure built wheels are always installed so that FILES gets properly populated. Pass --no-cache to avoid a (harmless) warning about the pip cache in $HOME be avoiding use of cache. We do not likely want wheels cached anyway, pip install changes the python interpreter in scripts installed in ${bindir}, e.g. to #!/usr/bin/nativepython3, correct the behavior after install to #!/usr/bin/env python3. [YOCTO #14638] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-22python3-wheel: inherit flit_coreTim Orling
Backport pyproject.toml from flit-backend branch. Inherit flit_core class to build Inherit pip_install_wheel to install wheels for target We need to bootstrap python3-wheel-native in order to have bdist_wheel available to python3-setuptools-native and the refactored setuptools3.bbclass. Simply unzip the wheel into PYTHON_SITEPACKAGES_DIR for class-native. [YOCTO #14638] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-22flit_core.bbclass: add helper for newer python packagingTim Orling
Some python packages now use pyproject.toml and declare flit_core.buildapi as the build engine Use pip_install_wheel class to install. [YOCTO #14638] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-22python3-flit-core: add recipe for 3.6.0Tim Orling
This is the core of one of the "new build system" tools--hosted officially as part of the pypa (Python Packaging Authority) repositories--it is an increasingly common build tool (e.g. typing_extensions and tomli) as declared in pyproject.toml for said packages. This package provides a very simple bootstrapping method that builds the source tarball (build_sdist) and a wheel (build_wheel). Bootstrap -native by simply unzipping the wheel to PYTHON_SITEPACKAGES_DIR. Use pip to install the wheel for class-target. Wheels are the official vehicle for delivering Python packages now. Eggs (egg-info) are deprecated and will increasingly go away. [YOCTO #14638] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-22python3-wheel: move 0.37.1 from meta-pythonTim Orling
This is one of the "new build tools" which are part of pypa (Python Packaging Authority) toolchain. Wheels are the official delivery mechanism for Python packages, replacing the now deprecated Eggs (egg-info). [YOCTO #14638] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2022-02-21releases: update to include 3.4.2Michael Halstead
Adding 3.4.2 to documentation switcher and release list. (From yocto-docs rev: 6ffc51362a8fd028429359eb9da57c87b270584d) Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21tiff: Add backports for two CVEs from upstreamRichard Purdie
(From OE-Core rev: 6ae14b4ff7a655b48c6d99ac565d12bf8825414f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21vim: Upgrade 8.2.4314 -> 8.2.4424Richard Purdie
License file had some grammar fixes. Includes CVE-2022-0554. (From OE-Core rev: a8d0a4026359c2c8a445dba9456f8a05470293c1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21libxml-parser-perl: Add missing RDEPENDSRichard Purdie
Running the ptest package in an image alone highlighted missing module dependencies. Add them to fix those errors. (From OE-Core rev: 3859f49db2d694c7b63fdbe25be0018afba5c738) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21perl: Improve and update module RPDEPENDSRichard Purdie
The perl module RDEPENDS needed refreshing so I updated it with the script. I also found a ton of issues with missing test2 module dependencies so I've tweaked the generator script to improve those. For some reason they were previously excluded but I can't see anything wrong with the generated dependencies so I've added them. A number of manual dependencies were still needed in addition. I did notice an issue with trailing ")" characters so the sed is updated to handle that (it did already handle "("). This fixes issues seen in the dependecies for libxml-parser-perl's ptest package. (From OE-Core rev: a5b0f6cacb6ae785ea10f8561982692772d198a9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21expat: Upgrade 2.4.5 -> 2.4.6Richard Purdie
(From OE-Core rev: 91aa5e3f94a7f82be7949ecfde2764d51384ad42) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21expat: Upgrade 2.4.4 -> 2.4.5Richard Purdie
This is a security fix release containing fixes for CVE-2022-25235, CVE-2022-25236, CVE-2022-25313, CVE-2022-25314 and CVE-2022-25315. (From OE-Core rev: b71344dacb71cfc452b335a6f2fb9cb74e2e1ff8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20libhandy: Use upstream regex to check version of upgrade.wangmy
(From OE-Core rev: 3ca368aa12ac3a8398312c9bf5cb6136261d56af) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20waffle: add wayland-protocols when building with waylandAndrey Zhizhikin
When 'wayland is selected in ' DISTRO_FEATURES, following build error occurs during do_configure: | Run-time dependency wayland-protocols found: NO (tried pkgconfig) | | ../git/meson.build:120:2: ERROR: Dependency "wayland-protocols" not found, tried pkgconfig Add "wayland-protocols" to PACKAGECONFIG to resolve missing dependency. (From OE-Core rev: a545a0848c6526d58731bc333f2ade0ae926fcc4) Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20grub: Fix build with bintutils 2.38 on riscvKhem Raj
(From OE-Core rev: d42596457628f41baa5729545e2932c6692f73ee) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20libgit2: Upgrade to 1.4.1Khem Raj
this is bugfix release https://github.com/libgit2/libgit2/releases/tag/v1.4.1 (From OE-Core rev: ee862994d27d1a82642309b84e5957e4a7d341e3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20sstate: Setup fetcher environment in advanceRichard Purdie
The threading code here can race as the fetcher changes the environment which is shared between the threads. By setting it up in advance, it isn't changed and therefore no longer races. (From OE-Core rev: cabc3cc2eac5916e63340c18d1074411b377ced4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20oeqa/selftest/bbtests: Update after license changesRichard Purdie
Update the test to match the renamed license in the recipe. (From OE-Core rev: 3d50ee782e5073c055d72f114619502719a33752) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX ↵Richard Purdie
license identifiers An automated conversion using scripts/contrib/convert-spdx-licenses.py to convert to use the standard SPDX license identifiers. Two recipes in meta-selftest were not converted as they're that way specifically for testing. A change in linux-firmware was also skipped and may need a more manual tweak. (From OE-Core rev: ceda3238cdbf1beb216ae9ddb242470d5dfc25e0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20scripts: Add a conversion script to use SPDX license namesRichard Purdie
We're standardising on SPDX license names so it is overdue to change the ones in the LICENSE fileds to the SPDX values. Add a conversion script which makes this straightforward on the most part. Ultimately this allows the core code to be more efficient and not need to consult the mappings. (From OE-Core rev: 512cd4ca91bc5107d68b7e721257a8f62f878994) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20core-image-testmaster: Rename to core-image-testcontrollerRichard Purdie
Rename the image, the test controller class/code/module and the underlying image sentinel file to all match the controller terminology. (From OE-Core rev: f87b32833ac5327c4659ab8c06af34e7bda83f83) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20gstreamer1.0: update licenses of all modulesJose Quaresma
Since all gstreamer modules uses LGPLv2.1 with exceptions for some plugins in bad and ugly modules that has GPLv2+. (From OE-Core rev: 7ca1bce20ded40468e31ede74f901434ad31c0e2) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Cc: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>