<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/classes/flit_core.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-17T16:44:33+00:00</updated>
<entry>
<title>classes/flit_core: rename to python_flit_core</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:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=6f5ee7fffb259516d7e715eeb68c89afceb9ef83'/>
<id>urn:sha1:6f5ee7fffb259516d7e715eeb68c89afceb9ef83</id>
<content type='text'>
To be more uniform with the other new Python classes, rename this to
python_flit_core and update the recipes that use it.

(From OE-Core rev: c0e4ca3c7841028a658f21c11619228022d425b4)

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/flit_core: 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:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=11c36d4f1af0a461dc0d279f0ba1ca0a2ddf2356'/>
<id>urn:sha1:11c36d4f1af0a461dc0d279f0ba1ca0a2ddf2356</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: 0d3e07177e99d925f2807b85d16596455944d0a5)

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>flit_core: remove redundant python3-pip-native DEPENDS</title>
<updated>2022-03-11T06:56:01+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross@burtonini.com</email>
</author>
<published>2022-03-10T11:40:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d4aec24676b26104623ecfbe60d4953b30be26f6'/>
<id>urn:sha1:d4aec24676b26104623ecfbe60d4953b30be26f6</id>
<content type='text'>
PIP is not needed by this class directly, but is used by
pip_install_wheel which already depends on python3-pip-native.

(From OE-Core rev: 2f18b35b8da5dad471c325138be52191412e4100)

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>flit_core: 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:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=2df212ff6cc5307a49205beefa4b0dac5edff446'/>
<id>urn:sha1:2df212ff6cc5307a49205beefa4b0dac5edff446</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: f85b512e2ad39ec32f11f9b25b8c92bea20c844d)

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>flit_core: 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:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d2655729bc87a07c2e26222ca3a4e0cf8f6b3b6c'/>
<id>urn:sha1:d2655729bc87a07c2e26222ca3a4e0cf8f6b3b6c</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.

Also call the flit_core.wheel module directly as this is a public entry
point to the wheel building logic.

(From OE-Core rev: a3d9eb8051bc2effb8130b1743ba251c1fe7c525)

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>flit_core: 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:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=025fa5266e0b83faab16811cb3662fa2b5885a99'/>
<id>urn:sha1:025fa5266e0b83faab16811cb3662fa2b5885a99</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: 2d80529a486d25ad96c448499392547e82779de4)

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>flit_core: export do_configure and do_compile</title>
<updated>2022-03-02T18:43:24+00:00</updated>
<author>
<name>Tim Orling</name>
<email>ticotimo@gmail.com</email>
</author>
<published>2022-03-01T16:11:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=fb0814a57b4ed7b2beedbcc306d65839a366c3d2'/>
<id>urn:sha1:fb0814a57b4ed7b2beedbcc306d65839a366c3d2</id>
<content type='text'>
The class should export the tasks so they can be extended or overriden
elsewhere (like what setuptools3.bbclass has).

(From OE-Core rev: 14c2dcbebccf072225a089518ffeb010401f479c)

Signed-off-by: Tim Orling &lt;tim.orling@konsulko.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>flit_core: inherit setuptools3-base</title>
<updated>2022-02-27T12:34:40+00:00</updated>
<author>
<name>Tim Orling</name>
<email>ticotimo@gmail.com</email>
</author>
<published>2022-02-25T23:58:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=596bc1658ec237fc3b42f1a74629d0c0aa5532c1'/>
<id>urn:sha1:596bc1658ec237fc3b42f1a74629d0c0aa5532c1</id>
<content type='text'>
This helps bridge the old setuptools3 behavior.

FILES:${PN} has sane defaults in setuptools3-base

(From OE-Core rev: b1bb4e2d73985c6e8cf03b0fea94e8b739648cf7)

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>
