Compare commits
9
Commits
b6adae1747
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
708d6902b9
|
||
|
|
534ccdbe68
|
||
|
|
673eccd436
|
||
|
|
a90eef25a9
|
||
|
|
3a5a6a5353
|
||
|
|
509dbc4346
|
||
|
|
8a62039343
|
||
|
|
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"
|
||||
+9
-6
@@ -1,9 +1,11 @@
|
||||
name: python3
|
||||
description: The Python3 interpreter
|
||||
version: 3.12.12
|
||||
version: 3.14.7
|
||||
revision: 1
|
||||
url: https://www.python.org/
|
||||
license: PSF-2.0
|
||||
maintainers:
|
||||
- [email protected]
|
||||
architecture: any
|
||||
type: source
|
||||
depends:
|
||||
@@ -19,20 +21,21 @@ 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}
|
||||
extract_strip_components: 1
|
||||
checksum: fb85a13414b028c49ba18bbd523c2d055a30b56b18b92ce454ea2c51edc656c4
|
||||
checksum: 3b48dac8fb59f62eaa67ac83c1eb12bda1b7a08406dd286e252c11a66be27f81
|
||||
split_packages:
|
||||
- name: python3
|
||||
- name: python3-tests
|
||||
@@ -1,4 +1,4 @@
|
||||
# This is the source.sh script. It is executed by BPM in a temporary directory when compiling a source package
|
||||
# This is the recipe.sh script. It is executed by BPM in a temporary directory when compiling a source package
|
||||
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
||||
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||
|
||||
Reference in New Issue
Block a user