diff --git a/packages.txt b/packages.txt index e890b8739d1..4f971e89390 100644 --- a/packages.txt +++ b/packages.txt @@ -104,6 +104,7 @@ py3-pygments py3-magic py3-babel py3-certifi +py3-influxdb-client libedit tiff pcre2 diff --git a/py3-influxdb-client.yaml b/py3-influxdb-client.yaml new file mode 100644 index 00000000000..ea17852842a --- /dev/null +++ b/py3-influxdb-client.yaml @@ -0,0 +1,45 @@ +package: + name: py3-influxdb-client + version: 1.36.1 + epoch: 0 + description: "InfluxDB 2.0 python client" + copyright: + - license: MIT + dependencies: + runtime: + - python3 + +environment: + contents: + packages: + - wolfi-base + - busybox + - ca-certificates-bundle + - build-base + - py3-pip + - py3-certifi + - py3-dateutil + - py3.11-setuptools + - py3-urllib3 + +pipeline: + - uses: git-checkout + with: + repository: https://github.com/influxdata/influxdb-client-python.git + tag: v${{package.version}} + expected-commit: b2e82d197b2a041d93fd7aee206c1700916dd963 + + - name: Python Build + runs: python setup.py build + + - name: Python Install + runs: python setup.py install --prefix=/usr --root="${{targets.destdir}}" + + - uses: strip + +update: + enabled: true + github: + identifier: influxdata/influxdb-client-python + strip-prefix: v + use-tag: true