<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/lang/python/python3/files/python3-package-setuptools.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>2023-05-26T14:06:24Z</updated>
<entry>
<title>python3: Split setuptools into separate source package</title>
<updated>2023-05-26T14:06:24Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2023-05-18T12:38:09Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=b4975f8bbb9f61a2a170dc1acd6cabe2b7e9f93c'/>
<id>urn:sha1:b4975f8bbb9f61a2a170dc1acd6cabe2b7e9f93c</id>
<content type='text'>
Packaging setuptools from a separate source package allows it to stay
updated with upstream.

Host setuptools will remain installed as part of python3. Host
setuptools is used in a much more controlled way and so is less critical
for it to track upstream.

setuptools was in a separate source package that was removed in
a53d0c5a403d1669e2cf6c59c2be6a9d3ed633a0; this work is not based on that
earlier package.

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3-setuptools: add _distutils_hack</title>
<updated>2021-08-18T10:20:07Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2021-08-18T10:12:01Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=feaaacc10fff283505ff261ed6886a4936fbe7f5'/>
<id>urn:sha1:feaaacc10fff283505ff261ed6886a4936fbe7f5</id>
<content type='text'>
I tried to install matplotlib by using pip and it failed with the following output:

2021-08-18T11:52:26,171 Collecting matplotlib
2021-08-18T11:52:26,173   Created temporary directory: /tmp/pip-unpack-wuth2u0e
2021-08-18T11:52:26,565   Using cached matplotlib-3.4.3.tar.gz (37.9 MB)
2021-08-18T11:52:38,659   Added matplotlib from https://files.pythonhosted.org/packages/21/37/           197e68df384ff694f78d687a49ad39f96c67b8d75718bc61503e1676b617/matplotlib-3.4.3.tar.                       gz#sha256=fc4f526dfdb31c9bd6b8ca06bf9fab663ca12f3ec9cdf4496fb44bc680140318 to build tracker '/tmp/pip-   req-tracker-u30x8pht'
2021-08-18T11:52:38,660     Running setup.py (path:/tmp/pip-install-afiyiers/                            matplotlib_8e717e38862f4976a3d6cb1832ba3261/setup.py) egg_info for package matplotlib
2021-08-18T11:52:38,661     Created temporary directory: /tmp/pip-pip-egg-info-kbtiezxq
2021-08-18T11:52:38,662     Running command python setup.py egg_info
2021-08-18T11:52:38,831     Traceback (most recent call last):
2021-08-18T11:52:38,832       File "&lt;string&gt;", line 1, in &lt;module&gt;
2021-08-18T11:52:38,832       File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 8, in &lt;module&gt;
2021-08-18T11:52:38,833     ModuleNotFoundError: No module named '_distutils_hack'

More details about it:
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968410

Once I applied the patch from the bug tracker, I got further to install
it.

Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3: bump version to 3.9.5</title>
<updated>2021-05-11T08:50:35Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2021-05-10T07:10:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=e312275dd9c25c4032b4d2d3623b042905c8bf16'/>
<id>urn:sha1:e312275dd9c25c4032b4d2d3623b042905c8bf16</id>
<content type='text'>
Refreshed Python patches.
Updated pip &amp; setuptools version.

For pip, patch '001-pep517-pyc-fix.patch' was reworked.

Also, the current version of the bundled pip (21.1.1) no longer supports
Python2, so the 'py2.py3' suffix gets replaced with just py3.

For setuptools, there is no longer a script/module:
  https://github.com/pypa/setuptools/pull/2544

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3: bump to version 3.9.0</title>
<updated>2020-10-19T08:01:12Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2020-10-05T07:34:33Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=cc332fddaa7db1887a123681320b3a767f04fbe6'/>
<id>urn:sha1:cc332fddaa7db1887a123681320b3a767f04fbe6</id>
<content type='text'>
Refreshed patches.

Dropped 'patches-setuptools/004-site-patch.patch'
Does not apply anymore. Setuptools has removed site.py support:
   https://github.com/pypa/setuptools/issues/2165
If this is still needed, we may need to re-think it's implementation.

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
<entry>
<title>python-packages: Add usr/bin symlinks without "3" suffix</title>
<updated>2020-05-21T19:57:55Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2020-05-21T19:57:55Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/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-setuptools: Fix error when installing from source</title>
<updated>2020-05-21T12:02:13Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2020-05-21T12:02:13Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=70a7f736c5d6fb9ebec1acc8b3e8ca77704361bf'/>
<id>urn:sha1:70a7f736c5d6fb9ebec1acc8b3e8ca77704361bf</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;
</content>
</entry>
<entry>
<title>python,python3: split python[3]-pkg-resources from setuptools</title>
<updated>2019-09-20T10:42:40Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2019-09-10T16:51:03Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=ed0e77f3c385770065bf6ec6ed7c3bbbb6deb395'/>
<id>urn:sha1:ed0e77f3c385770065bf6ec6ed7c3bbbb6deb395</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;
</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>
</author>
<published>2019-05-29T14:42:02Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/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>
</author>
<published>2019-05-29T14:38:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/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-setuptools: add LICENSE information</title>
<updated>2019-05-21T17:44:40Z</updated>
<author>
<name>Eneas U de Queiroz</name>
</author>
<published>2019-05-21T13:11:03Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/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>
</feed>
