all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vinicius Monego <monego@posteo.net>
To: 70924@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#70924] [PATCH 08/10] gnu: Add python-primecountpy.
Date: Mon, 13 May 2024 20:52:13 +0000	[thread overview]
Message-ID: <ca3f9049e9957d08a0f0c5e89cc3ece31d68e50d.1715633288.git.monego@posteo.net> (raw)
In-Reply-To: <676c926b816fad99606d7803b3b43156fe4696a1.1715633288.git.monego@posteo.net>

* gnu/packages/maths.scm (python-primecountpy): New variable.

Change-Id: Id775a672c104162965825d8d44e599df0c26f11a
---
 gnu/packages/maths.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 1740a55cf4..8792f9df06 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1360,6 +1360,28 @@ (define-public primecount
 optimized implementations of the combinatorial prime counting algorithms.")
     (license license:bsd-2)))
 
+(define-public python-primecountpy
+  (package
+    (name "python-primecountpy")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "primecountpy" version))
+       (sha256
+        (base32 "0xh6zx5zw5scy7jygqirks9y6z4zyfm0zjfp8nd6dw0m471przkq"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list #:tests? #f)) ; there are no tests
+    (native-inputs (list python-cysignals python-cython))
+    (inputs (list pari-gp primecount))
+    (home-page "https://github.com/dimpase/primecountpy")
+    (synopsis "Cython interface for C++ primecount library")
+    (description "This package provides a Cython interface to the C++ library
+@code{primecount}.")
+    ;; pyproject.toml says gpl3 but file headers say gpl2+.
+    (license license:gpl2+)))
+
 (define-public giza
   (package
     (name "giza")
-- 
2.39.2





  parent reply	other threads:[~2024-05-13 20:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-13 20:50 [bug#70924] [PATCH 00/10] Add some SageMath standard packages Vinicius Monego
2024-05-13 20:52 ` [bug#70924] [PATCH 01/10] gnu: Add python-memory-allocator Vinicius Monego
2024-05-13 20:52   ` [bug#70924] [PATCH 02/10] gnu: Add python-calver Vinicius Monego
2024-05-13 20:52   ` [bug#70924] [PATCH 03/10] gnu: Add python-async-lru Vinicius Monego
2024-05-13 20:52   ` [bug#70924] [PATCH 04/10] gnu: Add python-isoduration Vinicius Monego
2024-05-13 20:52   ` [bug#70924] [PATCH 05/10] gnu: Add python-uri-template Vinicius Monego
2024-05-13 20:52   ` [bug#70924] [PATCH 06/10] gnu: Add python-pyproject-api Vinicius Monego
2024-05-13 20:52   ` [bug#70924] [PATCH 07/10] gnu: Add primecount Vinicius Monego
2024-05-13 20:52   ` Vinicius Monego [this message]
2024-05-13 20:52   ` [bug#70924] [PATCH 09/10] gnu: Add python-types-dateutil Vinicius Monego
2024-05-13 20:52   ` [bug#70924] [PATCH 10/10] gnu: Add python-pplpy Vinicius Monego
2024-05-14 15:11 ` [bug#70924] [PATCH 00/10] Add some SageMath standard packages Vinicius Monego

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ca3f9049e9957d08a0f0c5e89cc3ece31d68e50d.1715633288.git.monego@posteo.net \
    --to=monego@posteo.net \
    --cc=70924@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.