~ruther/guix-local

f65bc1461def49e1a2242517937017492bf54676 — Anderson Torres 3 months ago 4d0c227
gnu: primesieve: Reformat.

* gnu/packages/maths.scm (primesieve): Reformat.
[source, arguments]: Indent.
[description]: Fill column limit.
[home-page]: Put right before license.

Change-Id: I9a94d6dc043ff934d29800d05c48ea7a5e137f54
Signed-off-by: Andreas Enge <andreas@enge.fr>
1 files changed, 22 insertions(+), 18 deletions(-)

M gnu/packages/maths.scm
M gnu/packages/maths.scm => gnu/packages/maths.scm +22 -18
@@ 4305,27 4305,31 @@ optimized implementations of the combinatorial prime counting algorithms.")
  (package
    (name "primesieve")
    (version "12.9")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url "https://github.com/kimwalisch/primesieve")
                    (commit (string-append "v" version))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y81k9ql0mcd43vsli2a5z0d76p9mkz0dlddksvvrid41qqsjhf4"))))
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
              (url "https://github.com/kimwalisch/primesieve")
              (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32
         "0y81k9ql0mcd43vsli2a5z0d76p9mkz0dlddksvvrid41qqsjhf4"))))
    (build-system cmake-build-system)
    (arguments
     (list #:configure-flags #~(list "-DBUILD_STATIC_LIBS=off"
                                     "-DBUILD_TESTS=ON")))
    (home-page "https://github.com/kimwalisch/primesieve")
     (list
      #:configure-flags
      #~(list "-DBUILD_STATIC_LIBS=OFF"
              "-DBUILD_TESTS=ON")))
    (synopsis "Prime number generator")
    (description "@code{primesieve} is a command-line program and C/C++
 library for quickly generating prime numbers.  It is very cache efficient,
 it detects your CPU's L1 & L2 cache sizes and allocates its main data
 structures accordingly.  It is also multi-threaded by default, it uses all
 available CPU cores whenever possible i.e. if sequential ordering is not
 required. primesieve can generate primes and prime k-tuplets up to 264.")
    (description
     "@code{primesieve} is a command-line program and C/C++ library for
quickly generating prime numbers.  It is very cache efficient, it detects your
CPU's L1 & L2 cache sizes and allocates its main data structures accordingly.
It is also multi-threaded by default, it uses all available CPU cores whenever
possible i.e. if sequential ordering is not required. primesieve can generate
primes and prime k-tuplets up to 264.")
    (home-page "https://github.com/kimwalisch/primesieve")
    (license license:bsd-2)))

(define-public python-accupy