<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/classes/setuptools_build_meta.bbclass, branch master</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=master</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2022-03-20T00:02:22+00:00</updated>
<entry>
<title>classes/setuptools_build_meta: rename to python_setuptools_build_meta</title>
<updated>2022-03-20T00:02:22+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross@burtonini.com</email>
</author>
<published>2022-03-18T14:30:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e5ab3817aa98846c0a1c6d23feb47ff9404b0b90'/>
<id>urn:sha1:e5ab3817aa98846c0a1c6d23feb47ff9404b0b90</id>
<content type='text'>
Rename this class to be python-prefixed to match the other new Python
build system classes.

(From OE-Core rev: 25d6bf8079797906bde7c0cf63a0466c981ba5bb)

Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>classes/python_pep517: consolidate stub do_configure</title>
<updated>2022-03-17T16:44:33+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross@burtonini.com</email>
</author>
<published>2022-03-16T18:32:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7fee41dcef576312e1f12ef485e9b07b9612569b'/>
<id>urn:sha1:7fee41dcef576312e1f12ef485e9b07b9612569b</id>
<content type='text'>
As PEP517 doesn't have an explicit configure step, we can stub out the
do_configure task once instead of the calling classes doing it.

(From OE-Core rev: fd17edbd00f1583eb9e1912ab269dd4dc2631a6f)

Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>classes/setuptools_build_meta: use python_pep517_do_compile</title>
<updated>2022-03-17T16:44:33+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross@burtonini.com</email>
</author>
<published>2022-03-16T18:32:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=fc364f1c559ebf70e69812992bd0e15469ac6917'/>
<id>urn:sha1:fc364f1c559ebf70e69812992bd0e15469ac6917</id>
<content type='text'>
Instead of implementing our own do_compile, set PEP517_BUILD_API and
use the generic do_compile.

(From OE-Core rev: 39a05e44f232775560ad79e49ffe4fb17ed6533c)

Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>python_pep517: move PEP517_SOURCE_PATH to python_pep517</title>
<updated>2022-03-13T12:23:48+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross@burtonini.com</email>
</author>
<published>2022-03-11T17:12:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f2a0c52f651d21cd6608f6841a1145d4ba4ecc50'/>
<id>urn:sha1:f2a0c52f651d21cd6608f6841a1145d4ba4ecc50</id>
<content type='text'>
Now we have the start of a PEP-517 base class, the PEP517_SOURCE_PATH
variable can be defined in there instead of the classes that use it.

(From OE-Core rev: 69944121f49f613568bf0c62ae6b3b47af195dbe)

Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>meta: rename pip_install_wheel.bbclass to python_pep517.bbclass</title>
<updated>2022-03-13T12:23:48+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross@burtonini.com</email>
</author>
<published>2022-03-11T12:03:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a50bf48f900b4a67d622c9833c391b049a04d2da'/>
<id>urn:sha1:a50bf48f900b4a67d622c9833c391b049a04d2da</id>
<content type='text'>
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.

(From OE-Core rev: 3bdf64b97facce9706cc579bdbc9a80e0d48428f)

Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>setuptools_build_meta: add variable to control where pyproject.toml is located</title>
<updated>2022-03-09T11:46:28+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross@burtonini.com</email>
</author>
<published>2022-03-08T14:30:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c7054e363aa34e2c1a04c1c7de08d9a2068f5794'/>
<id>urn:sha1:c7054e363aa34e2c1a04c1c7de08d9a2068f5794</id>
<content type='text'>
The PEP517[1] pyproject.toml doesn't have to be located at the top-level
of the source tree (for example, in recipes with multiple components), so
add a variable PEP517_SOURCE_PATH to set where the file is.

In the future there should be a pep517.bbclass to centralise the common
logic, but for now this can be defined in each of the relevant classes.

[1] https://www.python.org/dev/peps/pep-0517/

(From OE-Core rev: 891fab83683cf032d4849f2dfbcd03a3eb22f158)

Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>setuptools_build_meta: respect PIP_INSTALL_DIST_PATH</title>
<updated>2022-03-09T11:46:28+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross@burtonini.com</email>
</author>
<published>2022-03-08T14:30:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=37527ea5bd0e7a7e7e7c6a69548f1f66cf964ddc'/>
<id>urn:sha1:37527ea5bd0e7a7e7e7c6a69548f1f66cf964ddc</id>
<content type='text'>
pip_install_wheel expects the wheels to be in PIP_INSTALL_DIST_PATH but
this class was writing to the same directory through chance not design.

Respect PIP_INSTALL_DIST_PATH as the output directory, and use
[cleandirs] to ensure that it exists and is empty.

(From OE-Core rev: 1a3625c576afe823efc50dc0b1071e4952339f8e)

Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>setuptools_build_meta: clean up configure/compile</title>
<updated>2022-03-08T09:44:28+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross@burtonini.com</email>
</author>
<published>2022-03-07T19:42:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=bcd7e29a3b754a3e5cdc7f0db56b89d0c6369c8e'/>
<id>urn:sha1:bcd7e29a3b754a3e5cdc7f0db56b89d0c6369c8e</id>
<content type='text'>
Make do_configure do nothing by default as the base configure isn't
useful, and invoke the build API directly instead of writing a script.

In the future, this can simply call python3-build.

(From OE-Core rev: ccad9d0218ef69bdb8c708029445fcd661f1c490)

Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>setuptools_build_meta: remove python dependency</title>
<updated>2022-03-05T22:58:48+00:00</updated>
<author>
<name>Konrad Weihmann</name>
<email>kweihmann@outlook.com</email>
</author>
<published>2022-03-05T11:16:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=370ca1d1bd6eea7d4c0e92d243bdcb089f9af385'/>
<id>urn:sha1:370ca1d1bd6eea7d4c0e92d243bdcb089f9af385</id>
<content type='text'>
when building additional native python tools that should be used
for additional tasks in python3 package (class-target), the dependency
on target class python creates a dependency loop:

python3-foo-native_1.2.3.bb:do_prepare_recipe_sysroot
python3-pep8-native_1.7.1.bb:do_populate_sysroot
python3-wheel_0.37.1.bb:do_populate_sysroot
python3-bar-native_0.1.2.bb:do_populate_sysroot
python3-pip_22.0.3.bb:do_populate_sysroot
python3-pyflakes-native_2.4.0.bb:do_populate_sysroot
python3_3.10.2.bb:do_populate_sysroot
python3-foo-native_1.2.3_1.2.0.bb:do_fetch
python3-setuptools_59.5.0.bb:do_populate_sysroot

resolve this by removing python3 from DEPENDS.
The correct dependencies are already injected by
setuptools-base class

(From OE-Core rev: bd9f9a369160164beade2c12f344b7f5c2b18427)

Signed-off-by: Konrad Weihmann &lt;kweihmann@outlook.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>setuptools_build_meta.bbclass: add helper class</title>
<updated>2022-02-25T15:07:50+00:00</updated>
<author>
<name>Tim Orling</name>
<email>ticotimo@gmail.com</email>
</author>
<published>2022-02-22T19:16:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=74e5fc20c05b3f6b406dbd0b3792a6afa5f3fdab'/>
<id>urn:sha1:74e5fc20c05b3f6b406dbd0b3792a6afa5f3fdab</id>
<content type='text'>
This class uses the PEP 517 compliant setuptools.buil_meta to build
wheels.

[YOCTO #14638]

(From OE-Core rev: b8f25c75f152683de4fa6c176118583d3dea894d)

Signed-off-by: Tim Orling &lt;tim.orling@konsulko.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
