Files
bpfire/lfs/python3-packaging
Adolf Belka 26562e76a3 python3-packaging: Update to version 23.0
- Update from version 21.3 to 23.0
- Update of rootfile
- Changelog
23.0
What's Changed
    Remove unused LPAREN token from tokenizer by @hrnciar in #630
    Reorganise the project layout and version management by @pradyunsg in #626
    Correctly handle non-normalised specifiers in requirements by @pradyunsg in #634
    Use stable Python 3.11 in tests by @153957 in #641
    Fix typing for specifiers.BaseSpecifier.filter() by @henryiii in #643
    Correctly handle trailing whitespace on URL requirements by @pradyunsg in #642
    refactor _generic_api to use EXT_SUFFIX by @mattip in #607
    Allow "extra" to be None in the marker environment by @pradyunsg in #650
    Fix typos by @kianmeng in #648
    Update changelog for release by @pradyunsg in #656
22.0
What's Changed
    Fix compatible version specifier incorrectly strip trailing '0' by @kasium in #493
    Remove support for Python 3.6 by @abravalheri in #500
    Use concurrency limit in ci by @blink1073 in #510
    Fix issue link in changelog. by @bdice in #509
    chore: test with PyPy 3.8 & 3.9 by @mayeut in #512
    Accept locally installed prereleases by @q0w in #515
    Always run GHA workflows when they change by @mayeut in #516
    Add __hash__/__eq__ to requirements by @abravalheri in #499
    Upgrade to setup-python v3 and use caching for GHA by @brettcannon in #521
    allow pre-release versions in marker evaluation by @graingert in #523
    Error out from workflow on missing interpreter by @mayeut in #525
    chore: update pre-commit config to the latest repos' versions by @mayeut in #534
    chore: remove Windows PyPy 3.9 workaround on GHA by @mayeut in #533
    Use pipx to run nox / build in GHA workflows by @mayeut in #517
    Run tests with all PyPy versions locally by @mayeut in #535
    Adhere to PEP 685 when evaluating markers with extras by @hroncok in #545
    chore: update mypy and move to toml by @henryiii in #547
    Normalize extra comparison in markers for output by @brettcannon in #549
    Evaluate markers under environment with empty "extra" by @MrMino in #550
    Do not set extra in default_environment() by @sbidoul in #554
    Update extlinks strings to use a format string by @mayeut in #555
    Update CI test workflow to use setup-python@v4 by @mayeut in #556
    CI: Update actions/* to their latest major versions by @mayeut in #557
    Fix a spelling mistake by @venthur in #558
    fix: macOS platform tags with old macOS SDK by @mayeut in #513
    Correctly parse ELF for musllinux on Big Endian by @uranusjr in #538
    A metadata module with a data class for core metadata by @brettcannon in #518
    Document utils.NormalizedName by @brettcannon in #565
    Drop LegacySpecifier and LegacyVersion by @pradyunsg in #407
    Move metadata, versions and specifiers API documentation to sphinx.ext.autodoc by @pradyunsg in #572
    Demonstrate behaviour of SpecifierSet.__iter__ by @hauntsaninja in #575
    Handwritten parser for parsing requirements by @hrnciar in #484
    Add changelog entry for removal of pyparsing dependency by @hroncok in #581
    Use Iterator instead of Iterable for specifier filter methods by @ichard26 in #584
    Better output on linter failure by @henryiii in #478
    Add a "cpNNN-none-any" tag by @joonis in #541
    Document exceptions raised by functions in utils by @MrMino in #544
    Refactor ELF parsing logic to standlone class by @uranusjr in #553
    Forbid prefix version matching on pre-release/post-release segments by @mayeut in #563
    Update coverage to >=5.0.0 by @mayeut in #586
    Normalize specifier version for prefix matching by @mayeut in #561
    Add python 3.11 by @mayeut in #587
    Fix prefix version matching by @mayeut in #564
    Remove duplicate namedtuple by @layday in #589
    Update changelog by @pradyunsg in #595
    Change email-related fields in Metadata to str by @brettcannon in #596
    Add versionchanged for 21.3 by @brettcannon in #599
    refactor: use flit as a backend by @henryiii in #546
    Remove packaging.metadata by @pradyunsg in #603
    Refactor nox requirements to use requirements files (#601) by @strokirk in #609
    Improve Requirement/Marker parser with context-sensitive tokenisation by @pradyunsg in #624

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2023-01-26 22:44:30 +00:00

82 lines
3.2 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2023 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 = 23.0
THISAPP = packaging-$(VER)
DL_FILE = $(THISAPP).tar.gz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = python3-packaging
PAK_VER = 3
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = 601806498c414aaf3a68206a008e4032b0925bb1a06b170a6da64786d15456b5a3082cfde7620cd39f3f0ec204f42337df4b6c663c76697b6dc9577d38cc45c3
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 pyproject2setuppy.main build
cd $(DIR_APP) && python3 -m pyproject2setuppy.main install --root=/
@rm -rf $(DIR_APP)
@$(POSTBUILD)