<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/lang/python/python-package.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>2020-04-02T19:26:40Z</updated>
<entry>
<title>python: Remove package</title>
<updated>2020-04-02T19:26:40Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2020-04-02T19:26:40Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=2e48a26b1731c030b7df08eb5427045124cca4db'/>
<id>urn:sha1:2e48a26b1731c030b7df08eb5427045124cca4db</id>
<content type='text'>
This package will be added to the abandoned packages feed.

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python,python3: add Py[3]Shebang functions &amp; move outside of script</title>
<updated>2019-09-20T11:10:00Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2019-09-12T12:03:50Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=721642908c2bc2f16ff371bdd33e4df02813318c'/>
<id>urn:sha1:721642908c2bc2f16ff371bdd33e4df02813318c</id>
<content type='text'>
Some packages just install some Python binaries, that may need their
shebang fixed.
This change adds some utilities to help with that and try to centralize the
sed rules a bit.

It also removes the logic from the `python-package-install.sh` into the
`python-package[3].mk` files. This does 2 things:
1. It minimizes the need for the shell script to know the Python
   version 2/3
2. Makes the logic re-usable in packages; especially if the install rules
   differ a bit

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
<entry>
<title>django: move django* packages under django submenu</title>
<updated>2019-08-12T12:06:53Z</updated>
<author>
<name>Eneas U de Queiroz</name>
</author>
<published>2019-07-09T12:12:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=90527d75afe1847fdddad973ca4ad988f826c8c4'/>
<id>urn:sha1:90527d75afe1847fdddad973ca4ad988f826c8c4</id>
<content type='text'>
This changes the python[3]-django dependencies in packages to be
non-selecting, and adds an MDEPENDS line so that the *-src packages get
placed inside the django menu as well.

Added MENU:= to the src-package definitions in python[3]-package.mk,
so it does not import that setting from the binary package.

Signed-off-by: Eneas U de Queiroz &lt;cotequeiroz@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge pull request #9100 from jefferyto/isolate-host-python</title>
<updated>2019-06-03T09:11:20Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2019-06-03T09:11:20Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=15a06064034478ab65f0c19dad3e043578226a45'/>
<id>urn:sha1:15a06064034478ab65f0c19dad3e043578226a45</id>
<content type='text'>
python,python3: Better isolate host Python</content>
</entry>
<entry>
<title>python,python3: Update host pip[3] install functions</title>
<updated>2019-05-29T13:45:16Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2019-05-29T13:45:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=ae80ddc7ab1486a2e4788a8bd4b9c1643ce29c29'/>
<id>urn:sha1:ae80ddc7ab1486a2e4788a8bd4b9c1643ce29c29</id>
<content type='text'>
* Add --cache-dir option to set the pip cache to a directory in
$(DL_DIR), instead of pip's default (build user's ~/.cache/pip),
fixes #9066

* Add --disable-pip-version-check option, since the version check only
prints a message saying a new version is available

* Combine host_python_pip_install and host_python_pip_install_host into
Build/Compile/HostPy[3]PipInstall

* Remove --root and --prefix options, since this function is only used
to install packages to host Python's default site-packages directory
(setting these may serve to confuse pip)

* Pass all of $(HOST_PYTHON[3]_PACKAGE_BUILD_DEPENDS) to the function,
since pip can handle multiple arguments/packages

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python,python3: Clear more fields for src packages</title>
<updated>2019-05-27T16:43:26Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2019-05-27T16:43:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=6952970b2e7bcc02776d6380459da2865c1c26f6'/>
<id>urn:sha1:6952970b2e7bcc02776d6380459da2865c1c26f6</id>
<content type='text'>
This clears the CONFLICTS, PROVIDES, EXTRA_DEPENDS, and USERID fields
for -src packages.

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python,python3: Add PYTHON[3]_PKG_SETUP_GLOBAL_ARGS</title>
<updated>2019-04-05T08:44:55Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2019-04-05T08:44:55Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=9995fe7732a8ad220476a40fec742c99a01df5e8'/>
<id>urn:sha1:9995fe7732a8ad220476a40fec742c99a01df5e8</id>
<content type='text'>
Some packages (PyYAML,
https://github.com/openwrt/packages/pull/8482#discussion_r270692276)
recognize "global" options to setup.py; these must appear before the
"install" command on the command line.

This adds PYTHON[3]_PKG_SETUP_GLOBAL_ARGS, which let packages set these
global options.

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python,python3: Fix overridden usr/bin symlinks</title>
<updated>2019-04-03T13:05:14Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2019-03-31T11:11:15Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=0280c67103f525937569528c8ba88fa3e144a903'/>
<id>urn:sha1:0280c67103f525937569528c8ba88fa3e144a903</id>
<content type='text'>
Currently, all files in usr/bin (presumably all Python scripts) are run
through sed to replace the shebang; sed will overwrite the file whether
or not a match is found. This causes symlinks to be overridden and made
into copies of their targets. python[3]-base and python[3]-dev are
affected by this.

This adds the --follow-symlinks flag to sed, in addition to using
$(SED), so that symlinks are not overridden.

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python,python3: allow users to override python args &amp; vars</title>
<updated>2019-02-23T09:00:59Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2019-02-19T09:00:09Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=9b36b449dc28816f94fe77db3b77b6bb26722ab1'/>
<id>urn:sha1:9b36b449dc28816f94fe77db3b77b6bb26722ab1</id>
<content type='text'>
If users want to define these before including python[3]-package.mk, these
vars will be overridden during the include.
So, override these vars if they haven't been defined.

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
<entry>
<title>python,python3: Add PYTHON_PKG_SETUP_DIR</title>
<updated>2019-02-23T08:59:22Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2019-02-21T11:52:07Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=5d72e9bf7e36d2398d1d794a882f4d0387d0451a'/>
<id>urn:sha1:5d72e9bf7e36d2398d1d794a882f4d0387d0451a</id>
<content type='text'>
This adds a variable (PYTHON_PKG_SETUP_DIR / PYTHON3_PKG_SETUP_DIR) that
allows a Python package Makefile to control the directory where setup.py
is called (as part of PyBuild/Compile/Default /
Py3Build/Compile/Default).

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
</feed>
