<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/lang/python/files/python-host.mk, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2017-05-17T13:51:14Z</updated>
<entry>
<title>python packages: move all things python under lang/python</title>
<updated>2017-05-17T13:51:14Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2017-05-17T13:45:48Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=68312f49c0b4456e665ed438a86a44738caa765a'/>
<id>urn:sha1:68312f49c0b4456e665ed438a86a44738caa765a</id>
<content type='text'>
I admit this may be be a bit aggressive, but the lang
folder is getting cluttered/filled up with Python, PHP, Perl,
Ruby, etc. packages.

Makes sense to try to group them into per-lang folders.

I took the Pythons.

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge pull request #3813 from NeoRaider/hostpkg</title>
<updated>2017-01-11T20:54:09Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2017-01-11T20:54:09Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=3823ef9bc4d8c27e0f9a589970157231950e0e0c'/>
<id>urn:sha1:3823ef9bc4d8c27e0f9a589970157231950e0e0c</id>
<content type='text'>
Use STAGING_DIR_HOSTPKG where appropriate</content>
</entry>
<entry>
<title>python: remove Host/Install rule default add</title>
<updated>2017-01-11T09:02:24Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2017-01-06T14:46:39Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=ed5cd3e2ced80cbdde5c18b74a0aceec1f38867c'/>
<id>urn:sha1:ed5cd3e2ced80cbdde5c18b74a0aceec1f38867c</id>
<content type='text'>
I just found out that, that the BUILD_VARIANT var
is not set for the host build, so technically this code
would never get used.

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
<entry>
<title>treewide: replace $(STAGING_DIR)/host and $(HOST_BUILD_PREFIX) with $(STAGING_DIR_HOSTPKG)</title>
<updated>2017-01-10T17:25:54Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2017-01-10T14:02:50Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=4a984a8d60f167db87dac6a6c283e62aca692d5e'/>
<id>urn:sha1:4a984a8d60f167db87dac6a6c283e62aca692d5e</id>
<content type='text'>
As both LEDE and OpenWrt have STAGING_DIR_HOSTPKG now, we can start to rely
on it. See 73b7f55424de52d8179a9ad808252fe3bf8dcc9d for more information on
STAGING_DIR_HOSTPKG.

STAGING_DIR_HOSTPKG won't actually be changed before the first LEDE release
(it is equivalent to $(STAGING_DIR)/host), so this simple search/replace
cleanup is safe to apply. Doing this cleanup now will be useful for the
Gluon project (an OpenWrt/LEDE based firmware framework) for experimenting
with modifying STAGING_DIR_HOSTPKG before doing this in the LEDE upstream.

Also fixes a typo in the dbus Makefile ("STAGIND_DIR").

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
</entry>
<entry>
<title>python{,3}: remove STAGING_DIR_HOSTPKG fallback definition</title>
<updated>2017-01-10T01:24:29Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2017-01-10T01:24:29Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=876d139c98a822f04aed2767b08638cd6efd0a45'/>
<id>urn:sha1:876d139c98a822f04aed2767b08638cd6efd0a45</id>
<content type='text'>
STAGING_DIR_HOSTPKG is now defined in both OpenWrt and LEDE, so we can
start to rely on it.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
</entry>
<entry>
<title>python: simplify/unify default build rules for python packages</title>
<updated>2017-01-04T13:08:37Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2017-01-04T09:25:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=6d9137048bb8494dd306b54b34134c8302a2cd56'/>
<id>urn:sha1:6d9137048bb8494dd306b54b34134c8302a2cd56</id>
<content type='text'>
Most python packages use the same build rules &amp; vars.
So, adding them in python-package.mk.

Also, preparing for using VARIANTs for python/python3 packages.

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
<entry>
<title>python, python3: unify HOST_ vars and get rid of HOST_CFLAGS</title>
<updated>2016-11-07T08:55:34Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2016-11-04T09:00:07Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=9eca45fdf16bcf8237102663fe7c91795687929d'/>
<id>urn:sha1:9eca45fdf16bcf8237102663fe7c91795687929d</id>
<content type='text'>
--sysconfigdir and --sbindir are obtained from --prefix
and --exec-prefix, so no need to have them explicitly

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
<entry>
<title>python: move PYTHON_VERSION in own .mk file</title>
<updated>2016-11-07T08:55:31Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2016-11-07T07:31:18Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=6a670f42b117afd2ddbfeb3320e88d701b39dddc'/>
<id>urn:sha1:6a670f42b117afd2ddbfeb3320e88d701b39dddc</id>
<content type='text'>
Allows for more granularity with respect to python-host.mk
and python-package.mk inclusions.

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
<entry>
<title>python: add include guard for python-host.mk and include in Makefile</title>
<updated>2016-11-07T07:27:20Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2016-11-04T08:35:03Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=45bdb70e1ed411f24aae4624563d682a372f287c'/>
<id>urn:sha1:45bdb70e1ed411f24aae4624563d682a372f287c</id>
<content type='text'>
So that it can be included twice.
python-package.mk include python-host.mk, but at some point
in time python-host.mk is not exported to staging_dir yet.

So, to have in python's Makefile, we need to include it
in the Makefile, and to prevent double inclusion (if
python-host.mk is exported from a previous build), the
include guard is added.

Also, moved the includes after some vars were set.

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
<entry>
<title>python: avoid use of HOST_BUILD_PREFIX</title>
<updated>2016-11-01T11:57:36Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2016-11-01T11:41:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=73b7f55424de52d8179a9ad808252fe3bf8dcc9d'/>
<id>urn:sha1:73b7f55424de52d8179a9ad808252fe3bf8dcc9d</id>
<content type='text'>
Currently, the python-host.mk framework relies on HOST_BUILD_PREFIX to
refer to the $(STAGING_DIR)/host directory but using the HOST_BUILD_PREFIX
variable requires the use of include/host-build.mk which in turn includes
python-host.mk, leading to target redefinition errors.

In order to provide a global, uniform way to refer to the host staging
directory, LEDE introduced a new variable STAGING_DIR_HOSTPKG which points
to $(STAGING_DIR)/host for now with the purpose of eventually being able to
relocate that directory in the future.

This commit changes python-host.mk to ...
 - stop including include/host-build.mk (revert of #3423)
 - replace usages of $(HOST_BUILD_PREFIX) with $(STAGING_DIR_HOSTPKG)
 - warn and fallback to $(STAGING_DIR)/host if STAGING_DIR_HOSTPKG is
   unavailable

The fallback code will ensure that the python host build infrastructure
continues to work properly on older OpenWrt and LEDE versions until the
STAGING_DIR_HOSTPKG is fully settled in and can be removed some time
in the future.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
</feed>
