From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 8Cf1EO8NdWSWFAAASxT56A (envelope-from ) for ; Mon, 29 May 2023 22:41:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id YCLlEO8NdWRblgAA9RJhRA (envelope-from ) for ; Mon, 29 May 2023 22:41:19 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 222A03AAA9 for ; Mon, 29 May 2023 22:41:19 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q3jf5-00051L-EO; Mon, 29 May 2023 16:40:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q3jev-0004yk-0P for guix-patches@gnu.org; Mon, 29 May 2023 16:40:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q3jeu-0001dJ-OQ for guix-patches@gnu.org; Mon, 29 May 2023 16:40:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q3jeu-0007od-Jh for guix-patches@gnu.org; Mon, 29 May 2023 16:40:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56729] [RFC PATCH v3 07/32] gnu: Add python-primecountpy. Resent-From: vicvbcun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 29 May 2023 20:40:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56729@debbugs.gnu.org Cc: Andreas Enge Received: via spool by 56729-submit@debbugs.gnu.org id=B56729.168539279129876 (code B ref 56729); Mon, 29 May 2023 20:40:04 +0000 Received: (at 56729) by debbugs.gnu.org; 29 May 2023 20:39:51 +0000 Received: from localhost ([127.0.0.1]:59256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3jeg-0007lm-Oo for submit@debbugs.gnu.org; Mon, 29 May 2023 16:39:51 -0400 Received: from mo4-p05-ob.smtp.rzone.de ([85.215.255.136]:33681) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3jeV-0007jT-5g for 56729@debbugs.gnu.org; Mon, 29 May 2023 16:39:41 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1685392778; cv=none; d=strato.com; s=strato-dkim-0002; b=jWC4WRqmQFDqXpCicf8sJDaD0TyIc845NzlzFzSAXhWuwmCfWXcNCTCD/OLW2fHswU I0Udyu6+2UftxJQgsj7kDwNAnbKQUZx+RAIiwCenH5IQNNfvmzZZfJJukyftXZwjqKKN 8ouQnQKwemhFhwD7T8yNPmPYMNYOVX9qoyLTCqTbCQOdD7/NuYyizDS/adZM1YrgCSMR o3khC6FQ6coD1HUtuVXyhuPVQgT8wXjnCLpR8Y3HJIQP9qdC1TSnrVIsDw8/uC4K7ZZN 9LQRZ8FeanBVCqvf7nHk+zFw6dAiexqGXx1zJl83OwhNz9WGBVAQeK9IsCQx2m5edA0o N4Yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1685392778; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=j8CQ3ulWmZeoTbKTuAnky3oVMlG5Z7aDa6ZCxIEZwJg=; b=haixEP/E5IjO8WPxlmurM94pV0uH3NGgFhk4dO/IFEKxuwbFDGGyR8OTwE4GX+yzKF 1ECbJZ9bYs2G5y49Xs1Pc1mJgaMQlD43+K7JLlJOCK0Vr+c2rnz1S6eeA1R3zbbGY0Ya nlvMqrQyjSmiLH/IvgPSvZxHNpJ8eEZg3I9P3UhA5BD/ZoaGxHR/smfWlNa6fwcU33aT FX1hHTM+WxWWslhi7v3VwHMzEuKxwd3x+siRriCE2iUFLVxV0WPcFndt0es2YL5TuUMl L0iq1F+8usOhh68/YXROUKFtPq6mGySFODCaj8/7hiet5jR49iljEaAGms5MN+dY953w Ykrg== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1685392778; s=strato-dkim-0002; d=ikherbers.com; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=j8CQ3ulWmZeoTbKTuAnky3oVMlG5Z7aDa6ZCxIEZwJg=; b=oKNY5Twf3x+9lMU2L1KFuQx2cozIdvNboF2WNgw5/kolP2hrPNBz0kF4te4x2TMU+h Z6UzJ5vPcCHEAEwgzZ2m6raZCxeBYbRQmM9nB4HbJTx7kTFMBu6MU43xqF+2r8Kv0gGY FSw6+bghev3LS9u5S+wu1QrRLH/VmBQuS+ttbaiUvbUsI+zJsBuFHXlddogv4D59R7Qn QmS4eCmU/cUxs+U4XYv99bfMhB3dH/Fu+35YOowdZm/wKXFd4hUuBB76qj4FR9lRmYk7 LDxfOy+hEJxdL1wqRBGPVB0XnLF+DWP8GV9DVs8nofRNhyhLYhaqhlE+l/VTMQYmaYkp TkNA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1685392778; s=strato-dkim-0003; d=ikherbers.com; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=j8CQ3ulWmZeoTbKTuAnky3oVMlG5Z7aDa6ZCxIEZwJg=; b=mTq1FNkYKJMGlC5vzOMc6wC9R+zcLRIFbLaMkYiy0oU7mbZsfCoO+2/UbHAH8Kuw+T pP2M8MY4bPx5wrnO+dCg== X-RZG-AUTH: ":IUwNfkitaf3qOWm2b/jA5tveVwUUcwH3PkiYp6DPxTDDEo4xO9KsAGjusLvi119VyBPc" X-RZG-CLASS-ID: mo05 Received: from lambda.localdomain by smtp.strato.de (RZmta 49.4.0 DYNA|AUTH) with ESMTPSA id z055e6z4TKdbn7L (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Mon, 29 May 2023 22:39:37 +0200 (CEST) From: vicvbcun Date: Mon, 29 May 2023 22:38:16 +0200 Message-Id: <7cea6d8ec60772ee41128e07c7ab21e51dac62a8.1685391447.git.guix@ikherbers.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=2; s=key1; d=yhetil.org; t=1685392879; a=rsa-sha256; cv=fail; b=N5wAMk8Vg5HYFQAtIBygHZfSx4MKIcQfZVlDH93onqrrFfUZC+UKxx6QCT+R0AkXaWpDcz p8PVOsSwVzIJdp1K4n2phdA1k77QDKbNDH+9LuuuI5uxs4uiCLtkVGHN3LXiwSyLaU618P s5URzVZpTsXxZ12cvvVbhCtCse5Q8WmJKigvf4oqGXaMpmmM75vMWhTy0UDyVL7w3c58w2 s4JMbjCGR8gu52pVt/GyzAh+EFEB7gZzBZciB98QqmRUFdusfBJpIGHSD0rGdtcZVJzy4Y 4QbrbOTkPpnFZDWxt1tRsyn0Ry5coMP6JwQN3d9vWDA+JF4wqBBdnDmaj9xTYg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0002 header.b=oKNY5Twf; dkim=fail ("headers eddsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0003 header.b=mTq1FNkY; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; arc=reject ("signature check failed: fail, {[1] = sig:strato.com:reject}") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685392879; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=j8CQ3ulWmZeoTbKTuAnky3oVMlG5Z7aDa6ZCxIEZwJg=; b=Rmh3Oadt7DIxQb3YQ21gfZjhiBs8+NFvuMhZKOU2iFDifbdxz1mjJkWc8/uRJwtCd0JqG2 JkHtaXYje5q2FbnKZA9O6P+g1Hy+SzUWnwNp0dQQAkupvpmR0GJ5GvzbRbZN35udZd7pC1 AmaQ4ZYXyVyc8IZ6gk8PcC4D4gl9Z695rau3ROu6fV8GwqVFueovkqzlPqjXrM2TRE7PV9 WpgZ3E2+XI0d62mDcz7xqChyiBwlKgV7YnnozaXwMcK3n2pJJyBVvdXabQKPJ838k2sd0y nUZsZlg6r2dtIxgFDJwd1UWP5qR1Xp1GQHnlnBN5WHNhSlneTCVAqkqbOv32jA== X-Migadu-Spam-Score: -0.14 X-Spam-Score: -0.14 X-Migadu-Queue-Id: 222A03AAA9 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0002 header.b=oKNY5Twf; dkim=fail ("headers eddsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0003 header.b=mTq1FNkY; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; arc=reject ("signature check failed: fail, {[1] = sig:strato.com:reject}") X-TUID: MkIZX1vT2Ura * gnu/packages/algebra.scm (python-primecountpy): New variable. --- gnu/packages/algebra.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index 68a0427f59..ba1131f358 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -1925,3 +1925,29 @@ (define-public primecount counts the number of primes ≤ x (maximum 10^31) using highly 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 python-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + (add-before 'build 'set-cflags + (lambda _ + (setenv "CFLAGS" "-fopenmp") + (setenv "CXXFLAGS" "-fopenmp")))))) + (inputs (list pari-gp primecount)) + (native-inputs (list python-cython)) + (propagated-inputs (list python-cysignals)) + (home-page "https://github.com/dimpase/primecountpy") + (synopsis "Cython interface for primecount") + (description + "This package provides a cython interface for the primecount library.") + (license license:gpl3))) -- 2.40.1