diff --git a/srcpkgs/duckdb/patches/fix-pythonpkg-build.patch b/srcpkgs/duckdb/patches/fix-pythonpkg-build.patch new file mode 100644 index 00000000000..6bdd894a535 --- /dev/null +++ b/srcpkgs/duckdb/patches/fix-pythonpkg-build.patch @@ -0,0 +1,11 @@ +--- a/tools/pythonpkg/pyproject.toml ++++ b/tools/pythonpkg/pyproject.toml +@@ -1,7 +1,7 @@ + [build-system] + requires = [ + "setuptools>=60", +- "setuptools_scm>=6.4,<8.0", ++ "setuptools_scm>=6.4", + "pybind11>=2.6.0", + ] + build-backend = "setuptools.build_meta" diff --git a/srcpkgs/duckdb/template b/srcpkgs/duckdb/template index 03a57cc165f..aac7239881b 100644 --- a/srcpkgs/duckdb/template +++ b/srcpkgs/duckdb/template @@ -1,6 +1,6 @@ # Template file for 'duckdb' pkgname=duckdb -version=1.2.2 +version=1.3.2 revision=1 archs="x86_64* aarch64*" # 32-bit FTBFS build_style=cmake @@ -16,7 +16,7 @@ license="MIT" homepage="https://duckdb.org" changelog="https://github.com/duckdb/duckdb/releases" distfiles="https://github.com/duckdb/duckdb/archive/refs/tags/v${version}.tar.gz" -checksum=99387810537dd3f90454e5620ab624405d7f2e0d997aa1e3999316b7969592ed +checksum=a10b388e516f6d9cc5d571fa55f14c936b73a2ca17400a76aae6c3f1cc2e20cb case "${XBPS_TARGET_MACHINE}" in x86_64*) configure_args+=" -DDUCKDB_EXPLICIT_PLATFORM=linux_amd64" ;; @@ -24,7 +24,7 @@ case "${XBPS_TARGET_MACHINE}" in esac post_build() { - SETUPTOOLS_SCM_PRETEND_VERSION="${version}" python3 -m build \ + OVERRIDE_GIT_DESCRIBE="v${version}" python3 -m build \ --no-isolation --wheel tools/pythonpkg }