Skip to content

Commit

Permalink
add py3-robotframework package (#29331)
Browse files Browse the repository at this point in the history
required deps for [hadoop
package](#29037).

ref:
https://github.com/apache/hadoop/blob/5bb6f450340fa3deb931571d08d42a3f358af8bf/Dockerfile#L33

---------

Signed-off-by: kranurag7 <[email protected]>
  • Loading branch information
kranurag7 authored Sep 26, 2024
1 parent cf5e069 commit 97603d7
Showing 1 changed file with 72 additions and 0 deletions.
72 changes: 72 additions & 0 deletions py3-robotframework.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# Generated from https://pypi.org/project/robotframework/
package:
name: py3-robotframework
version: "7.1"
epoch: 0
description: Generic automation framework for acceptance testing and robotic process automation (RPA)
copyright:
- license: Apache-2.0
dependencies:
provider-priority: 0

vars:
pypi-package: robotframework

data:
- name: py-versions
items:
3.10: "310"
3.11: "311"
3.12: "312"

environment:
contents:
packages:
- busybox # build requires sh and mktemp
- ca-certificates-bundle
- py3-supported-pip

pipeline:
- uses: git-checkout
with:
expected-commit: 8ce9a227bf31bf0d723e540b31e1d4ef9128d1b8
repository: https://github.com/robotframework/robotframework
tag: v${{package.version}}

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}}
pipeline:
- uses: py/pip-build-install
with:
python: python${{range.key}}
- uses: strip
test:
pipeline:
- uses: python/import
with:
python: python${{range.key}}
import: robot

update:
enabled: true
github:
identifier: robotframework/robotframework
strip-prefix: v

test:
pipeline:
- uses: python/import
with:
import: robot
- name: version check
runs: |
robot --version 2>&1 | grep ${{package.version}}
rebot --version 2>&1 | grep ${{package.version}}
libdoc --help 2>&1 | grep Libdoc
# all three commands above return 251 status code by default.

0 comments on commit 97603d7

Please sign in to comment.