<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/lang/python/python3/files, 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>2020-05-21T12:15:24Z</updated>
<entry>
<title>python3-setuptools: Fix error when installing from source</title>
<updated>2020-05-21T12:15:24Z</updated>
<author>
<name>Jeffery To</name>
<email>jeffery.to@gmail.com</email>
</author>
<published>2020-05-21T12:02:13Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=6dac29693f3c6f3feb35018d31868f9db522d285'/>
<id>urn:sha1:6dac29693f3c6f3feb35018d31868f9db522d285</id>
<content type='text'>
When a Python package is installed from source (i.e. using setup.py)
into a custom location (with --home), setuptools may want to create a
site.py file in the custom location. This file is created based on the
source code of site-patch.py, a file bundled with setuptools.

Because the normal OpenWrt setuptools package does not contain Python
source code, this file is missing and the installation will end with an
error.

This copies site-patch.py to site-patch.py.txt so that it will be
included in python3-setuptools, and patches setuptools to look for this
file.

See https://github.com/openwrt/packages/issues/12223

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
(cherry picked from commit 70a7f736c5d6fb9ebec1acc8b3e8ca77704361bf)
</content>
</entry>
<entry>
<title>python3-openssl: Add dependency on ca-certs</title>
<updated>2020-05-19T20:36:07Z</updated>
<author>
<name>Jeffery To</name>
<email>jeffery.to@gmail.com</email>
</author>
<published>2020-05-19T20:30:45Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=c32e08f30862dda300c72b85c15b670e7bf38926'/>
<id>urn:sha1:c32e08f30862dda300c72b85c15b670e7bf38926</id>
<content type='text'>
The ssl module assumes OpenSSL can load the default trust anchors (root
CA certificates).

From https://github.com/openwrt/packages/issues/12209

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
(cherry picked from commit d2b0cc523dadc6a8ec4535561860b77cc9ee4fe2)
</content>
</entry>
<entry>
<title>python3: Fix host build tool names recorded in target files</title>
<updated>2020-04-28T05:56:47Z</updated>
<author>
<name>Jeffery To</name>
<email>jeffery.to@gmail.com</email>
</author>
<published>2020-04-27T06:10:53Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=3d2dc69200f298c5a9679810134aa75f070c8bc4'/>
<id>urn:sha1:3d2dc69200f298c5a9679810134aa75f070c8bc4</id>
<content type='text'>
Python will record the values of CC, CXX, AR, and READELF (and other
configure options) used during compilation. pip will use these programs
when asked to compile extension modules on the target device.

* If ccache is used during build, CC and CXX will be ccache_cc and
  ccache_cxx, respectively, which are not available on-device (#11912).

* If an external toolchain is used during build, the values of these
  variables will contain the external toolchain prefix, which may not be
  available on target.

* If the normal toolchain is used during build, AR and READELF will
  contain the toolchain prefix, but the names of ar and readelf
  on-device do not contain the prefix; they are named "ar" and
  "readelf".

This changes the values of these variables in Python's files to match
the names available on-device, and without any toolchain prefix.

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
(cherry picked from commit 9f81ab895eca0709d1a7b4804b36a5cd00b4f368)
</content>
</entry>
<entry>
<title>python,python3: split python[3]-pkg-resources from setuptools</title>
<updated>2020-01-10T16:57:16Z</updated>
<author>
<name>Alexandru Ardelean</name>
<email>ardeleanalex@gmail.com</email>
</author>
<published>2019-09-10T16:51:03Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=e847333d1584322a02f4eb320cb280b570f3ff7f'/>
<id>urn:sha1:e847333d1584322a02f4eb320cb280b570f3ff7f</id>
<content type='text'>
This package is required by other packages to run some binaries via
`load_entry_point`.

So, this splits this package away from setuptools.
setuptools is pretty big, akd pkg-resources is also big, but not as big.

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;

(cherry picked from commit ed0e77f3c385770065bf6ec6ed7c3bbbb6deb395)
Reference to discussion at
https://github.com/openwrt/packages/commit/c61579b564a3877235d74684b1a75915d77e42a9#commitcomment-36665837
Adjusted python PKG_RELEASE items to current situation
Signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&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>python-python3-setuptools: add LICENSE information</title>
<updated>2019-05-21T17:44:40Z</updated>
<author>
<name>Eneas U de Queiroz</name>
<email>cote2004-github@yahoo.com</email>
</author>
<published>2019-05-21T13:11:03Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=bbd4930ccdc18757d7845892f7712d07dfe7e4b6'/>
<id>urn:sha1:bbd4930ccdc18757d7845892f7712d07dfe7e4b6</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>Merge pull request #8308 from commodo/python3-pip-fix</title>
<updated>2019-03-01T21:07:09Z</updated>
<author>
<name>Hannu Nyman</name>
<email>hannu.nyman@iki.fi</email>
</author>
<published>2019-03-01T21:07:09Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=c722f6e5e1c2374e03c3cbef0a9959dc5afe2e6d'/>
<id>urn:sha1:c722f6e5e1c2374e03c3cbef0a9959dc5afe2e6d</id>
<content type='text'>
python3-pip: fix install rule</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>
</feed>
