Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 779826 - dev-python/pycryptodome: unneeded dev-libs/gmp DEPEND
Summary: dev-python/pycryptodome: unneeded dev-libs/gmp DEPEND
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2021-04-02 15:38 UTC by dm9pZCAq
Modified: 2022-11-30 08:37 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
script which prints packages names of linked libraries (deplibs,398 bytes, text/x-shellscript)
2021-04-02 15:38 UTC, dm9pZCAq
Details
patch to remove dev-libs/gmp DEPEND (remove_dev-libs_gmp.patch,497 bytes, patch)
2021-04-02 15:39 UTC, dm9pZCAq
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description dm9pZCAq 2021-04-02 15:38:48 UTC
Created attachment 696972 [details]
script which prints packages names of linked libraries

i checked this package with attached script (deplibs dev-python/pycryptodome)
and it returns:
dev-libs/libtomcrypt:0:
sys-libs/musl:0:

also dev-libs/gmp is optional DEPEND for dev-libs/libtomcrypt
Comment 1 dm9pZCAq 2021-04-02 15:39:58 UTC
Created attachment 696975 [details, diff]
patch to remove dev-libs/gmp DEPEND
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-30 08:37:37 UTC
It definitely tries to use GMP if available using ffi: https://github.com/Legrandin/pycryptodome/blob/99b297f73110396b8dcd1c5eb0e187676e2c530e/lib/Crypto/Math/_IntegerGMP.py.