From a56c8e4c7e8b0f9c76340a89a8aae5a386157b08 Mon Sep 17 00:00:00 2001 From: Guoyi Zhang Date: Thu, 6 Feb 2025 16:16:33 +1100 Subject: [PATCH] python-multipledispatch: fix the updpkgsums --- BioArchLinux/python-custom_inherit/PKGBUILD | 2 +- BioArchLinux/python-custom_inherit/lilac.yaml | 5 +++++ BioArchLinux/python-multipledispatch/lilac.yaml | 5 +++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/BioArchLinux/python-custom_inherit/PKGBUILD b/BioArchLinux/python-custom_inherit/PKGBUILD index f6f9913af1..28f4450d1a 100644 --- a/BioArchLinux/python-custom_inherit/PKGBUILD +++ b/BioArchLinux/python-custom_inherit/PKGBUILD @@ -11,7 +11,7 @@ depends=('python') makedepends=('python-setuptools') #source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") source=("https://github.com/rsokl/custom_inherit/archive/refs/tags/v${pkgver}.tar.gz") -sha256sums=('7052eb337bcce83551815264391cc4efc2bf70b295a3c52aba64f1ab57c3a8a2') +sha256sums=('ee1968bf4b1d22310e6a76a58ad9b0c99876d9bf9239b3b99c7e2aff857e9e68') build() { cd "$srcdir/$_name-$pkgver" diff --git a/BioArchLinux/python-custom_inherit/lilac.yaml b/BioArchLinux/python-custom_inherit/lilac.yaml index 5b8a1c75e5..cde554efcf 100644 --- a/BioArchLinux/python-custom_inherit/lilac.yaml +++ b/BioArchLinux/python-custom_inherit/lilac.yaml @@ -2,6 +2,11 @@ build_prefix: extra-x86_64 maintainers: - github: starsareintherose email: kuoi@bioarchlinux.org +pre_build_script: | + update_pkgver_and_pkgrel(_G.newver.lstrip('v')) + run_cmd(['updpkgsums']) +post_build_script: | + git_pkgbuild_commit() update_on: - source: github github: rsokl/custom_inherit diff --git a/BioArchLinux/python-multipledispatch/lilac.yaml b/BioArchLinux/python-multipledispatch/lilac.yaml index 822f9f014d..94633c19fe 100644 --- a/BioArchLinux/python-multipledispatch/lilac.yaml +++ b/BioArchLinux/python-multipledispatch/lilac.yaml @@ -2,6 +2,11 @@ build_prefix: extra-x86_64 maintainers: - github: starsareintherose email: kuoi@bioarchlinux.org +pre_build_script: | + update_pkgver_and_pkgrel(_G.newver.lstrip('v')) + run_cmd(['updpkgsums']) +post_build_script: | + git_pkgbuild_commit() update_on: - source: github github: mrocklin/multipledispatch