This just builds a binary, doesn't need any additional deps, and should be easy to detect in sage.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e6e5e555c6c6436d130ecab77dbda167ef8f897 commit 1e6e5e555c6c6436d130ecab77dbda167ef8f897 Author: Michael Orlitzky <mjo@gentoo.org> AuthorDate: 2020-03-27 19:38:30 +0000 Commit: Michael Orlitzky <mjo@gentoo.org> CommitDate: 2020-03-30 12:46:12 +0000 sci-mathematics/flintqs: new package for quadratic sieve factoring. A straightforward import of the ebuild that François Bissey has been maintaining in the sage-on-gentoo overlay. I added a test suite that factors a large composite number based on the doctests for qsieve() in SageMath. Closes: https://bugs.gentoo.org/715090 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> sci-mathematics/flintqs/Manifest | 1 + sci-mathematics/flintqs/flintqs-1.0.ebuild | 39 ++++++++++++++++++++++++++++++ sci-mathematics/flintqs/metadata.xml | 24 ++++++++++++++++++ 3 files changed, 64 insertions(+)