aboutsummaryrefslogtreecommitdiff
path: root/lang
Commit message (Collapse)AuthorAge
...
* | python-hatchling: Update to 1.14.1Jeffery To2023-05-04
| | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | python-hatchling: Update to 1.14.0Jeffery To2023-05-01
| | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | python-trove-classifiers: Add new host-only packageJeffery To2023-05-01
| | | | | | | | | | | | | | | | | | | | | | From the README: Canonical source for classifiers on PyPI. Classifiers categorize projects per PEP 301. Use this package to validate classifiers in packages for PyPI upload or download. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | python-calver: Add new host-only packageJeffery To2023-05-01
| | | | | | | | | | | | | | | | | | From the README: The calver package is a setuptools extension for automatically defining your Python package version as a calendar version. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | python-eventlet: bump to version 0.33.3Stepan Henek2023-04-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | old eventlet is not working well with python3.10 ``` root@turris:~# python3 Python 3.10.9 (main, Feb 9 2023, 10:37:45) [GCC 11.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import eventlet Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.10/site-packages/eventlet/__init__.py", line 17, in <module> File "/usr/lib/python3.10/site-packages/eventlet/convenience.py", line 7, in <module> File "/usr/lib/python3.10/site-packages/eventlet/green/socket.py", line 4, in <module> File "/usr/lib/python3.10/site-packages/eventlet/green/_socket_nodns.py", line 11, in <module> File "/usr/lib/python3.10/site-packages/eventlet/greenio/__init__.py", line 3, in <module> File "/usr/lib/python3.10/site-packages/eventlet/greenio/base.py", line 32, in <module> File "/usr/lib/python3.10/site-packages/eventlet/timeout.py", line 166, in wrap_is_timeout TypeError: cannot set 'is_timeout' attribute of immutable type 'TimeoutError' ``` see 0.33.3 release notes for details - https://eventlet.net/doc/changelog.html#id1 Signed-off-by: Stepan Henek <stepan.henek@nic.cz>
* | ruby: statically link extensions into host rubyLuiz Angelo Daros de Luca2023-04-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ruby uses extensions (.so files) that might also depend on other libraries. When the linker builds an executable, it will refer to the path it found the library, including those in the stagging dir. However, when it links a shared library (like ruby exts), it will let that dependency to be resolved at runtime. During host and target build, ruby build script runs ruby scripts. When it loads a ext that depends on another library, it will, by default, look for the system libraries to satisfy that, breaking the build when it fails. Setting LD_LIBRARY_PATH to the stagging lib dir is a valid workaround. Ruby can also be built statically linking all exts into ruby executable. That will make the linker point to the stagging library path, fixing the issue. It was used in the past but, at some point, ruby broke it. Now it is working as expected. Closes #20839 While at it, clean up excluded extensions not used by host ruby. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
* | python: Update find stdlib scriptJeffery To2023-04-25
| | | | | | | | | | | | | | | | | | | | | | | | | | This updates the python3-find-stdlib-depends.sh script for these changes: * The gdbm (dbm.gnu) package was merged into the dbm package in 78f6c2c5ad2fd3de8a33a1cddb02204177cf60ad. * The uuid module was split into a separate package in 4e05541782edeb06b51d691dadf52648df24c940. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | python-idna: Update to 3.4Jeffery To2023-04-25
| | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | python-zope-interface: Update to 6.0, refresh patchJeffery To2023-04-25
| | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | python-pyasn1: Update to 0.5.0Jeffery To2023-04-25
|/ | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* treewide: remove AUTORELEASEPaul Fertser2023-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatically compute and substitute current values for all $(AUTORELEASE) instances as this feature is deprecated and shouldn't be used. The following temporary change was made to the core: diff --git a/rules.mk b/rules.mk index 57d7995d4fa8..f16367de87a8 100644 --- a/rules.mk +++ b/rules.mk @@ -429,7 +429,7 @@ endef abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1)))) COMMITCOUNT = $(if $(DUMP),0,$(call commitcount)) -AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1)) +AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile)) all: FORCE: ; And this command used to fix affected packages: for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \ sed 's^.*/\([^/]*\)/Makefile^\1^';); do make package/$i/download done Signed-off-by: Paul Fertser <fercerpav@gmail.com>
* rust: update to 1.69.0Luca Barbato2023-04-21
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* php8: update to 8.2.5Michael Heimpold2023-04-16
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* python-cython: Update to 0.29.34Jeffery To2023-04-15
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* node: bump to v18.16.0Hirokazu MORIKAWA2023-04-14
| | | | | | | | | | | | Description: Update to v18.16.0 Fixed a bug when selecting arm-fpu for vfpv3-d16. Notable changes Add initial support for single executable applications Replace url parser with Ada Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
* golang: Update to 1.20.3Tianling Shen2023-04-14
| | | | | | | | | | | | Included fixes for: - CVE-2023-24534 - CVE-2023-24536 - CVE-2023-24537 - CVE-2023-24538 Refreshed patches. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* ruby: update to 3.2.2Luiz Angelo Daros de Luca2023-04-11
| | | | | | | | | | | | This release includes security fixes. Please check the topics below for details. - CVE-2023-28755: ReDoS vulnerability in URI - CVE-2023-28756: ReDoS vulnerability in Time See https://github.com/ruby/ruby/releases/tag/v3_2_2 for further details. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
* ruby: update to 3.2.1Luiz Angelo Daros de Luca2023-04-11
| | | | | | | | | | | | | | | | | | | | | | | | | | Ruby 3.2 changes include: * WASI based WebAssembly support * Production-ready YJIT * Regexp improvements against ReDoS See: https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/ Ruby 3.2.1 changes includes: * Bugfixes See: https://www.ruby-lang.org/en/news/2023/02/08/ruby-3-2-1-released/ Package-related changes are: * libyaml is no longer bundled, requiring OpenWrt to build it as a host library for ruby/host. * Added sub-packages: - ruby-mjit: files for mJIT, although disabled during build - ruby-syntax_suggest: finds missing ends * Backported patches dropped: - 001-fix-build-with-libressl-3.5.patch - 002-fix-operator-precedence.patch * Usual dependencies adjustments Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
* python3-ble2mqtt: add init scriptQuintin Hill2023-04-11
| | | | | | | | | Note that init script won't do much without configuration provided. The init script comes from the upstream README file. Also add missing dependency. Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
* python3-bleak: bump to 0.20.1Quintin Hill2023-04-11
| | | | | | This has a small fix on top of 0.20.0. Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
* treewide: opt out of LTO usageAndre Heider2023-04-08
| | | | | | | These fail to build or packages depending on them do when enabling CONFIG_USE_LTO. Signed-off-by: Andre Heider <a.heider@gmail.com>
* treewide: refactor to use PKG_BUILD_FLAGS:=gc-sectionsAndre Heider2023-04-08
| | | | | | | | | | | | See commit da370098 "treewide: add support for "gc-sections" in PKG_BUILD_FLAGS" on the main repository. Note: This only touches packages which use all three parts (-ffunction-sections, -fdata-sections and -Wl,--gc-sections) enabled by this build flag. Some packages only use a subset, and these are left unchanged for now. Signed-off-by: Andre Heider <a.heider@gmail.com>
* treewide: refactor to use PKG_BUILD_FLAGS:=no-mips16Andre Heider2023-04-08
| | | | | | | See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with PKG_BUILD_FLAGS:=no-mips16" on the main repository. Signed-off-by: Andre Heider <a.heider@gmail.com>
* 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>