Compare commits
2
Commits
b6adae1747
...
5d39a484a0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5d39a484a0
|
||
|
|
1c3f22bcfa
|
@@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Github repository
|
||||||
|
REPO="python/cpython"
|
||||||
|
|
||||||
|
# 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"/tags | jq -r '.[].name' | grep -v -E 'a|b|rc' | head -n1)
|
||||||
|
|
||||||
|
# Trim 'v' character in TAG_NAME variable
|
||||||
|
VERSION=$(echo "$TAG_NAME" | tr -d 'v')
|
||||||
|
|
||||||
|
echo "$VERSION"
|
||||||
@@ -1,9 +1,11 @@
|
|||||||
name: python3
|
name: python3
|
||||||
description: The Python3 interpreter
|
description: The Python3 interpreter
|
||||||
version: 3.12.12
|
version: 3.12.12
|
||||||
revision: 1
|
revision: 2
|
||||||
url: https://www.python.org/
|
url: https://www.python.org/
|
||||||
license: PSF-2.0
|
license: PSF-2.0
|
||||||
|
maintainers:
|
||||||
|
- [email protected]
|
||||||
architecture: any
|
architecture: any
|
||||||
type: source
|
type: source
|
||||||
depends:
|
depends:
|
||||||
@@ -19,15 +21,16 @@ depends:
|
|||||||
- tzdata
|
- tzdata
|
||||||
- zlib
|
- zlib
|
||||||
optional_depends:
|
optional_depends:
|
||||||
- python-pip
|
- python-pip:Python module manager
|
||||||
- python-setuptools
|
- sqlite:Default database integration
|
||||||
- sqlite
|
- tk:Required for the tkinter module
|
||||||
- xz-utils
|
- xz-utils:Required for the lzma module
|
||||||
make_depends:
|
make_depends:
|
||||||
- bluez
|
- bluez
|
||||||
- gdb
|
- gdb
|
||||||
- llvm
|
- llvm
|
||||||
- sqlite
|
- sqlite
|
||||||
|
- tk
|
||||||
downloads:
|
downloads:
|
||||||
- url: https://www.python.org/ftp/python/${BPM_PKG_VERSION}/Python-${BPM_PKG_VERSION}.tar.xz
|
- url: https://www.python.org/ftp/python/${BPM_PKG_VERSION}/Python-${BPM_PKG_VERSION}.tar.xz
|
||||||
extract_to: ${BPM_SOURCE}
|
extract_to: ${BPM_SOURCE}
|
||||||
|
|||||||
Reference in New Issue
Block a user