| Commit message (Collapse) | Author | Age |
... | |
| |
| |
| |
| | |
Signed-off-by: Javier Marcet <javier@marcet.info>
|
|/
|
|
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
| |
Signed-off-by: Javier Marcet <javier@marcet.info>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* codegen-units, lto, opt-level - Set to values to optimize binary
size[1].
* overflow-checks - Enabled because in release mode, integer overflows
are defined as two's complement wrap[2]. It is highly unlikely that
any program is intentionally relying on this behaviour; it would be
better to panic instead of continue execution in this case.
* debug, debug-assertions, panic, rpath - Set to their default (release)
values, to override any settings made by packages, e.g. ripgrep sets
debug = 1[3].
[1]: https://github.com/johnthagen/min-sized-rust
[2]: https://huonw.github.io/blog/2016/04/myths-and-legends-about-integer-overflow-in-rust/
[3]: https://github.com/BurntSushi/ripgrep/blob/13.0.0/Cargo.toml#L79-L80
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Using sccache makes recompilation of rustc and Rust packages faster.
This also makes the rust package visible in menuconfig, in order for the
sccache options to be accessible.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows cargo to use make's jobserver when building packages, by
marking the cargo command as recursive (with the + prefix[1]) and
setting MAKEFLAGS.
This also:
* Give cargo/x.py the build directory instead of having to change the
current directory (and opening subshells)
* Set PKG_BUILD_PARALLEL/HOST_BUILD_PARALLEL for Rust packages to enable
the use of make's jobserver
[1]: https://www.gnu.org/software/make/manual/html_node/POSIX-Jobserver.html
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
As CARGO_HOME mainly functions as a download and source cache[1], moving
it into $(DL_DIR) allows it to persist and be reused between different
buildroots/sdks (when DL_DIR is set to a custom/external location).
[1]: https://doc.rust-lang.org/cargo/guide/cargo-home.html
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This also:
* Modify the "release" profile in place of adding the "stripped" profile
Only the profile for target is modified; there are no file size
constraints for host.
* For host, build with the "release" profile
* For target, build with either the "dev" or "release" profile based on
CONFIG_DEBUG
There is no environment variable to specify the "strip" option, but
enabling this option is not necessary as the build system will already
strip binaries based on CONFIG_NO_STRIP / CONFIG_USE_STRIP /
CONFIG_USE_SSTRIP.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Compress dist archives with gzip instead of xz; gzip is faster to
compress and decompress
* Use a for loop instead of calling find to extract archives
* Use libdeflate's gzip to decompress instead of gzip
* Limit search for install scripts to top level of extracted archives
This also runs the install scripts with bash instead of sh, in
accordance with the shebang lines inside the scripts.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
|
|
|
| |
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
|
|
|
|
|
| |
Features to be enabled for host may not be the same as those for target.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
|
|
|
|
|
| |
The build system already requires Python to be installed.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Fabian Lipken <dynasticorpheus@gmail.com>
|
|\
| |
| | |
python3: Update to 3.11.6, refresh patches
|
| |
| |
| |
| | |
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
|\ \
| |/
|/| |
Perl text csv xs update 1.52
|
| |
| |
| |
| | |
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
|
| |
| |
| |
| | |
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
Includes fix for CVE-2023-39323 (cmd/go: line directives allows
arbitrary execution during build).
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
|\ \
| | |
| | | |
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>
|
|\ \ \
| | | |
| | | | |
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>
|
| | |
| | |
| | |
| | |
| | |
| | | |
The package changed to the hatchling build backend.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
|\ \ \
| |/ /
|/| | |
php8: update to 8.2.11
|
| | |
| | |
| | |
| | | |
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Amnon Paz <pazamnon@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
|\ \ \
| | | |
| | | | |
python-charset-normalizer: Update to 3.3.0
|
| |/ /
| | |
| | |
| | | |
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| | |
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| | |
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| | |
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
|\ \
| | |
| | | |
php8-pecl-redis: update to 6.0.1
|
| | |
| | |
| | |
| | | |
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Replace arch dependency to common config HAS_LUAJIT_ARCH from luajit
package.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
|
| |/
|/|
| |
| |
| |
| |
| | |
Move arch dependency for luajit to dedicated config HAS_LUAJIT_ARCH to
workaround recursive dependency limitation.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
|
| |
| |
| |
| |
| |
| | |
The package no longer has a build dependency on setuptools-scm.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|