Marcel Telka
2022-10-03 a012bf6ba2ffb768c1304afa536b18c00cca78c0
tools/python-integrate-project: defer to default COMPONENT_ARCHIVE_URL

1 files modified
9 ■■■■■ changed files
tools/python-integrate-project 9 ●●●●● patch | view | raw | blame | history
tools/python-integrate-project
@@ -88,13 +88,6 @@
    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"
@@ -160,8 +153,6 @@
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