From 56bdd7092672fe85b6551460b03555677ed1a19b Mon Sep 17 00:00:00 2001 From: Komeil Parseh Date: Tue, 1 Jul 2025 23:07:48 +0330 Subject: [PATCH] New package: python3-unearth-0.17.5 --- srcpkgs/python3-unearth/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/python3-unearth/template diff --git a/srcpkgs/python3-unearth/template b/srcpkgs/python3-unearth/template new file mode 100644 index 00000000000..589a6b90c58 --- /dev/null +++ b/srcpkgs/python3-unearth/template @@ -0,0 +1,22 @@ +# Template file for 'python3-unearth' +pkgname=python3-unearth +version=0.17.5 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3 python3-build python3-pdm-backend" +depends="python3-httpx python3-packaging python3-requests" +short_desc="Utility to fetch and download python packages" +maintainer="Komeil Parseh " +license="MIT" +homepage="https://github.com/frostming/unearth" +distfiles="https://github.com/frostming/unearth/archive/refs/tags/${version}.tar.gz" +checksum=306a4b4722988866217e0315fdc3f7716abab3b112cc7126a52f1cc8015b96cd + +pre_build() { + # Specify fallback version to avoid SCM detection issues + export PDM_BUILD_SCM_VERSION="${version}" +} + +post_install() { + vlicense LICENSE +}