| | |
| | | exit 1 |
| | | fi |
| | | |
| | | # Get download url |
| | | DOWNLOAD_URL=$(printf "%s" "$PYPI_PROJECT_RELEASE" | /usr/bin/jq -r '.urls[]|select(.packagetype=="sdist")|.url') |
| | | if (($? != 0)) || [[ -z "$DOWNLOAD_URL" || "$DOWNLOAD_URL" == "null" ]] ; then |
| | | printf "WARNING: Failed to get download url for project %s, version %s from pypi\n" "$PROJECT" "$VERSION" >&2 |
| | | DOWNLOAD_URL="TODO" |
| | | fi |
| | | |
| | | |
| | | # Prepare the directory |
| | | DIR="$DIR/$PROJECT" |
| | |
| | | COMPONENT_REVISION = $((PREV_REV + 1)) |
| | | COMPONENT_SUMMARY = $PROJECT - TODO |
| | | COMPONENT_PROJECT_URL = $HOMEPAGE |
| | | COMPONENT_ARCHIVE_URL = \\ |
| | | $DOWNLOAD_URL |
| | | COMPONENT_ARCHIVE_HASH = \\ |
| | | sha256:TODO |
| | | COMPONENT_LICENSE = license:TODO |