aboutsummaryrefslogtreecommitdiff
path: root/lang
Commit message (Collapse)AuthorAge
* python-pytz: bump to version 2023.3Alexandru Ardelean2023-04-03
| | | | Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
* pillow: bump to version 9.5.0Alexandru Ardelean2023-04-03
| | | | Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
* rust: update to 1.68.2Luca Barbato2023-04-03
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Merge pull request #20657 from jefferyto/python-pyproject-hostJeffery To2023-03-31
|\ | | | | python: Add pyproject.toml-based builds for host Python packages, add host packages
| * python: Better host pip optionsJeffery To2023-03-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pip by default will read system-wide and per-user configuration files[1]. Setting PIP_CONFIG_FILE=/dev/null instructs pip to not read any config files[2]. pip will spawn child processes of itself to do work, but not all options are passed down to the child processes[3]. Setting global options as environment variables[4] ensures they are passed down to any child processes. [1]: https://pip.pypa.io/en/stable/topics/configuration/#configuration-files [2]: https://pip.pypa.io/en/stable/topics/configuration/#pip-config-file [3]: https://github.com/pypa/pip/issues/9081#issue-733819665 [4]: https://pip.pypa.io/en/stable/topics/configuration/#environment-variables Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-hatch-fancy-pypi-readme: Add new host-only packageJeffery To2023-03-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From the README: hatch-fancy-pypi-readme is a Hatch metadata plugin for everyone who cares about the first impression of their project’s PyPI landing page. It allows you to define your PyPI project description in terms of concatenated fragments that are based on static strings, files, and most importantly: parts of files defined using cut-off points or regular expressions. Once you’ve assembled your readme, you can additionally run regular expression-based substitutions over it. For instance to make relative links absolute or to linkify users and issue numbers in your changelog. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-hatch-vcs: Add new host-only packageJeffery To2023-03-31
| | | | | | | | | | | | | | | | | | From the README: This provides a plugin for Hatch that uses your preferred version control system (like Git) to determine project versions. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-hatchling: Add new host-only packageJeffery To2023-03-31
| | | | | | | | | | | | | | | | From the README: This is the extensible, standards compliant build backend used by Hatch. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-pluggy: Update to 1.0.0, add host build, add myself as maintainerJeffery To2023-03-31
| | | | | | | | | | | | | | This also marks python3-pytest as BROKEN (for now) as the in-tree version is not compatible with this version of pluggy. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-pathspec: Add new host-only packageJeffery To2023-03-31
| | | | | | | | | | | | | | | | | | | | | | From the README: pathspec is a utility library for pattern matching of file paths. So far this only includes Git's wildmatch pattern matching which itself is derived from Rsync's wildmatch. Git uses wildmatch for its gitignore files. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-editables: Add new host-only packageJeffery To2023-03-31
| | | | | | | | | | | | | | | | | | | | | | | | | | From the README: A Python library for creating "editable wheels" This library supports the building of wheels which, when installed, will expose packages in a local directory on sys.path in "editable mode". In other words, changes to the package source will be reflected in the package visible to Python, without needing a reinstall. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-flit-scm: Add new host-only packageJeffery To2023-03-31
| | | | | | | | | | | | | | | | | | | | From the README: A PEP 518 build backend that uses setuptools_scm to generate a version file from your version control system, then flit_core to build the package. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-poetry-core: Add new host-only packageJeffery To2023-03-31
| | | | | | | | | | | | | | | | | | | | | | From the README: A PEP 517 build backend implementation developed for Poetry. This project is intended to be a light weight, fully compliant, self-contained package allowing PEP 517 compatible build frontends to build Poetry managed projects. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-setuptools-scm: Add new host-only packageJeffery To2023-03-31
| | | | | | | | | | | | | | | | | | | | | | The host build replaces the use of the host pip requirements file. This also updates the dependants of setuptools-scm to depend on the host build. This also removes the toml host pip requirements file as toml is not used by any other package. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-typing-extensions: Add host buildJeffery To2023-03-31
| | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-cffi: Update to 1.15.1, add host buildJeffery To2023-03-31
| | | | | | | | | | | | | | The host build replaces the use of the host pip requirements file. This also updates the dependants of cffi to depend on the host build. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-pycparser: Add host buildJeffery To2023-03-31
| | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-ply: Add host buildJeffery To2023-03-31
| | | | | | | | | | | | | | The host build replaces the use of the host pip requirements file. This also updates the dependants of ply to depend on the host build. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-cython: Add new host-only packageJeffery To2023-03-31
| | | | | | | | | | | | | | The host build replaces the use of the host pip requirements file. This also updates the dependants of Cython to depend on the host build. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-wheel: Add new host-only packageJeffery To2023-03-31
| | | | | | | | | | | | | | | | | | From the README: This library is the reference implementation of the Python wheel packaging standard, as defined in PEP 427. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-build: Add new host-only packageJeffery To2023-03-31
| | | | | | | | | | | | | | | | | | | | | | From the documentation: A simple, correct PEP 517 build frontend. build will invoke the PEP 517 hooks to build a distribution package. It is a simple build tool and does not perform any dependency management. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-pyproject-hooks: Add new host-only packageJeffery To2023-03-31
| | | | | | | | | | | | | | | | | | | | | | From the README: This is a low-level library for calling build-backends in pyproject.toml-based project. It provides the basic functionality to help write tooling that generates distribution files from Python projects. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-tomli: Add new host-only packageJeffery To2023-03-31
| | | | | | | | | | | | | | | | | | From the README: Tomli is a Python library for parsing TOML. Tomli is fully compatible with TOML v1.0.0. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-packaging: Update to 23.0, add host buildJeffery To2023-03-31
| | | | | | | | | | | | | | | | This also adds myself as maintainer, and marks the target package as BROKEN (for now) as the update requires proper support for pyproject.toml-based builds. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-installer: Add host-only packageJeffery To2023-03-31
| | | | | | | | | | | | | | | | | | | | From the README: This is a low-level library for installing a Python package from a wheel distribution. It provides basic functionality and abstractions for handling wheels and installing packages from wheels. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-flit-core: Add host-only packageJeffery To2023-03-30
| | | | | | | | | | | | | | | | | | From the README: This provides a PEP 517 build backend for packages using Flit. The only public interface is the API specified by PEP 517, at flit_core.buildapi. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python: Add pyproject.toml-based builds for host Python packagesJeffery To2023-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using pip to install host packages with pyproject.toml-based (PEP 517) builds is problematic: * If build isolation is used, pip will create an isolated build environment, install any build dependencies for the requested package, then build the requested package. It does not appear currently possible to have pip install the build dependencies with hash-checking mode enabled[1]. * If build isolation is not used, any build dependencies must be installed in the build environment before invoking pip to build the requested package[2]. This would require creating a package dependency resolution system to install build dependencies, and any dependencies of dependencies, in the correct order. * It is very difficult to patch the packages installed by pip. This adds a new include file (python3-host-build.mk) with recipes to install host Python packages with pyproject.toml-based builds. This is backwards-compatible with packages that require running setup.py. Besides addressing the above issues (the OpenWrt build system already resolves dependencies between packages, checks all source downloads against known hashes, and supports patching packages), host packages also: * Capture package licensing and maintainer information * Enable uscan checking for package updates/CVEs * Are a known concept for OpenWrt packagers/developers The existing functionality of using host pip to install packages will remain for now, but should be considered deprecated and expected to be removed in the future. This also updates Py3Build/CheckHostPipVersionMatch for the case where the host-pip-requirements directory does not exist or is empty. [1]: https://pip.pypa.io/en/stable/user_guide/#changes-to-the-pip-dependency-resolver-in-20-3-2020 [2]: https://pip.pypa.io/en/stable/cli/pip_install/#cmdoption-no-build-isolation Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python: Unset Python environment variablesJeffery To2023-03-30
| | | | | | | | | | | | | | | | | | | | | | This will prevent the user's environment variables from affecting host Python, removing the need to manually override these variables. It is also not necessary to set PYTHONPATH (when not working on target Python packages) because the given directories are already included in Python's search path by default. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | rust: update to 1.68.1Oskari Rauta2023-03-31
| | | | | | | | | | | | | | | | | | also add new variable CARGO_VARS to make it possible to pass environment variables for cargo process. This is necessary when for example, cross-compiling netavark. Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
* | Merge pull request #20633 from QuintinHill/python-mqttJeffery To2023-03-30
|\ \ | |/ |/| Package dependencies for ble2mqtt python package
| * python-ble2mqtt: add packageQuintin Hill2023-03-22
| | | | | | | | | | | | This package allows interfacing between BLE sensors and MQTT. Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
| * python-bleak: add packageQuintin Hill2023-03-22
| | | | | | | | | | | | | | | | This package is a dependency of ble2mqtt. python-asyncio is a runtime dependency of this package. Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
| * python-dbus-fast: add packageQuintin Hill2023-03-20
| | | | | | | | | | | | | | | | This package is a dependency of bleak. Building and installing this package via pip on a router is not difficult and the build crashes when memory is exhausted. Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
| * python-aio-mqtt-mod: add packageQuintin Hill2023-03-17
| | | | | | | | | | | | This package is a dependency of ble2mqtt. Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
* | Merge pull request #20693 from jefferyto/golang-1.20.2Jeffery To2023-03-30
|\ \ | | | | | | golang: Update to 1.20.2, refresh patch
| * | golang: Update to 1.20.2, refresh patchJeffery To2023-03-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Includes fixes for: * 1.20.1: * CVE-2022-41722: path/filepath: path traversal in filepath.Clean on Windows * CVE-2022-41723: net/http: avoid quadratic complexity in HPACK decoding * CVE-2022-41724: crypto/tls: large handshake records may cause panics * CVE-2022-41725: net/http, mime/multipart: denial of service from excessive resource consumption * 1.20.2: * CVE-2023-24532: crypto/elliptic: specific unreduced P-256 scalars produce incorrect results Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | Merge pull request #20733 from pprindeville/perl-text-csv_xs-update-1.50Philip Prindeville2023-03-29
|\ \ \ | | | | | | | | perl-text-csv_xs: Update to 1.50
| * | | perl-text-csv_xs: Update to 1.50Philip Prindeville2023-03-26
| | | | | | | | | | | | | | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* | | | Merge pull request #20732 from pprindeville/perl-cgi-update-4.56Philip Prindeville2023-03-29
|\ \ \ \ | | | | | | | | | | perl-cgi: Update to 4.56
| * | | | perl-cgi: Update to 4.56Philip Prindeville2023-03-26
| |/ / / | | | | | | | | | | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* | | | borgbackup: bump to 1.2.4Julien Malik2023-03-27
| | | | | | | | | | | | | | | | Signed-off-by: Julien Malik <julien.malik@paraiso.me>
* | | | borgbackup: add missing dependenciesJulien Malik2023-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The initial package submission was missing some required and optional dependencies due to lack of testing on a system without any python related packages pre-installed. Some optional but highly recommended dependencies were discovered with the stdlib module as described in: https://github.com/openwrt/packages/blob/392a68e24774294590abf9c08ea1832f2cee190d/lang/python/README.md Fixes #20441 Signed-off-by: Julien Malik <julien.malik@paraiso.me>
* | | | rust: fix build with glibcTianling Shen2023-03-24
| | | | | | | | | | | | | | | | | | | | | | | | Don't set musl-specific options/ldflags when using glibc. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* | | | rust: enable use of prebuilt llvm toolchainTianling Shen2023-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | llvm-bpf is not ready for generic usage, so use prebuilt llvm toolchain provided by the rust project to speedup build (~1hour faster). Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* | | | maturin: Update to 0.14.15Tianling Shen2023-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed a build error: > unresolved import `time::macros` Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* | | | maturin: adapt new rust build standardTianling Shen2023-03-24
| | | | | | | | | | | | | | | | | | | | | | | | While at it, move maturin out of rust directory. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* | | | rust: refactor build helperTianling Shen2023-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added new RustBinPackage, RustBinHostBuild wrapper. Added new RUST_PKG_FEATURES flag. Moved CARGO_HOME to STAGING_DIR_HOSTPKG. Overrode default Build/Compile and Host/Compile to Cargo build. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* | | | rust: remove useless target dependencies and configurationTianling Shen2023-03-24
| | | | | | | | | | | | | | | | | | | | | | | | They are for the target build which is not supported yet, drop them. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* | | | rust: remove useless tarball packageTianling Shen2023-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These tarball cannot be reused, so simply drop them. Also move cargo config to a file instead of using echo command. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* | | | node: bump to v18.15.0Hirokazu MORIKAWA2023-03-21
|/ / / | | | | | | | | | | | | | | | | | | Update to v18.15.0 Fixed bug using system-icu Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>