Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions py3-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,22 @@ update:
identifier: pypa/build
use-tag: true
strip-suffix: .post1

test:
environment:
contents:
packages:
- busybox
pipeline:
- runs: |
LIBRARY="build"
IMPORT_STATEMENT="import build"

if ! python -c "$IMPORT_STATEMENT"; then
echo "Failed to import library '$LIBRARY'."
python -c "$IMPORT_STATEMENT" 2>&1
exit 1
else
echo "Library '$LIBRARY' is installed and can be imported successfully."
exit 0
fi
19 changes: 19 additions & 0 deletions py3-cachecontrol.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,22 @@ update:
use-tag: true
tag-filter: v
strip-prefix: v

test:
environment:
contents:
packages:
- busybox
pipeline:
- runs: |
LIBRARY="cachecontrol"
IMPORT_STATEMENT="import cachecontrol"

if ! python -c "$IMPORT_STATEMENT"; then
echo "Failed to import library '$LIBRARY'."
python -c "$IMPORT_STATEMENT" 2>&1
exit 1
else
echo "Library '$LIBRARY' is installed and can be imported successfully."
exit 0
fi
19 changes: 19 additions & 0 deletions py3-cachetools.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,22 @@ update:
enabled: true
github:
identifier: tkem/cachetools

test:
environment:
contents:
packages:
- busybox
pipeline:
- runs: |
LIBRARY="cachetools"
IMPORT_STATEMENT="from cachetools import TTLCache"

if ! python -c "$IMPORT_STATEMENT"; then
echo "Failed to import library '$LIBRARY'."
python -c "$IMPORT_STATEMENT" 2>&1
exit 1
else
echo "Library '$LIBRARY' is installed and can be imported successfully."
exit 0
fi
19 changes: 19 additions & 0 deletions py3-cairo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,22 @@ update:
github:
identifier: pygobject/pycairo
strip-prefix: v

test:
environment:
contents:
packages:
- busybox
pipeline:
- runs: |
LIBRARY="cairo"
IMPORT_STATEMENT="import cairo"

if ! python -c "$IMPORT_STATEMENT"; then
echo "Failed to import library '$LIBRARY'."
python -c "$IMPORT_STATEMENT" 2>&1
exit 1
else
echo "Library '$LIBRARY' is installed and can be imported successfully."
exit 0
fi
19 changes: 19 additions & 0 deletions py3-canonicaljson.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,22 @@ update:
identifier: matrix-org/python-canonicaljson
strip-prefix: v
use-tag: true

test:
environment:
contents:
packages:
- busybox
pipeline:
- runs: |
LIBRARY="canonicaljson"
IMPORT_STATEMENT="import canonicaljson"

if ! python -c "$IMPORT_STATEMENT"; then
echo "Failed to import library '$LIBRARY'."
python -c "$IMPORT_STATEMENT" 2>&1
exit 1
else
echo "Library '$LIBRARY' is installed and can be imported successfully."
exit 0
fi
21 changes: 20 additions & 1 deletion py3-certifi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package:
name: py3-certifi
version: 2024.02.02
epoch: 1
description: "Python3 package for providing Mozilla's CA Bundle"
description: Python3 package for providing Mozilla's CA Bundle
copyright:
- license: MPL-2.0
dependencies:
Expand Down Expand Up @@ -59,3 +59,22 @@ update:
identifier: certifi/python-certifi
strip-prefix: v
use-tag: true

test:
environment:
contents:
packages:
- busybox
pipeline:
- runs: |
LIBRARY="certifi"
IMPORT_STATEMENT="import certifi"

if ! python -c "$IMPORT_STATEMENT"; then
echo "Failed to import library '$LIBRARY'."
python -c "$IMPORT_STATEMENT" 2>&1
exit 1
else
echo "Library '$LIBRARY' is installed and can be imported successfully."
exit 0
fi
19 changes: 19 additions & 0 deletions py3-cffi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,22 @@ update:
enabled: true
release-monitor:
identifier: 5536

test:
environment:
contents:
packages:
- busybox
pipeline:
- runs: |
LIBRARY="cffi"
IMPORT_STATEMENT="import cffi"

if ! python -c "$IMPORT_STATEMENT"; then
echo "Failed to import library '$LIBRARY'."
python -c "$IMPORT_STATEMENT" 2>&1
exit 1
else
echo "Library '$LIBRARY' is installed and can be imported successfully."
exit 0
fi