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 <[email protected]> --- .../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 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 -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17179): https://lists.yoctoproject.org/g/meta-arago/message/17179 Mute This Topic: https://lists.yoctoproject.org/mt/118102020/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
