Update package version to 3.2.3_1
This commit is contained in:
+3
-6
@@ -6,10 +6,7 @@ REPO="cython/cython"
|
|||||||
# Get tag name using Github Rest API
|
# Get tag name using Github Rest API
|
||||||
TAG_NAME=$(curl -s -L -H "X-GitHub-Api-Version: 2022-11-28" -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/"$REPO"/releases/latest | jq -r '.tag_name')
|
TAG_NAME=$(curl -s -L -H "X-GitHub-Api-Version: 2022-11-28" -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/"$REPO"/releases/latest | jq -r '.tag_name')
|
||||||
|
|
||||||
# Get version number from tag name
|
# Replace dash with underscore
|
||||||
#VERSION=$(echo "$TAG_NAME" | rev | cut -d'-' -f1 | rev)
|
VERSION=${TAG_NAME//-/_}
|
||||||
|
|
||||||
# Trim 'v' character in VERSION variable
|
echo "$VERSION"
|
||||||
#VERSION=$(echo "$VERSION" | tr -d 'v')
|
|
||||||
|
|
||||||
echo "$TAG_NAME"
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
name: python-cython
|
name: python-cython
|
||||||
description: Optimising static compiler for the Python programming language and the extended Cython programming language
|
description: Optimising static compiler for the Python programming language and the extended Cython programming language
|
||||||
version: 3.2.2
|
version: 3.2.3_1
|
||||||
revision: 1
|
revision: 1
|
||||||
url: https://cython.org/
|
url: https://cython.org/
|
||||||
license: Apache-2.0
|
license: Apache-2.0
|
||||||
@@ -12,7 +12,7 @@ depends:
|
|||||||
make_depends:
|
make_depends:
|
||||||
- python-setuptools
|
- python-setuptools
|
||||||
downloads:
|
downloads:
|
||||||
- url: https://github.com/cython/cython/archive/refs/tags/${BPM_PKG_VERSION}.tar.gz
|
- url: https://github.com/cython/cython/archive/refs/tags/${BPM_PKG_VERSION/_/-}.tar.gz
|
||||||
extract_to: ${BPM_SOURCE}
|
extract_to: ${BPM_SOURCE}
|
||||||
extract_strip_components: 1
|
extract_strip_components: 1
|
||||||
checksum: fc933aa9dd6e04ad36b5ff3fb400f2060a12825066f54fd62adc95b356a9c062
|
checksum: 52c7ef3ceeed9ffdf5297bfc7ebac0090b2d247ade07b3276bdbc966abf81d58
|
||||||
|
|||||||
Reference in New Issue
Block a user