<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/lang/python/python3/files/python3-package-pip.mk, branch openwrt-22.03</title>
<subtitle>Community maintained packages for OpenWrt</subtitle>
<id>http://x-nagi.com/cgit/packages/atom?h=openwrt-22.03</id>
<link rel='self' href='http://x-nagi.com/cgit/packages/atom?h=openwrt-22.03'/>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/'/>
<updated>2020-05-21T19:57:55Z</updated>
<entry>
<title>python-packages: Add usr/bin symlinks without "3" suffix</title>
<updated>2020-05-21T19:57:55Z</updated>
<author>
<name>Jeffery To</name>
<email>jeffery.to@gmail.com</email>
</author>
<published>2020-05-21T19:57:55Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=3c36696a5652da83ad0de42d86edb271bf4db728'/>
<id>urn:sha1:3c36696a5652da83ad0de42d86edb271bf4db728</id>
<content type='text'>
Previously, binaries installed by Python packages will have a
non-suffixed Python 2 version and a suffixed Python 3 version, e.g. pip
and pip3. With the removal of Python 2, the non-suffixed names are no
longer taken.

This adds symlinks for the non-suffixed names linking to the suffixed
scripts (or in the case of pip, easy_install, and python-config, to the
fully-versioned scripts).

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3-pip: Symlink pip3 to pip3.8</title>
<updated>2020-04-03T22:21:39Z</updated>
<author>
<name>Jeffery To</name>
<email>jeffery.to@gmail.com</email>
</author>
<published>2020-04-03T22:21:39Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=932bfe4cf3bc5087f4fdf00b2b2f140ebcf9b7e1'/>
<id>urn:sha1:932bfe4cf3bc5087f4fdf00b2b2f140ebcf9b7e1</id>
<content type='text'>
Currently, python3-pip installs the same script as pip3 and pip3.8 to
usr/bin. This changes pip3 to be a symlink to pip3.8.

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3-setuptools,python3-pip: Use more predictable pycache cleanup</title>
<updated>2019-05-29T14:42:02Z</updated>
<author>
<name>Jeffery To</name>
<email>jeffery.to@gmail.com</email>
</author>
<published>2019-05-29T14:42:02Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=b8e7a197db135c2b8749ed3c7bf94b3e712e1283'/>
<id>urn:sha1:b8e7a197db135c2b8749ed3c7bf94b3e712e1283</id>
<content type='text'>
This uses two find commands to delete __pycache__ contents then the
__pycache__ directories, rather than a for loop.

The second command omits a -empty test, so that if the first command
doesn't remove all directory contents for some reason, the second
command will return an error (find will not delete a non-empty
directory).

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python-setuptools,python-pip: Change prefix to /usr</title>
<updated>2019-05-29T14:38:30Z</updated>
<author>
<name>Jeffery To</name>
<email>jeffery.to@gmail.com</email>
</author>
<published>2019-05-29T14:38:30Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=be751236aac05cb0df7fc184691cf7d9cfe173d4'/>
<id>urn:sha1:be751236aac05cb0df7fc184691cf7d9cfe173d4</id>
<content type='text'>
This changes the --prefix option, passed to host pip when "installing"
target setuptools and pip, to /usr, in case the prefix is recorded in
the packages.

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python-python3-pip: add LICENSE information</title>
<updated>2019-05-21T17:46:13Z</updated>
<author>
<name>Eneas U de Queiroz</name>
<email>cote2004-github@yahoo.com</email>
</author>
<published>2019-05-21T13:13:21Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=5f447b9020c150e58ea127cbf1b5b579615d5a73'/>
<id>urn:sha1:5f447b9020c150e58ea127cbf1b5b579615d5a73</id>
<content type='text'>
CVE id was left commented out as it is not handled by uscan.

Signed-off-by: Eneas U de Queiroz &lt;cote2004-github@yahoo.com&gt;
</content>
</entry>
<entry>
<title>python3-pip: fix install rule</title>
<updated>2019-02-27T10:18:19Z</updated>
<author>
<name>Alexandru Ardelean</name>
<email>ardeleanalex@gmail.com</email>
</author>
<published>2019-02-27T10:18:17Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=1b96dc01715f4f03f758ff1d087caf15726016af'/>
<id>urn:sha1:1b96dc01715f4f03f758ff1d087caf15726016af</id>
<content type='text'>
Fixes: https://github.com/openwrt/packages/issues/8301

This seems to have slipped for some time. No idea if it ever worked.
It could be that this worked at some point.

In any case, the shebang is properly updated now.

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
<entry>
<title>python,python3: move shebang handle in install script</title>
<updated>2019-02-12T10:31:55Z</updated>
<author>
<name>Alexandru Ardelean</name>
<email>ardeleanalex@gmail.com</email>
</author>
<published>2019-02-04T14:36:25Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=ed862da9367a6f488a9afee78bfc99dbc9b6906a'/>
<id>urn:sha1:ed862da9367a6f488a9afee78bfc99dbc9b6906a</id>
<content type='text'>
This extends the Python[3] shebang fixup to all packages.
Only Python scripts in `/usr/bin` will be handled at the moment. Later it
may make sense to also cover executables in `/bin`, though typically Python
executables shouldn't be placed there.

Previously the shebang handling was only done for python[3]-pip &amp;
python[3]-setuptools.

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
<entry>
<title>python,python3: make deletion tolerant for paths with spaces</title>
<updated>2019-02-12T10:31:54Z</updated>
<author>
<name>Alexandru Ardelean</name>
<email>ardeleanalex@gmail.com</email>
</author>
<published>2019-02-05T10:04:43Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=1bf7679211425bb0f63f22ce00c700c7d84eb2d4'/>
<id>urn:sha1:1bf7679211425bb0f63f22ce00c700c7d84eb2d4</id>
<content type='text'>
Piping to xargs does not handle spaces in paths too well, because it splits
up the paths.
For deleting empty dirs, we also need to do several retries, otherwise
`find` will try to go through the directories after they're deleted.

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
<entry>
<title>python/python3: fix .dist-info missing for setuptools and pip</title>
<updated>2018-12-22T14:16:52Z</updated>
<author>
<name>Jeffery To</name>
<email>jeffery.to@gmail.com</email>
</author>
<published>2018-12-22T14:16:52Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=2f55f2a7b559b98bd2bb804ab7b8a2445ad05ab5'/>
<id>urn:sha1:2f55f2a7b559b98bd2bb804ab7b8a2445ad05ab5</id>
<content type='text'>
Without .dist-info (similar to .egg-info), setuptools and pip are not
discoverable by pkg_resources.

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python,python3: simplify `sed` expression for setuptools &amp; pip</title>
<updated>2017-07-03T13:11:52Z</updated>
<author>
<name>Alexandru Ardelean</name>
<email>ardeleanalex@gmail.com</email>
</author>
<published>2017-07-03T06:43:42Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=a2b76b54030c0771b28c501dfd699898b8a85fd6'/>
<id>urn:sha1:a2b76b54030c0771b28c501dfd699898b8a85fd6</id>
<content type='text'>
A suggestion from comment (from Philip Prindeville):
https://github.com/openwrt/packages/issues/4529#issuecomment-312518121

Avoids some escaping of slashes.

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
</feed>
