From f36b5314b07c8e9eff7398c3110e9e308c350ad6 Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Fri, 21 Jun 2024 17:15:08 +0200 Subject: [PATCH 1/2] Build pydantic-core --- recipes/pydantic/env.sh | 4 ++++ recipes/pydantic/meta.yaml | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 recipes/pydantic/env.sh create mode 100644 recipes/pydantic/meta.yaml diff --git a/recipes/pydantic/env.sh b/recipes/pydantic/env.sh new file mode 100644 index 0000000..50823c6 --- /dev/null +++ b/recipes/pydantic/env.sh @@ -0,0 +1,4 @@ +export CIBW_SKIP='*-musllinux_* *-macosx_*' +export CIBW_ARCHS_LINUX='auto64' +export CIBW_BEFORE_ALL_LINUX='curl https://sh.rustup.rs -sSf | sh -s -- -y' +export CIBW_ENVIRONMENT_LINUX='PATH=$PATH:$HOME/.cargo/bin' diff --git a/recipes/pydantic/meta.yaml b/recipes/pydantic/meta.yaml new file mode 100644 index 0000000..7aee05a --- /dev/null +++ b/recipes/pydantic/meta.yaml @@ -0,0 +1,4 @@ +--- +name: pydantic-core +version: 2.19.0 + From bf5e15522d7a6a21cd344d714ace8070ccfc44f9 Mon Sep 17 00:00:00 2001 From: Marius van den Beek Date: Fri, 21 Jun 2024 17:26:21 +0200 Subject: [PATCH 2/2] Drop extra newline --- recipes/pydantic/meta.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/recipes/pydantic/meta.yaml b/recipes/pydantic/meta.yaml index 7aee05a..d955bcc 100644 --- a/recipes/pydantic/meta.yaml +++ b/recipes/pydantic/meta.yaml @@ -1,4 +1,3 @@ --- name: pydantic-core version: 2.19.0 -