From e51ad362b67cafdc2d6daca8be822ceaeebc1060 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sat, 15 Nov 2025 16:30:49 +0200 Subject: [PATCH] Update package version to 7.1.2 --- pkg.info | 20 ++++++++++++++++---- source.sh | 10 ---------- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/pkg.info b/pkg.info index b8ca51b..48b897b 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,22 @@ name: mercurial description: Free, distributed source control management tool -version: 7.1.1 +version: 7.1.2 +revision: 1 url: https://www.mercurial-scm.org/ license: GPL2-or-later architecture: any -depends: ["python3"] -make_depends: ["python-build","python-installer","python-setuptools-scm","python-wheel"] -keep: ["etc/mercurial/hgrc"] type: source +keep: + - etc/mercurial/hgrc +depends: + - python3 +make_depends: + - python-build + - python-installer + - python-setuptools-scm + - python-wheel +downloads: + - url: https://www.mercurial-scm.org/release/mercurial-${BPM_PKG_VERSION}.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: ce27b9a4767cf2ea496b51468bae512fa6a6eaf0891e49f8961dc694b4dc81ca diff --git a/source.sh b/source.sh index 0e320b6..7e5d73e 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://www.mercurial-scm.org/release/mercurial-${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() {