summaryrefslogtreecommitdiff
path: root/sci-mathematics/flintqs/flintqs-1.0.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-07-08 22:23:22 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-07-08 22:23:22 +0100
commit99b2c44c1425c7b2925846d4c44b2bf2f78dc786 (patch)
tree9bf7a2d385aace0ea5f3f8d3e3657168b758fdaa /sci-mathematics/flintqs/flintqs-1.0.ebuild
parent39bccce90513402ec93bb0fde30678f16b07a9cc (diff)
gentoo auto-resync : 08:07:2023 - 22:23:22
Diffstat (limited to 'sci-mathematics/flintqs/flintqs-1.0.ebuild')
-rw-r--r--sci-mathematics/flintqs/flintqs-1.0.ebuild39
1 files changed, 0 insertions, 39 deletions
diff --git a/sci-mathematics/flintqs/flintqs-1.0.ebuild b/sci-mathematics/flintqs/flintqs-1.0.ebuild
deleted file mode 100644
index c03f6b1227a3..000000000000
--- a/sci-mathematics/flintqs/flintqs-1.0.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Multi-polynomial quadratic sieve for integer factorization"
-HOMEPAGE="https://github.com/sagemath/FlintQS"
-# The github tarball is missing the autotools stuff.
-SRC_URI="http://files.sagemath.org/spkg/upstream/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
-IUSE=""
-
-DEPEND="dev-libs/gmp:="
-RDEPEND="${DEPEND}"
-
-src_test() {
- # Factor,
- #
- # 1000000000000000005490000000000000001989
- #
- # to get
- #
- # 10000000000000000051 * 100000000000000000039.
- #
- # The sed command deletes all lines up to the pattern match.
- #
- ACTUAL=$(echo 1000000000000000005490000000000000001989 | \
- "${S}"/src/QuadraticSieve | \
- sed '0,/FACTORS:/d' | \
- sort --numeric | \
- uniq |
- tr '\n' ' ')
- EXPECTED="10000000000000000051 100000000000000000039 "
-
- [[ "${ACTUAL}" == "${EXPECTED}" ]] || die "test factorization failed"
-}