From 46ba8f64d0367272cf844fe8fa8a04828f0a46bc Mon Sep 17 00:00:00 2001 From: tannevaled Date: Mon, 17 Jun 2024 17:05:42 +0200 Subject: [PATCH] +rucio.cern.ch/rucio-client (#6432) * +rucio.cern.ch/rucio-client * +rucio.cern.ch/rucio-client * +rucio.cern.ch/rucio-client fix tests * fix tests * fix spacing --------- Co-authored-by: Jacob Heider --- .../rucio.cern.ch/rucio-client/package.yml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 projects/rucio.cern.ch/rucio-client/package.yml diff --git a/projects/rucio.cern.ch/rucio-client/package.yml b/projects/rucio.cern.ch/rucio-client/package.yml new file mode 100644 index 00000000..6bfe2039 --- /dev/null +++ b/projects/rucio.cern.ch/rucio-client/package.yml @@ -0,0 +1,28 @@ +distributable: + url: https://github.com/rucio/rucio/archive/refs/tags/{{version.tag}}.tar.gz + strip-components: 1 +display-name: rucio-client + +versions: + github: rucio/rucio + +dependencies: + pkgx.sh: ^1 +build: + dependencies: + gnu.org/bash: ^5 + python.org: ">=3.9" + script: + - bkpyvenv stage {{prefix}} {{version}} + - ${{prefix}}/venv/bin/pip install setuptools + - ./tools/build_sdist.sh clients + - ${{prefix}}/venv/bin/pip install . + - bkpyvenv seal {{prefix}} rucio rucio-admin + +provides: + - bin/rucio + - bin/rucio-admin + +test: + - test "$(rucio --version|cut -d' ' -f 2)" = {{version}} + - test "$(rucio-admin --version|cut -d' ' -f 2)" = {{version}}