diff mbox series

[meta-arago,master,1/4] meta-arago-test: Add curl-cffi recipe

Message ID 20260302205436.1117890-1-t-lannynd@ti.com
State Changes Requested
Delegated to: Ryan Eatmon
Headers show
Series [meta-arago,master,1/4] meta-arago-test: Add curl-cffi recipe | expand

Commit Message

Lannynd, Thorsten March 2, 2026, 8:54 p.m. UTC
Add curl-cffi 0.14.0, a Python library for implementing curl-impersonate to
bypass TLS fingerprinting.

This package enables Python applications to impersonate browser TLS
signatures and JA3 fingerprints.

Note: Build shows deprecation warnings from curl-cffi's upstream
pyproject.toml. These do not affect functionality.

Signed-off-by: Thorsten Lannynd <t-lannynd@ti.com>
---
 .../python3-curl-cffi/curl-cffi_0.14.0.bb     | 31 +++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 meta-arago-test/recipes-graphics/python3-curl-cffi/curl-cffi_0.14.0.bb

Comments

PRC Automation March 2, 2026, 9:01 p.m. UTC | #1
meta-arago / na / 20260302205436.1117890-1-t-lannynd

PRC Results: FAIL

=========================================================
  check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
WARN - [meta-arago][master][PATCH 1/4] meta-arago-test: Add curl-cffi  recipe
    WARN: Commit message does not include file/recipe name: meta-arago-test: Add curl-cffi  recipe. (COMMIT-MESSAGE-2)
        patch
    
    WARN: Commit message should not include directory path to recipe: meta-arago-test: Add curl-cffi  recipe.
              meta-arago-test (COMMIT-MESSAGE-3)
        patch
    
    For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887
WARN - [meta-arago][master][PATCH 2/4] meta-arago-test: Add yt-dlp recipe
    WARN: Commit message does not include file/recipe name: meta-arago-test: Add yt-dlp recipe. (COMMIT-MESSAGE-2)
        patch
    
    WARN: Commit message should not include directory path to recipe: meta-arago-test: Add yt-dlp recipe.
              meta-arago-test (COMMIT-MESSAGE-3)
        patch
    
    For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887
WARN - [meta-arago][master][PATCH 3/4] meta-arago-test: Add curl-cffi and yt-dlp to ti-test-extras
    WARN: Commit message does not include file/recipe name: meta-arago-test: Add curl-cffi and yt-dlp to ti-test-extras. (COMMIT-MESSAGE-2)
        patch
    
    WARN: Commit message should not include directory path to recipe: meta-arago-test: Add curl-cffi and yt-dlp to ti-test-extras.
              meta-arago-test (COMMIT-MESSAGE-3)
        patch
    
    For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887
WARN - [meta-arago][master][PATCH 4/4] meta-arago-distro: ffmpeg: Enable OpenSSL support for HTTPS protocol
    WARN: Commit message should not include directory path to recipe: meta-arago-distro: ffmpeg: Enable OpenSSL support for HTTPS protocol.
              meta-arago-distro (COMMIT-MESSAGE-3)
        patch
    
    For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887



=========================================================
  apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-arago][master][PATCH 1/4] meta-arago-test: Add curl-cffi  recipe
- Submitter: From: Thorsten Lannynd <t-lannynd@ti.com>
- Date: Date: Mon, 2 Mar 2026 14:54:33 -0600
- Num Patches: 4
- Mailing List (public inbox) Commit SHA: 559233df8ad72371c06156f29f9be49533bfa577

Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: master-wip
- Commit Author: Ryan Eatmon <reatmon@ti.com>
- Commit Subject: arago.conf: Remove temporary hack for DEFAULTTUNE on armv7a
- Commit SHA: 58966cd5a2d433b4c915e652f21f2e2b2475ec21

Patches
----------------------------------------
All patches applied



=========================================================
  check-yocto-repo: FAIL
=========================================================
master
=====================
FAIL
    WARN: .bbappend files might need a guard to make them check-layer compliant. (GUARD-1)
        meta-arago-distro/recipes-multimedia/ffmpeg/ffmpeg_%.bbappend
    
    For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887
diff mbox series

Patch

diff --git a/meta-arago-test/recipes-graphics/python3-curl-cffi/curl-cffi_0.14.0.bb b/meta-arago-test/recipes-graphics/python3-curl-cffi/curl-cffi_0.14.0.bb
new file mode 100644
index 00000000..791a79bd
--- /dev/null
+++ b/meta-arago-test/recipes-graphics/python3-curl-cffi/curl-cffi_0.14.0.bb
@@ -0,0 +1,31 @@ 
+SUMMARY = "Python binding for curl-impersonate via cffi"
+
+DESCRIPTION = "curl_cffi is a Python library for implementing curl-impersonate in Python. Unlike requests/httpx it can impersonate browsers' TLS signatures or JA3 fingerprints."
+
+HOMEPAGE = "https://github.com/lexiforest/curl_cffi"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=fd472d9f299a79040ca2acc5d42a1e38"
+
+DEPENDS += " \
+    python3-cffi-native \
+    python3-cffi \
+"
+
+RDEPENDS:${PN}:append = " python3-cffi python3-certifi"
+
+SRC_URI += "https://github.com/lexiforest/curl-impersonate/releases/download/v1.2.5/libcurl-impersonate-v1.2.5.aarch64-linux-gnu.tar.gz;name=libcurl;unpack=0"
+
+SRC_URI[sha256sum] = "5ffbc82e59f05008ec08ea432f0e535418823cda44178ee518906a54f27a5f0f"
+SRC_URI[libcurl.sha256sum] = "a7c4fc4aad556a7b44b9896432d170380c64651feaa9cc44a773f8233efc79d2"
+
+PYPI_PACKAGE = "curl_cffi"
+
+export CI = "1"
+
+do_compile:prepend() {
+    mkdir -p ${S}/tmplibdir
+    tar -xzf ${WORKDIR}/sources/libcurl-impersonate-v1.2.5.aarch64-linux-gnu.tar.gz -C ${S}/tmplibdir
+}
+
+inherit pypi python_setuptools_build_meta