Hi, Only small changes:
1) added more test cases to the benchmark and improved the logic to generate readable output 2) switched extglob logic to the more readable version suggested by ulm (decided to do it after all) Michał Górny (7): pypi.eclass: Move setting globals to a function eclass/tests: Add pypi-bench.sh for global scope logic pypi.eclass: Translate version once in the default scenario pypi.eclass: Normalize names without subshell pypi.eclass: Translate version without subshell in common case pypi.eclass: Replace pypi_sdist_url in global scope pypi.eclass: Avoid subshell for extglob setting eclass/pypi.eclass | 128 ++++++++++++++++++++++++++----------- eclass/tests/pypi-bench.sh | 65 +++++++++++++++++++ 2 files changed, 155 insertions(+), 38 deletions(-) create mode 100755 eclass/tests/pypi-bench.sh -- 2.41.0
