build: use pip wheel to get cockpit wheel
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.
This commit is contained in:
parent
b54f4aa607
commit
e32368e56a
1 changed files with 1 additions and 7 deletions
8
Makefile
8
Makefile
|
|
@ -159,13 +159,7 @@ COCKPIT_PYBRIDGE_REF = main
|
||||||
COCKPIT_WHEEL = cockpit-0-py3-none-any.whl
|
COCKPIT_WHEEL = cockpit-0-py3-none-any.whl
|
||||||
|
|
||||||
$(COCKPIT_WHEEL):
|
$(COCKPIT_WHEEL):
|
||||||
# aka: pip wheel git+https://github.com/cockpit-project/cockpit.git@${COCKPIT_PYBRIDGE_REF}
|
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)" $@
|
|
||||||
|
|
||||||
VM_DEPENDS = $(COCKPIT_WHEEL)
|
VM_DEPENDS = $(COCKPIT_WHEEL)
|
||||||
VM_CUSTOMIZE_FLAGS = --install $(COCKPIT_WHEEL)
|
VM_CUSTOMIZE_FLAGS = --install $(COCKPIT_WHEEL)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue