Commit graph

2224 commits

Author SHA1 Message Date
Jeffery To
548fdba3fd
python-pip: Update to 23.3.1, redo/refresh patches
001-pyproject-hooks-pyc-fix.patch and 002-pip-runner-pyc-fix.patch are
redone to use source files if they are present.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-26 20:16:42 +08:00
Christian Marangi
d191c3d0c4 micropython-lib: move to PCRE2
Add pending patch converting the package to PCRE2.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-10-22 13:26:14 +02:00
Alexandru Ardelean
3be6f6bec9 pillow: bump to version 10.1.0
Add test.sh also.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-10-20 13:02:49 +02:00
Tianling Shen
6640ea8cc4
Merge pull request #22393 from jefferyto/maturin-1.3.0
maturin: Update to 1.3.0, build as Python (host-only) package
2023-10-15 11:51:06 +08:00
Javier Marcet
63fcdee74c python3-texttable: update to version 1.7.0
Signed-off-by: Javier Marcet <javier@marcet.info>
2023-10-14 11:21:21 +08:00
Javier Marcet
5340e9d7d8 python-websocket-client: update to 1.6.4
- 1.6.4
  - Add support for HTTP 307 and 308 redirect codes

- 1.6.3
  - Fix type hints issues
  - Add support for Python beta release 3.12 in CI
  - Add maintainer email in setup.py

Signed-off-by: Javier Marcet <javier@marcet.info>
2023-10-14 11:21:09 +08:00
Jeffery To
783e6f7491
maturin: Update to 1.3.0, build as Python (host-only) package
Python packages that use maturin to build do not call the maturin
program directly; they use the maturin build backend[1]. This build
backend is a Python library provided with maturin that interfaces with
the maturin program.

This changes the maturin package to use the Python build process so that
the build backend is installed correctly.

This also renames the source package to python-maturin and moves it into
the lang/python directory.

[1]: https://www.maturin.rs/#source-distribution

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-14 01:51:09 +08:00
Jeffery To
29ca9797a6
python-setuptools-rust: Set cargo profile from environment variable
This adds a patch (submitted upstream in
https://github.com/PyO3/setuptools-rust/pull/364), to read the profile
to pass to cargo from an environment variable.

This also updates the Python include files to set the environment
variable based on values from rust-values.mk.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-11 15:50:24 +08:00
Jeffery To
9db7284d58
rust: Consolidate cargo environment variables
This consolidates all environment variables for cargo into:

* CARGO_HOST_CONFIG_VARS / CARGO_PKG_CONFIG_VARS

  These contain all cargo-specific environment variables, i.e. without
  "common" variables like CC.

* CARGO_HOST_VARS / CARGO_PKG_VARS (renamed from CARGO_VARS)

  These contain all environment variables to be passed to cargo.

This also:

* Set the CARGO_BUILD_TARGET environment variable instead of using the
  --target command-line option

* Update Python include files to use CARGO_HOST_CONFIG_VARS /
  CARGO_PKG_CONFIG_VARS

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-11 15:50:23 +08:00
Jeffery To
49aaf19c65
rust: Install to $(STAGING_DIR)/host
This allows rustc/cargo/etc to be called without having to set PATH, as
$(STAGING_DIR)/host/bin is already in PATH.

This also fixes CARGO_HOME not being set during Host/Configure and
Host/Compile.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-11 15:50:22 +08:00
Jeffery To
7e8f7b28d7 python-zope-interface: Update to 6.1, refresh patch
This also updates the list of dependencies and adds a test.sh script for
the packages feed CI.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-11 09:09:31 +02:00
Fabian Lipken
325ecf9fac python-pycares: bump to 4.4.0
Signed-off-by: Fabian Lipken <dynasticorpheus@gmail.com>
2023-10-11 09:49:14 +08:00
Jeffery To
2aba43afe9
python3: Update to 3.11.6, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-09 09:20:50 +08:00
Jeffery To
f53a2ea2fb
Merge pull request #22306 from cotequeiroz/python3-rebuild
python3: avoid unnecessary rebuilds
2023-10-07 18:57:01 +08:00
Alexandru Ardelean
3b9abf7836
Merge pull request #22301 from cotequeiroz/pymysql_sha256
pymysql: add meta-package for sha256 support
2023-10-06 09:34:00 +03:00
Jeffery To
00841f9873 python-twisted: Update to 23.8.0, rework patches
The package changed to the hatchling build backend.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-05 14:37:27 -07:00
Eneas U de Queiroz
79b173a0c5
pymysql: add meta-package for sha256 support
Replace the PYTHON3_PYMYSQL_SHA_PASSWORD_SUPPORT option, which is
causing circular dependencies, with a meta-package that installs both
python3-pymysql and python3-cryptography.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2023-10-05 15:52:07 -03:00
Eneas U de Queiroz
c230d7bd7f
python3: avoid unnecessary rebuilds
Move the order in which BuildPackage is called, so that the libpython
package is built ahead of the module packages, to avoid forcing a
clean-build of the package when 'make package/python3/compile' is called
a second time without changes.

The library must be built first, so that when the buildsystem checks for
ABI version changes using libpython3.version, its timestamp should be
older than the dependent package's STAMP_PREPARED file.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2023-10-04 16:52:27 -03:00
Jeffery To
78bcdd0fd1 python-packaging: Update to 23.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-03 16:55:10 -07:00
Alexandru Ardelean
2a5707511f
Merge pull request #22284 from jefferyto/python-charset-normalizer-3.3.0
python-charset-normalizer: Update to 3.3.0
2023-10-03 20:15:23 +03:00
Jeffery To
85540346fe
python-charset-normalizer: Update to 3.3.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-03 22:54:02 +08:00
Jeffery To
dd5af62695
python-cffi: Update to 1.16.0
This includes a patch to unpin the version of setuptools required for
build; the required version is newer than the version bundled with
Python 3.11. This patch should not be necessary when Python 3.12 is
available.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-03 22:35:59 +08:00
Jeffery To
6b3da46777 python-bcrypt: Update to 4.0.1, add myself as maintainer
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-02 19:14:10 +08:00
Jeffery To
bb278a015c python-pyopenssl: Update to 23.2.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-02 19:14:01 +08:00
Jeffery To
9fdff3ea94 python-cryptography: Update to 41.0.4
This includes a patch to update the version of ouroboros (Rust crate)
used, to fix RUSTSEC-2023-0042[1]. Upstream has switch from ouroboros to
self_cell so this patch should only be necessary for cryptography 41.

[1]: https://rustsec.org/advisories/RUSTSEC-2023-0042.html

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-27 16:40:55 -07:00
Jeffery To
4d43be8549 python: Add environment variables to build Rust extensions
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-27 16:40:55 -07:00
Jeffery To
f467f47f0c python-setuptools-rust: Add new host-only package
From the README:

setuptools-rust is a plugin for setuptools to build Rust Python
extensions implemented with PyO3 or rust-cpython.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-27 16:40:55 -07:00
Jeffery To
b078e01f0c python-semantic-version: Add new host-only package
From the README:

This small python library provides a few tools to handle SemVer in
Python. It follows strictly the 2.0.0 version of the SemVer scheme.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-27 16:40:55 -07:00
Jeffery To
cb8648679b python-typing-extensions: Update to 4.8.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-27 16:40:21 -07:00
Jeffery To
423235b40a python-trove-classifiers: Update to 2023.9.19
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-27 16:40:11 -07:00
Jeffery To
c12e4e873d python-setuptools: Update to 68.2.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-27 16:39:52 -07:00
Jeffery To
0434413108 python-bidict: Update to 0.22.1
The package no longer has a build dependency on setuptools-scm.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-23 18:43:37 -07:00
Jeffery To
49af2d58ac python-exceptiongroup: Remove package
There are no longer any packages in the packages repo that depend on
this package. Since this package backports exception groups from Python
3.11, and Python in the packages repo has been updated to 3.11, there
should be no future need for this package.

This package will be added to the abandoned packages feed.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-23 18:43:19 -07:00
Jeffery To
77cebb0d03 python3-networkx: Update to 3.1, rename source package
This renames the source package to python-networkx to match other Python
packages.

This also updates the list of dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-22 00:25:02 +02:00
Jeffery To
e309346104 python-setuptools: Update to 68.2.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-14 21:38:03 +08:00
Jeffery To
21eb9b7456 python-build: Update to 1.0.3
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-14 21:37:51 +08:00
Alexandru Ardelean
9ca55bf34f
Merge pull request #22072 from commodo/python-updates1
chardet,numpy,django: bump versions
2023-09-10 20:02:01 +03:00
Alexandru Ardelean
cac6c53d2e
Merge pull request #22043 from jefferyto/python-crcmod-package-section
python-crcmod: Fix package section
2023-09-10 16:18:35 +03:00
Alexandru Ardelean
46523843b9
Merge pull request #22030 from BKPepe/retake-packages
treewide: take maintainership from Karel
2023-09-10 16:17:11 +03:00
Alexandru Ardelean
681651db4f
Merge pull request #22039 from jefferyto/xmltodict-0.13.0
xmltodict: Update to 0.13.0, rename source package
2023-09-10 16:14:59 +03:00
Alexandru Ardelean
d94a5cf585
Merge pull request #22038 from jefferyto/ruamel-yaml-0.17.32
ruamel-yaml: Update to 0.17.32, rename source package
2023-09-10 16:14:41 +03:00
Alexandru Ardelean
ff83a84449
Merge pull request #22037 from jefferyto/python-zipp-3.16.2
python-zipp: Update to 3.16.2, update list of dependencies
2023-09-10 16:14:15 +03:00
Alexandru Ardelean
f3f7f213e9
Merge pull request #22036 from jefferyto/python-zeroconf-0.97.0
python-zeroconf: Update to 0.97.0, update list of dependencies
2023-09-10 16:14:00 +03:00
Alexandru Ardelean
6cccbc7449
Merge pull request #22035 from jefferyto/python-yaml-6.0.1
python-yaml: Update to 6.0.1
2023-09-10 16:13:22 +03:00
Alexandru Ardelean
5215f65cd3
Merge pull request #22034 from jefferyto/python-build-1.0.0
python-build: Update to 1.0.0
2023-09-10 16:12:18 +03:00
Alexandru Ardelean
34ddaf88b4
Merge pull request #22041 from jefferyto/python-cryptodomex-3.18.0
python-cryptodomex: Update to 3.18.0, refresh patches
2023-09-10 16:11:52 +03:00
Alexandru Ardelean
e5d80255bd
Merge pull request #22040 from jefferyto/python-cryptodome-3.18.0
python-cryptodome: Update to 3.18.0, refresh patches
2023-09-10 16:11:40 +03:00
Alexandru Ardelean
ace91d3331
Merge pull request #22042 from jefferyto/python-pyserial-3.5
python-pyserial: Update to 3.5, update list of dependencies
2023-09-10 16:11:07 +03:00
Alexandru Ardelean
331b5f75f4 django: bump to version 4.2.5
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-09-09 13:46:11 +03:00
Alexandru Ardelean
50e655df8b numpy: bump to version 1.25.2
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-09-09 11:30:07 +03:00