Package Details: python-mbedtls 2.7.1-1

Git Clone URL: https://aur.archlinux.org/python-mbedtls.git (read-only, click to copy)
Package Base: python-mbedtls
Description: A free cryptographic library for Python that uses mbed TLS for back end.
Upstream URL: https://pypi.org/project/python-mbedtls/
Keywords: cryptography mbedtls
Licenses: MIT
Submitter: AchmadFathoni
Maintainer: None
Last Packager: AchmadFathoni
Votes: 1
Popularity: 0.000000
First Submitted: 2020-11-28 12:49 (UTC)
Last Updated: 2023-07-15 16:06 (UTC)

Latest Comments

frostwork commented on 2023-09-15 16:52 (UTC)

I can confirm that temporarily renaming /usr/include/mbedtls from the mbedtls package and copying recursively /usr/include/mbedtls2/medtls from the mbedtls2 package to /usr/include/mbedtls leads to a successful compile of python-mbedtls. Of course a dirty hack, but tbh I'm not interested in fragile cython build voodoo fixing.

frostwork commented on 2023-09-15 16:27 (UTC)

the package doesn't compile here because mbedtls-3.4.1-1 doesn't provide mbedtls/ssl_internal.h the package https://archlinux.org/packages/extra/x86_64/mbedtls2/ does though, but the absolute path to trhe header is

/usr/include/mbedtls2/mbedtls/ssl_internal.h

so the build process requires an additional "-I/usr/include/mbedtls2"

haven't checked where the build flags come from, but I can confirm that compiling build/3.11.5/temp.linux-x86_64-cpython-311/build/3.11.5/temp.linux-x86_64-cpython-311/src/mbedtls/_tls.o manually by adding the include to the failing gcc command line works

weston commented on 2022-06-01 08:44 (UTC)

Needs cython added as a dep in order to build.

SpotlightKid commented on 2021-10-07 16:14 (UTC)

Source hash check fails:

==> Making package: python-mbedtls 1.6.0-1 (Thu Oct  7 18:14:07 2021)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading python-mbedtls-1.6.0.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  120k  100  120k    0     0   148k      0 --:--:-- --:--:-- --:--:--  841k
==> Validating source files with sha256sums...
    python-mbedtls-1.6.0.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!