Files
bpfire/lfs/python3-typing-extensions
Adolf Belka 76227aaf71 python3-typing-extensions: Update to version 4.1.1
- Update from 4.0.1 to 4.1.1
- Update of rootfile
- Changelog
   # Release 4.1.1 (February 13, 2022)
	- Fix importing `typing_extensions` on Python 3.7.0 and 3.7.1. Original
	  patch by Nikita Sobolev (@sobolevn).
   # Release 4.1.0 (February 12, 2022)
	- Runtime support for PEP 646, adding `typing_extensions.TypeVarTuple`
	  and `typing_extensions.Unpack`.
	- Add interaction of `Required` and `NotRequired` with `__required_keys__`,
	  `__optional_keys__` and `get_type_hints()`. Patch by David Cabot (@d-k-bo).
	- Runtime support for PEP 675 and `typing_extensions.LiteralString`.
	- Add `Never` and `assert_never`. Backport from bpo-46475.
	- `ParamSpec` args and kwargs are now equal to themselves. Backport from
	  bpo-46676. Patch by Gregory Beauregard (@GBeauregard).
	- Add `reveal_type`. Backport from bpo-46414.
	- Runtime support for PEP 681 and `typing_extensions.dataclass_transform`.
	- `Annotated` can now wrap `ClassVar` and `Final`. Backport from
	  bpo-46491. Patch by Gregory Beauregard (@GBeauregard).
	- Add missed `Required` and `NotRequired` to `__all__`. Patch by
	  Yuri Karabas (@uriyyo).
	- The `@final` decorator now sets the `__final__` attribute on the
	  decorated object to allow runtime introspection. Backport from
	  bpo-46342.
	- Add `is_typeddict`. Patch by Chris Moradi (@chrismoradi) and James
	  Hilton-Balfe (@Gobot1234).

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-04-18 21:10:09 +00:00

84 lines
3.3 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 = 4.1.1
THISAPP = typing_extensions-$(VER)
DL_FILE = $(THISAPP).tar.gz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = python3-typing-extensions
PAK_VER = 2
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = 18953565f4181d648faf780db8594963813d0b26d479e5235cd75d262490b479e957f55734bb6d6d22c31fe2ccec1ac5490e7a64a469528d386e5de2751c6b1a
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 -m build --wheel --skip-dependency-check --no-isolation
cd $(DIR_APP) && \
python3 -m install --optimize=1 --destdir=/ dist/*.whl
@rm -rf $(DIR_APP)
@$(POSTBUILD)