Downgrade package version to 6.1.3p1
This commit is contained in:
3 files changed
+13
-4
No files matched your search
+4
-1
@@ -4,9 +4,12 @@
|
||||
REPO="lxml/lxml"
|
||||
|
||||
# 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 | jq -r '.[].tag_name' | grep -v -E 'a|b' | head -n1)
|
||||
|
||||
# Trim prefix
|
||||
VERSION=${TAG_NAME//lxml-/}
|
||||
|
||||
# Replace '-' with 'p'
|
||||
VERSION=${VERSION//-/p}
|
||||
|
||||
echo "$VERSION"
|
||||
@@ -1,6 +1,6 @@
|
||||
name: python-lxml
|
||||
description: XML and HTML with Python
|
||||
version: 7.0.0b1-1
|
||||
version: 6.1.3p1
|
||||
revision: 1
|
||||
url: https://lxml.de/
|
||||
license: BSD-3-Clause, custom
|
||||
@@ -20,7 +20,7 @@ make_depends:
|
||||
- python-setuptools
|
||||
- python-wheel
|
||||
downloads:
|
||||
- url: https://github.com/lxml/lxml/archive/refs/tags/lxml-${BPM_PKG_VERSION}.tar.gz
|
||||
- url: https://github.com/lxml/lxml/archive/refs/tags/lxml-${BPM_PKG_VERSION//p/-}.tar.gz
|
||||
extract_to: ${BPM_SOURCE}
|
||||
extract_strip_components: 1
|
||||
checksum: cb6eb4c1048298676263bb2c4a73abd560f33c5a584537375decc3dd6b86420f
|
||||
checksum: 857147ad8a1e989becff2c653ffbd7cf825b5584b952e827accc4d16b4413e3a
|
||||
@@ -2,6 +2,12 @@
|
||||
# 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
|
||||
|
||||
# The prepare function is executed in the root of the temp directory
|
||||
# This function is used for putting downloaded files to the correct location or applying patches
|
||||
prepare() {
|
||||
sed -i 's/Cython>=3.2.9,<3.3/Cython>=3.2.9/g' "$BPM_SOURCE"/{pyproject.toml,requirements.txt}
|
||||
}
|
||||
|
||||
# The build function is executed in the source directory
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
|
||||
Reference in new issue
Block a user