Compare commits

..
2 Commits
Author SHA1 Message Date
EnumDev 5d39a484a0 Rebuild with tk and update optional dependencies 2026-02-25 09:19:34 +02:00
EnumDev 1c3f22bcfa Add check-version.sh script 2026-02-25 09:09:58 +02:00
2 changed files with 20 additions and 5 deletions
+12
View File
@@ -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"
+8 -5
View File
@@ -1,9 +1,11 @@
name: python3
description: The Python3 interpreter
version: 3.12.12
revision: 1
revision: 2
url: https://www.python.org/
license: PSF-2.0
maintainers:
- [email protected]
architecture: any
type: source
depends:
@@ -19,15 +21,16 @@ depends:
- tzdata
- zlib
optional_depends:
- python-pip
- python-setuptools
- sqlite
- xz-utils
- python-pip:Python module manager
- sqlite:Default database integration
- tk:Required for the tkinter module
- xz-utils:Required for the lzma module
make_depends:
- bluez
- gdb
- llvm
- sqlite
- tk
downloads:
- url: https://www.python.org/ftp/python/${BPM_PKG_VERSION}/Python-${BPM_PKG_VERSION}.tar.xz
extract_to: ${BPM_SOURCE}