<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/lang/python/python3/files/python3-package-pip.mk, branch openwrt-19.07</title>
<subtitle>Community maintained packages for OpenWrt</subtitle>
<id>http://x-nagi.com/cgit/packages/atom?h=openwrt-19.07</id>
<link rel='self' href='http://x-nagi.com/cgit/packages/atom?h=openwrt-19.07'/>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/'/>
<updated>2019-05-29T14:42:02Z</updated>
<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>
<entry>
<title>python3-pip: override Package/python3-pip/install rule</title>
<updated>2017-05-19T14:28:08Z</updated>
<author>
<name>Alexandru Ardelean</name>
<email>ardeleanalex@gmail.com</email>
</author>
<published>2017-05-19T14:20:04Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=0d54d05b6d42c45f31c80c8679188d0d4d15de2d'/>
<id>urn:sha1:0d54d05b6d42c45f31c80c8679188d0d4d15de2d</id>
<content type='text'>
This is in essence fixes pip3.

That means pip3 will ship without Python byte-codes
for a while, until I'll find a better way to fix it.

I couldn't think of a not-very hack-ish way of doing it.

The only draw-back of this, will be that pip3 will run
a bit slower ; but that should be ok for a while.

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3: remove __pycache__ folders pip &amp; setuptools</title>
<updated>2017-05-19T14:27:48Z</updated>
<author>
<name>Alexandru Ardelean</name>
<email>ardeleanalex@gmail.com</email>
</author>
<published>2017-05-19T14:18:33Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=a4691a289c00f93f126df4c5d3fe68c3fb0ef72a'/>
<id>urn:sha1:a4691a289c00f93f126df4c5d3fe68c3fb0ef72a</id>
<content type='text'>
python3-pip &amp; python3-setuptools have slightly
different installation mechanisms.

We need to remove the __pycache__ folders.
Seems they're generated.

This also reduces the size of the python3-pip &amp;
python3-setuptools packages.

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