From 9708fbbf58d650ccf1fa822c1c50b3005708332c Mon Sep 17 00:00:00 2001 From: EnumDev Date: Wed, 6 May 2026 12:11:45 +0300 Subject: [PATCH] Rebuild with python 3.14 --- pkg.info | 10 +++++++--- source.sh | 12 +----------- 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/pkg.info b/pkg.info index ac08bc8..df73c03 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: python-wheel description: Python wheel packaging standard implementation version: 0.47.0 -revision: 1 +revision: 2 url: https://pypi.org/project/wheel/ license: MIT maintainers: @@ -10,7 +10,11 @@ architecture: any output_architecture: any type: source depends: - - python3 + - python3=3.14.* make_depends: - - python3 - python-flit-core +downloads: + - url: https://pypi.org/packages/source/w/wheel/wheel-${BPM_PKG_VERSION}.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: cc72bd1009ba0cf63922e28f94d9d83b920aa2bb28f798a31d0691b02fa3c9b3 diff --git a/source.sh b/source.sh index c5e9736..97f95b2 100644 --- a/source.sh +++ b/source.sh @@ -2,16 +2,6 @@ # 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 -DOWNLOAD="https://pypi.org/packages/source/w/wheel/wheel-${BPM_PKG_VERSION}.tar.gz" -FILENAME="${DOWNLOAD##*/}" - -# The prepare function is executed in the root of the temp directory -# This function is used for downloading files and putting them into the correct location -prepare() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" -} - # The build function is executed in the source directory # This function is used to compile the source code build() { @@ -24,5 +14,5 @@ package() { python3 setup.py install --root="$BPM_OUTPUT" --prefix=/usr # Install package license - install -Dm644 LICENSE.txt "$BPM_OUTPUT"/usr/share/licenses/python-wheel/LICENSE.txt + install -Dm644 "$BPM_SOURCE"/LICENSE.txt "$BPM_OUTPUT"/usr/share/licenses/python-wheel/LICENSE.txt }