From 4cae7bbd95afeeb8eed71befd12fd24e0ff902bd Mon Sep 17 00:00:00 2001 From: Marc Kewitz Date: Fri, 6 Mar 2026 13:58:46 +0100 Subject: [PATCH 01/10] add python::asn1 v3.2.0 --- recipes/python/asn1.yaml | 17 +++++++++++++++++ tests/buildall/recipes/all.yaml | 1 + 2 files changed, 18 insertions(+) create mode 100644 recipes/python/asn1.yaml diff --git a/recipes/python/asn1.yaml b/recipes/python/asn1.yaml new file mode 100644 index 00000000..6d83a748 --- /dev/null +++ b/recipes/python/asn1.yaml @@ -0,0 +1,17 @@ +inherit: ["python3::build"] + +metaEnvironment: + PKG_VERSION: "3.2.0" + PKG_LICENSE: "MIT" + +checkoutSCM: + scm: url + url: ${GITHUB_MIRROR}/andrivet/python-asn1/archive/refs/tags/v${PKG_VERSION}.tar.gz + digestSHA256: 2d67c5e8f0c88c0612e321af84e8d598bfa51869f9a9597b8d08d355880e9d3e + stripComponents: 1 + +buildScript: | + python3Build $1 + +packageScript: | + python3PackageTgt diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index 10ace828..0ca99099 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -122,6 +122,7 @@ depends: - perl::xml-parser-tgt - python::anyio + - python::asn1 - python::build - python::cachetools - python::calver From 10acc1daaf5992e37f32bae6c68f6210cc68cdfa Mon Sep 17 00:00:00 2001 From: Marc Kewitz Date: Tue, 12 Aug 2025 14:27:34 +0000 Subject: [PATCH 02/10] add python::cffi v2.0.0 --- recipes/python/cffi.yaml | 26 ++++++++++++++++++++++++++ tests/buildall/recipes/all.yaml | 1 + 2 files changed, 27 insertions(+) create mode 100644 recipes/python/cffi.yaml diff --git a/recipes/python/cffi.yaml b/recipes/python/cffi.yaml new file mode 100644 index 00000000..99bfa6e6 --- /dev/null +++ b/recipes/python/cffi.yaml @@ -0,0 +1,26 @@ +inherit: ["python3::build", cpackage] + +metaEnvironment: + PKG_VERSION: "2.0.0" + PKG_LICENSE: "MIT-0" + +checkoutSCM: + scm: url + url: ${GITHUB_MIRROR}/python-cffi/cffi/archive/refs/tags/v${PKG_VERSION}.tar.gz + digestSHA256: e32bea840b50779a43dcaff13dcf6fa8bc29aa1b071c2cb4e27c1bd79114a202 + stripComponents: 1 + +depends: + - libs::libffi-dev + - use: [] + depends: + - libs::libffi-tgt + +buildVars: [CC] +buildScript: | + python3Build $1 + +packageScript: | + python3PackageTgt + +provideDeps: ['*-tgt'] diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index 0ca99099..966e3366 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -127,6 +127,7 @@ depends: - python::cachetools - python::calver - python::chardet + - python::cffi - python::click - python::colorama - python::construct From 39410f929e7dbcaebe7a8b6d37c5b3a2ae4c53c5 Mon Sep 17 00:00:00 2001 From: Marc Kewitz Date: Tue, 12 Aug 2025 14:29:44 +0000 Subject: [PATCH 03/10] add python::wrapt v2.1.2 --- recipes/python/wrapt.yaml | 17 +++++++++++++++++ tests/buildall/recipes/all.yaml | 1 + 2 files changed, 18 insertions(+) create mode 100644 recipes/python/wrapt.yaml diff --git a/recipes/python/wrapt.yaml b/recipes/python/wrapt.yaml new file mode 100644 index 00000000..7a23618b --- /dev/null +++ b/recipes/python/wrapt.yaml @@ -0,0 +1,17 @@ +inherit: ["python3::build"] + +metaEnvironment: + PKG_VERSION: "2.1.2" + PKG_LICENSE: "BSD-2-Clause" + +checkoutSCM: + scm: url + url: ${GITHUB_MIRROR}/GrahamDumpleton/wrapt/archive/refs/tags/${PKG_VERSION}.tar.gz + digestSHA256: 9f289d4a27cb94eaa4ecf91cdcdb2508ba38db655ba3f43e018f88e1750b8915 + stripComponents: 1 + +buildScript: | + python3Build $1 + +packageScript: | + python3PackageTgt diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index 966e3366..2b638152 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -168,6 +168,7 @@ depends: - python::typing_extensions - python::uvicorn - python::virtualenv + - python::wrapt - utils::acpica - utils::brtools From a5a57113668d663267f8afc58892da26827bb319 Mon Sep 17 00:00:00 2001 From: Marc Kewitz Date: Fri, 6 Mar 2026 14:07:45 +0100 Subject: [PATCH 04/10] add python::deprecated v1.3.1 --- recipes/python/deprecated.yaml | 22 ++++++++++++++++++++++ tests/buildall/recipes/all.yaml | 1 + 2 files changed, 23 insertions(+) create mode 100644 recipes/python/deprecated.yaml diff --git a/recipes/python/deprecated.yaml b/recipes/python/deprecated.yaml new file mode 100644 index 00000000..dd1ada78 --- /dev/null +++ b/recipes/python/deprecated.yaml @@ -0,0 +1,22 @@ +inherit: ["python3::build"] + +metaEnvironment: + PKG_VERSION: "1.3.1" + PKG_LICENSE: "MIT" + +checkoutSCM: + scm: url + url: ${GITHUB_MIRROR}/laurent-laporte-pro/deprecated/archive/refs/tags/v${PKG_VERSION}.tar.gz + digestSHA256: 5bfaa49b1edadd5599b2117baf2bf037f493eeda686d6b2c004d55e8ace6f988 + stripComponents: 1 + +depends: + - python::wrapt + +buildScript: | + python3Build $1 + +packageScript: | + python3PackageTgt + +provideDeps: ['python::*'] diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index 2b638152..4ef33d9e 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -133,6 +133,7 @@ depends: - python::construct - python::construct-dataclasses - python::cython + - python::deprecated - python::distlib - python::docutils - python::filelock From acecf2b72e6fa9193c8136805775111c1f5345c0 Mon Sep 17 00:00:00 2001 From: Marc Kewitz Date: Tue, 12 Aug 2025 14:28:59 +0000 Subject: [PATCH 05/10] add python::ecpy v1.2.5 --- recipes/python/ecpy.yaml | 17 +++++++++++++++++ tests/buildall/recipes/all.yaml | 1 + 2 files changed, 18 insertions(+) create mode 100644 recipes/python/ecpy.yaml diff --git a/recipes/python/ecpy.yaml b/recipes/python/ecpy.yaml new file mode 100644 index 00000000..3df1fa43 --- /dev/null +++ b/recipes/python/ecpy.yaml @@ -0,0 +1,17 @@ +inherit: ["python3::build"] + +metaEnvironment: + PKG_VERSION: "1.2.5" + PKG_LICENSE: "Apache-2.0" + +checkoutSCM: + scm: url + url: https://github.com/cslashm/ECPy/archive/refs/tags/${PKG_VERSION}.tar.gz + digestSHA256: 02a2e990fe4b9c51a5a2d7518439ad80e5d839c931f76fa5144c50543e6a103f + stripComponents: 1 + +buildScript: | + python3Build $1 + +packageScript: | + python3PackageTgt diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index 4ef33d9e..2d548ccf 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -136,6 +136,7 @@ depends: - python::deprecated - python::distlib - python::docutils + - python::ecpy - python::filelock - python::funcy - python::h11 From 1a8b905b2eac15603aa47ce0ad104172c499cf03 Mon Sep 17 00:00:00 2001 From: Marc Kewitz Date: Fri, 6 Mar 2026 14:22:57 +0100 Subject: [PATCH 06/10] add python::semanticversion v2.10.0 --- recipes/python/semantic-version.yaml | 17 +++++++++++++++++ tests/buildall/recipes/all.yaml | 1 + 2 files changed, 18 insertions(+) create mode 100644 recipes/python/semantic-version.yaml diff --git a/recipes/python/semantic-version.yaml b/recipes/python/semantic-version.yaml new file mode 100644 index 00000000..2d908234 --- /dev/null +++ b/recipes/python/semantic-version.yaml @@ -0,0 +1,17 @@ +inherit: ["python3::build"] + +metaEnvironment: + PKG_VERSION: "2.10.0" + PKG_LICENSE: "BSD-2-Clause" + +checkoutSCM: + scm: url + url: ${GITHUB_MIRROR}/rbarrois/python-semanticversion/archive/refs/tags/${PKG_VERSION}.tar.gz + digestSHA256: e234480908f633d2d80fdd97e87699135b2ed2fc9876b7f41d1d4a2d3262a0c4 + stripComponents: 1 + +buildScript: | + python3Build $1 + +packageScript: | + python3PackageTgt diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index 2d548ccf..78da1c86 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -160,6 +160,7 @@ depends: - python::pyproject-hooks - python::pyyaml - python::regex + - python::semantic-version - python::setuptools-scm - python::smbus3 - python::starlette From 186029d4abdaf37756a3342a894d60f02d86781b Mon Sep 17 00:00:00 2001 From: Marc Kewitz Date: Fri, 6 Mar 2026 14:26:09 +0100 Subject: [PATCH 07/10] add python::setuptools-rust v1.12.0 --- recipes/python/setuptools-rust.yaml | 22 ++++++++++++++++++++++ tests/buildall/recipes/all.yaml | 1 + 2 files changed, 23 insertions(+) create mode 100644 recipes/python/setuptools-rust.yaml diff --git a/recipes/python/setuptools-rust.yaml b/recipes/python/setuptools-rust.yaml new file mode 100644 index 00000000..be9842e9 --- /dev/null +++ b/recipes/python/setuptools-rust.yaml @@ -0,0 +1,22 @@ +inherit: ["python3::build"] + +metaEnvironment: + PKG_VERSION: "1.12.0" + PKG_LICENSE: "MIT" + +checkoutSCM: + scm: url + url: ${GITHUB_MIRROR}/PyO3/setuptools-rust/archive/refs/tags/v${PKG_VERSION}.tar.gz + digestSHA256: e6a8f4c4e3c5f0f87b192425572579b7842ea840b1bdda940e751f9d198a3f58 + stripComponents: 1 + +depends: + - python::setuptools-scm + +buildScript: | + python3Build $1 + +packageScript: | + python3PackageTgt + +provideDeps: ['python::*'] diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index 78da1c86..64f0c469 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -161,6 +161,7 @@ depends: - python::pyyaml - python::regex - python::semantic-version + - python::setuptools-rust - python::setuptools-scm - python::smbus3 - python::starlette From 437d527ac0c21b64a2b70145dddff3956a0299f7 Mon Sep 17 00:00:00 2001 From: Ralf Hubert Date: Fri, 6 Mar 2026 15:33:37 +0100 Subject: [PATCH 08/10] add python::puccinialin v0.1.8 --- recipes/python/puccinialin.yaml | 20 ++++++++++++++++++++ tests/buildall/recipes/all.yaml | 1 + 2 files changed, 21 insertions(+) create mode 100644 recipes/python/puccinialin.yaml diff --git a/recipes/python/puccinialin.yaml b/recipes/python/puccinialin.yaml new file mode 100644 index 00000000..6359b927 --- /dev/null +++ b/recipes/python/puccinialin.yaml @@ -0,0 +1,20 @@ +inherit: ["python3::build"] + +metaEnvironment: + PKG_VERSION: "0.1.8" + PKG_LICENSE: "MIT OR Apache-2.0" + +checkoutSCM: + scm: url + url: "https://files.pythonhosted.org/packages/34/7d/\ + 88810c578a1526a8a73ac07bf33fb65d68f9b9c82c37950d09159f4d1916/puccinialin-0.1.8.tar.gz" + digestSHA256: e19f6316967ae100bf3fb92d8af95e3cec11ce0de58acd2f1a0bca835403a394 + stripComponents: 1 + +buildScript: | + python3Build $1 + +packageScript: | + python3PackageTgt + +provideDeps: ['python::*'] diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index 64f0c469..6ebd1b6c 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -153,6 +153,7 @@ depends: - python::platformdirs - python::pluggy - python::psutil + - python::puccinialin - python::pycotap - python::pycparser - python::pyc_wheel From 7597f179899f9293e821b24e6dde8e9c0a8317cb Mon Sep 17 00:00:00 2001 From: Ralf Hubert Date: Fri, 6 Mar 2026 15:32:53 +0100 Subject: [PATCH 09/10] add python::maturin v1.12.6 --- recipes/python/maturin.yaml | 30 ++++++++++++++++++++++++++++++ tests/buildall/recipes/all.yaml | 1 + 2 files changed, 31 insertions(+) create mode 100644 recipes/python/maturin.yaml diff --git a/recipes/python/maturin.yaml b/recipes/python/maturin.yaml new file mode 100644 index 00000000..7e097610 --- /dev/null +++ b/recipes/python/maturin.yaml @@ -0,0 +1,30 @@ +inherit: ["python3::setuptools", cargo] + +metaEnvironment: + PKG_VERSION: "1.12.6" + PKG_LICENSE: "MIT OR Apache-2.0" + +checkoutSCM: + scm: url + url: ${GITHUB_MIRROR}/PyO3/maturin/archive/refs/tags/v${PKG_VERSION}.tar.gz + digestSHA256: d9fb69fb10a4574032feb93da3f98cbfbf4e652340135c968781845aa1f53147 + stripComponents: 1 + +depends: + - python::puccinialin + - python::setuptools-rust + - python::semantic-version + +checkoutDeterministic: True +checkoutScript: | + cargoFetchDeps + +buildScript: | + python3BuildSetuptools $1 + +packageScript: | + python3PackageTgt + +provideDeps: ['python::*'] +provideTools: + maturin: "usr/bin" diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index 6ebd1b6c..cc221ab9 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -146,6 +146,7 @@ depends: - python::lxml - python::mako - python::markupsafe + - python::maturin - python::packaging - python::pathspec - python::pbr From 7da41f277f35abd463269d8734d63f63d0a263fd Mon Sep 17 00:00:00 2001 From: Marc Kewitz Date: Tue, 12 Aug 2025 14:32:10 +0000 Subject: [PATCH 10/10] add python::cryptography v46.0.5 --- recipes/python/cryptography.yaml | 59 ++++++++++++++++++++++++++++++++ tests/buildall/recipes/all.yaml | 1 + 2 files changed, 60 insertions(+) create mode 100644 recipes/python/cryptography.yaml diff --git a/recipes/python/cryptography.yaml b/recipes/python/cryptography.yaml new file mode 100644 index 00000000..a703a05a --- /dev/null +++ b/recipes/python/cryptography.yaml @@ -0,0 +1,59 @@ +inherit: [cargo, "python3::build"] + +metaEnvironment: + PKG_VERSION: "46.0.5" + PKG_LICENSE: "Apache-2.0 OR BSD-3-Clause" + +checkoutSCM: + scm: url + url: ${GITHUB_MIRROR}/pyca/cryptography/archive/refs/tags/${PKG_VERSION}.tar.gz + digestSHA256: 7571f0e09a6d6eb22168993f94d35867b4dcbd0d34224e0eb7b392b905b3f12f + stripComponents: 1 + +depends: + - name: python::maturin + tools: + target-toolchain: host-compat-toolchain + use: [tools] + alias: python::maturin-host + + - python::setuptools-rust + - python::cffi + - python::pycparser + - python::semantic-version + - libs::openssl-dev + - use: [] + depends: + - libs::openssl-tgt + +checkoutDeterministic: True +checkoutScript: | + cargoFetchDeps + +buildTools: [host-toolchain, target-toolchain, maturin] +buildSetup: | + # provide openssl dir + export OPENSSL_DIR=${BOB_DEP_PATHS['libs::openssl-dev']}/usr/ + export LD_LIBRARY_PATH=${BOB_DEP_PATHS['libs::libffi-tgt']}/usr/lib +buildScript: | + # without a git directory maturin fails with: + # fatal: not a git repository (or any parent up to mount point + # dev/build/python/cryptography/2) + # See https://github.com/pyca/cryptography/issues/11845 + git init . + + mkdir -p bin && pushd bin + ln -snf $(which $CC) cc + export PATH=$(pwd):${PATH} + popd # bin + + # build wheel to avoid + # ERROR Source /tmp/build-via-sdist-5zco0pfp/cryptography-46.0.5 does + # not appear to be a Python project + # Also see: https://github.com/pyca/cryptography/issues/11845 + python3Build -w $1 + +packageScript: | + python3PackageTgt + +provideDeps: ['python::*', '*-tgt'] diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index cc221ab9..7ec1e0c9 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -132,6 +132,7 @@ depends: - python::colorama - python::construct - python::construct-dataclasses + - python::cryptography - python::cython - python::deprecated - python::distlib