Skip to content

Commit

Permalink
build: use pip wheel to get cockpit wheel
Browse files Browse the repository at this point in the history
Now that we have pip in the tasks container, this is a lot easier, and
it will allow us to drop the make-wheel script from the cockpit project.
  • Loading branch information
allisonkarlitskaya authored and martinpitt committed Mar 20, 2023
1 parent 83e39b1 commit a6e1344
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,7 @@ COCKPIT_PYBRIDGE_REF = main
COCKPIT_WHEEL = cockpit-0-py3-none-any.whl

$(COCKPIT_WHEEL):
# aka: pip wheel git+https://github.com/cockpit-project/cockpit.git@${COCKPIT_PYBRIDGE_REF}
rm -rf tmp/pybridge
git init tmp/pybridge
git -C tmp/pybridge remote add origin https://github.com/cockpit-project/cockpit
git -C tmp/pybridge fetch --depth=1 origin ${COCKPIT_PYBRIDGE_REF}
git -C tmp/pybridge reset --hard FETCH_HEAD
cp "$$(tmp/pybridge/tools/make-wheel)" $@
pip wheel git+https://github.com/cockpit-project/cockpit.git@${COCKPIT_PYBRIDGE_REF}

VM_DEPENDS = $(COCKPIT_WHEEL)
VM_CUSTOMIZE_FLAGS = --install $(COCKPIT_WHEEL)
Expand Down

0 comments on commit a6e1344

Please sign in to comment.