diff --git a/srcpkgs/python3-dep-logic/template b/srcpkgs/python3-dep-logic/template new file mode 100644 index 00000000000..fc831330d14 --- /dev/null +++ b/srcpkgs/python3-dep-logic/template @@ -0,0 +1,19 @@ +# Template file for 'python3-dep-logic' +pkgname=python3-dep-logic +version=0.5.1 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3 python3-build python3-pdm-backend" +depends="python3-packaging" +checkdepends="python3-pytest" +short_desc="Python dependency specifications supporting logical operations" +maintainer="Komeil Parseh " +license="Apache-2.0" +homepage="https://github.com/pdm-project/dep-logic" +distfiles="https://github.com/pdm-project/dep-logic/archive/refs/tags/${version}.tar.gz" +checksum=9f6a253d7dae80c6f05bd429333066b97b9130841792870722af28003b2de852 + +pre_build() { + # Specify fallback version to avoid SCM detection issues + export PDM_BUILD_SCM_VERSION="${version}" +}