From 0bfec00a122479fccbaf410e2200577603616c30 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Thu, 1 Feb 2024 12:22:52 -0500 Subject: [PATCH] fix(openstack) use new tooling (old depended on `which`) closes #5078 --- .../openstack/python-openstackclient/package.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/projects/opendev.org/openstack/python-openstackclient/package.yml b/projects/opendev.org/openstack/python-openstackclient/package.yml index 9d618e39..13aef045 100644 --- a/projects/opendev.org/openstack/python-openstackclient/package.yml +++ b/projects/opendev.org/openstack/python-openstackclient/package.yml @@ -2,24 +2,23 @@ distributable: url: https://opendev.org/openstack/python-openstackclient/archive/{{version}}.tar.gz strip-components: 1 -# if there’s a github then we can parse the versions versions: url: https://opendev.org/api/v1/repos/openstack/python-openstackclient/tags match: /"name":"\d+\.\d+\.\d+"/ - - # often maintainers prepend or append junk, this can be a single or an array of regexes. - # almost always required with web scraping. strip: - /^"name":"/ - /"$/ dependencies: - python.org: ^3 + pkgx.sh: ^1 build: - script: | - python-venv.py {{prefix}}/bin/openstack - python-venv.py {{prefix}}/bin/openstack-inventory + dependencies: + python.org: ^3 + script: + - bkpyvenv stage {{prefix}} {{version}} + - ${{prefix}}/venv/bin/pip install . + - bkpyvenv seal {{prefix}} openstack openstack-inventory provides: - bin/openstack