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-distlib.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,22 @@ update:
github:
identifier: pypa/distlib
use-tag: true

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

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-distro.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package:
name: py3-distro
version: 1.9.0
epoch: 0
description: "A Linux OS platform information API"
description: A Linux OS platform information API
copyright:
- license: Apache-2.0
dependencies:
Expand Down Expand Up @@ -42,3 +42,22 @@ update:
enabled: true
release-monitor:
identifier: 12202

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

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-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,22 @@ update:
manual: false
github:
identifier: docker/docker-py

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

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-docopt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,22 @@ update:
enabled: true
release-monitor:
identifier: 8436

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

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-docutils.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package:
name: py3-docutils
version: 0.20.1
epoch: 3
description: "Documentation Utilities for Python3"
description: Documentation Utilities for Python3
copyright:
- license: BSD-2-Clause AND GPL-3.0-or-later AND Python-2.0
dependencies:
Expand Down Expand Up @@ -43,3 +43,22 @@ update:
enabled: true
release-monitor:
identifier: 3849

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

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-dulwich.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,22 @@ update:
identifier: jelmer/dulwich
tag-filter: dulwich-
strip-prefix: dulwich-

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

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-escapism.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,22 @@ update:
github:
identifier: minrk/escapism
use-tag: true

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

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-exceptiongroup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package:
epoch: 0
description: Backport of PEP 654 (exception groups)
copyright:
- license: "MIT"
- license: MIT
dependencies:
runtime:
- python3
Expand Down Expand Up @@ -41,3 +41,22 @@ update:
github:
identifier: agronholm/exceptiongroup
use-tag: true

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

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