Skip to content

Commit

Permalink
wheel.mk: Revert change to wheel #egg= management
Browse files Browse the repository at this point in the history
  • Loading branch information
th0ma7 committed Jan 27, 2025
1 parent 4c44bc7 commit 186b008
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mk/spksrc.wheel.mk
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ ifneq ($(wildcard $(abspath $(addprefix $(WORK_DIR)/../,$(WHEELS)))),)
version=$$(echo $${wheel} | grep -oP '(?<=([<>=]=))[^ ]*' || echo "") ; \
if [ "$$(grep -s egg <<< $${wheel})" ]; then \
name=$$(echo $${wheel#*egg=} | cut -f1 -d=) ; \
wheel=$$(echo $${wheel%%#egg=*}) ; \
else \
name=$$(echo $${wheel%%[<>=]=*} | sed -E "s/^(abi3|crossenv|pure)://") ; \
fi ; \
Expand Down Expand Up @@ -123,6 +124,7 @@ ifneq ($(filter-out $(addprefix src/,$(notdir $(wildcard $(abspath $(addprefix $
version=$$(echo $${wheel} | grep -oP '(?<=([<>=]=))[^ ]*' || echo "") ; \
if [ "$$(grep -s egg <<< $${requirement})" ]; then \
name=$$(echo $${wheel#*egg=} | cut -f1 -d=) ; \
wheel=$$(echo $${wheel%%#egg=*}) ; \
else \
name=$$(echo $${wheel%%[<>=]=*} | sed -E "s/^(abi3|crossenv|pure)://") ; \
fi ; \
Expand Down

0 comments on commit 186b008

Please sign in to comment.