From 0404a247928e72a344617cc03054cf16485615d0 Mon Sep 17 00:00:00 2001 From: Komeil Parseh Date: Tue, 1 Jul 2025 23:04:50 +0330 Subject: [PATCH] New package: python3-findpython-0.6.3 --- srcpkgs/python3-findpython/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/python3-findpython/template diff --git a/srcpkgs/python3-findpython/template b/srcpkgs/python3-findpython/template new file mode 100644 index 00000000000..2421d9b30b3 --- /dev/null +++ b/srcpkgs/python3-findpython/template @@ -0,0 +1,24 @@ +# Template file for 'python3-findpython' +pkgname=python3-findpython +version=0.6.3 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3 python3-build python3-pdm-backend" +depends="python3-packaging" +checkdepends="python3-pytest" +short_desc="Utility to find python versions on your system" +maintainer="Komeil Parseh " +license="MIT" +homepage="https://github.com/frostming/findpython" +changelog="https://raw.githubusercontent.com/pdm-project/pdm/main/CHANGELOG.md" +distfiles="https://github.com/frostming/findpython/archive/refs/tags/${version}.tar.gz" +checksum=6da4a3f00326db2765e60a61bcd5f7941836cdadc3a4b0e60b860da9f8b3fbaa + +pre_build() { + # Specify fallback version to avoid SCM detection issues + export PDM_BUILD_SCM_VERSION="${version}" +} + +post_install() { + vlicense LICENSE +}