Skip to content

Commit

Permalink
py3-influxdb-client
Browse files Browse the repository at this point in the history
  • Loading branch information
smoser committed Oct 26, 2024
1 parent 2ee3621 commit e96c6b1
Showing 1 changed file with 57 additions and 13 deletions.
70 changes: 57 additions & 13 deletions py3-influxdb-client.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,29 @@
package:
name: py3-influxdb-client
version: 1.47.0
epoch: 0
description: "InfluxDB 2.0 python client"
epoch: 1
description: InfluxDB 2.0 python client
copyright:
- license: MIT
dependencies:
provider-priority: 0

vars:
pypi-package: influxdb-client
import: influxdb_client

data:
- name: py-versions
items:
3.10: '310'
3.11: '311'
3.12: '312'
3.13: '300'

environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- py3-certifi
- py3-dateutil
- py3-pip
- py3-setuptools
- py3-urllib3
- wolfi-base
- py3-supported-build-base

pipeline:
- uses: git-checkout
Expand All @@ -26,9 +32,47 @@ pipeline:
tag: v${{package.version}}
expected-commit: 06b71146b20d2f3e7d40eac4fe5d2d81e4b02c62

- uses: py/pip-build-install
subpackages:
- range: py-versions
name: py${{range.key}}-${{vars.pypi-package}}
description: python${{range.key}} version of ${{vars.pypi-package}}
dependencies:
provider-priority: ${{range.value}}
provides:
- py3-${{vars.pypi-package}}
runtime:
- py${{range.key}}-certifi
- py${{range.key}}-dateutil
- py${{range.key}}-reactivex
- py${{range.key}}-urllib3
pipeline:
- uses: py/pip-build-install
with:
python: python${{range.key}}
- uses: strip
test:
pipeline:
- uses: python/import
with:
python: python${{range.key}}
imports: |
import ${{vars.import}}
- name: py3-supported-${{vars.pypi-package}}
description: meta package providing ${{vars.pypi-package}} for supported python versions.
dependencies:
runtime:
- py3.10-${{vars.pypi-package}}
- py3.11-${{vars.pypi-package}}
- py3.12-${{vars.pypi-package}}
- py3.13-${{vars.pypi-package}}

- uses: strip
test:
pipeline:
- uses: python/import
with:
imports: |
import ${{vars.import}}
update:
enabled: true
Expand Down

0 comments on commit e96c6b1

Please sign in to comment.