Skip to content

Commit 70c9f62

Browse files
committed
Fix wheel extension in verify_checksums.sh
1 parent 8112738 commit 70c9f62

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

dist/verify_checksums.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ TMP_DIR=$(mktemp -d)
3030
# TODO: Use json endpoint + jq to parse out the url
3131
# https://pypi.org/pypi/apache-libcloud/3.4.0/json
3232
EXTENSIONS[0]=".tar.gz"
33-
EXTENSIONS[1]="-py3-none-any.whl"
33+
EXTENSIONS[1]="-py2.py3-none-any.whl"
3434

3535
APACHE_MIRROR_URL="http://www.apache.org/dist/libcloud"
3636
PYPI_MIRROR_URL_SOURCE="https://pypi.python.org/packages/source/a/apache-libcloud"
@@ -69,15 +69,15 @@ do
6969
extension=${EXTENSIONS[$i]}
7070
file_name="${VERSION}${extension}"
7171

72-
if [ "${extension}" = "-py3-none-any.whl" ]; then
72+
if [ "${extension}" = "-py2.py3-none-any.whl" ]; then
7373
# shellcheck disable=SC2001
7474
file_name=$(echo "${file_name}" | sed "s/apache-libcloud/apache_libcloud/g")
7575
fi
7676

7777
apache_url="${APACHE_MIRROR_URL}/${file_name}"
7878
pypi_url="${PYPI_MIRROR_URL}/${file_name}"
7979

80-
if [ "${extension}" = "-py3-none-any.whl" ]; then
80+
if [ "${extension}" = "-py2.py3-none-any.whl" ]; then
8181
pypi_url="${PYPI_MIRROR_URL_WHEEL}/${file_name}"
8282
else
8383
pypi_url="${PYPI_MIRROR_URL_SOURCE}/${file_name}"

0 commit comments

Comments
 (0)