Files
bpfire/lfs/python3-setuptools-rust
Adolf Belka 47cfdd293e python3-setuptools-rust:Update to version 1.5.2 and to work with python-3.10.8
- Updated from version 1.2.0 to 1.5.2
- Update of rootfile
- Changelog
	v1.5.2
		Fixed
		    Fix regression in dylib build artifacts not being found since 1.5.0. #290
		    Fix regression in sdist missing examples and other supplementary files since 1.5.0. #291
	v1.5.1
		Fixed
		    Fix regression in get_lib_name crashing since 1.5.0. #280
		    Fix regression in Binding.Exec builds with multiple executables not finding built executables since 1.5.0. #283
	v1.5.0
		Added
		    Add support for extension modules built for wasm32-unknown-emscripten with Pyodide. #244
		Changed
		    Locate cdylib artifacts by handling messages from cargo instead of searching target dir (fixes build on MSYS2). #267
		    No longer guess cross-compile environment using HOST_GNU_TYPE / BUILD_GNU_TYPE sysconfig variables. #269
		Fixed
		    Fix RustBin build without wheel. #273
		    Fix RustBin setuptools install. #275
	v1.4.1
		Fixed
		    Fix crash when checking Rust version. #263
	v1.4.0
		Packaging
		    Increase minimum setuptools version to 62.4. #222
		Added
		    Add cargo_manifest_args to support locked, frozen and offline builds. #234
		    Add RustBin for packaging binaries in scripts data directory. #248
		Changed
		    Exec binding RustExtension with script=True is deprecated in favor of RustBin. #248
		    Errors while calling cargo metadata are now reported back to the user #254
		    quiet option will now suppress output of cargo metadata. #256
		    setuptools-rust will now match cargo behavior of not setting --target when the selected target is the rust host. #258
		    Deprecate native option of RustExtension. #258
		Fixed
		    If the sysconfig for BLDSHARED has no flags, setuptools-rust won't crash anymore. #241
	v1.3.0
		Packaging
		    Increase minimum setuptools version to 58. #222
		Fixed
		    Fix crash when python-distutils-extra linux package is installed. #222
		    Fix sdist built with vendored dependencies on Windows having incorrect cargo config. #223

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-11-10 15:13:52 +00:00

80 lines
3.2 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2018 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 1.5.2
THISAPP = setuptools-rust-$(VER)
DL_FILE = $(THISAPP).tar.gz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = 735d23c73136d4fe7e9a326345d4bf958d0c7bf9a8da15c71228f0c6e2a91063d888e4d812af9d8295a0524a83921825d25dd010bc1961860609d657c1ae68e7
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
dist:
@$(PAK)
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && python3 setup.py build
cd $(DIR_APP) && python3 setup.py install --root=/
@rm -rf $(DIR_APP)
@$(POSTBUILD)