all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#70924] [PATCH 00/10] Add some SageMath standard packages.
@ 2024-05-13 20:50 Vinicius Monego
  2024-05-13 20:52 ` [bug#70924] [PATCH 01/10] gnu: Add python-memory-allocator Vinicius Monego
  2024-05-14 15:11 ` [bug#70924] [PATCH 00/10] Add some SageMath standard packages Vinicius Monego
  0 siblings, 2 replies; 12+ messages in thread
From: Vinicius Monego @ 2024-05-13 20:50 UTC (permalink / raw)
  To: 70924; +Cc: Vinicius Monego

I was looking at https://doc.sagemath.org/html/en/reference/spkg/ and made a list of the missing packages. There are around 45 packages missing in the Standard Packages, and 77 in the Optional Packages.

I will submit what can be packaged in various patch series of 10 packages to ease the review. Some of the packages can't be included because they depend on recent versions of core packages (python-referencing apparently needs a newer version of hatchling).

Some of these have been packaged in https://issues.guix.gnu.org/56729 while others are new.

Vinicius Monego (10):
  gnu: Add python-memory-allocator.
  gnu: Add python-calver.
  gnu: Add python-async-lru.
  gnu: Add python-isoduration.
  gnu: Add python-uri-template.
  gnu: Add python-pyproject-api.
  gnu: Add primecount.
  gnu: Add python-primecountpy.
  gnu: Add python-types-dateutil.
  gnu: Add python-pplpy.

 gnu/packages/maths.scm      |  47 ++++++++++++
 gnu/packages/python-xyz.scm | 143 ++++++++++++++++++++++++++++++++++++
 gnu/packages/sagemath.scm   |  52 +++++++++++++
 3 files changed, 242 insertions(+)


base-commit: 89cd778f6a45cd9b43a4dc1f236dcd0a87af955c
-- 
2.39.2





^ permalink raw reply	[flat|nested] 12+ messages in thread

* [bug#70924] [PATCH 01/10] gnu: Add python-memory-allocator.
  2024-05-13 20:50 [bug#70924] [PATCH 00/10] Add some SageMath standard packages Vinicius Monego
@ 2024-05-13 20:52 ` Vinicius Monego
  2024-05-13 20:52   ` [bug#70924] [PATCH 02/10] gnu: Add python-calver Vinicius Monego
                     ` (8 more replies)
  2024-05-14 15:11 ` [bug#70924] [PATCH 00/10] Add some SageMath standard packages Vinicius Monego
  1 sibling, 9 replies; 12+ messages in thread
From: Vinicius Monego @ 2024-05-13 20:52 UTC (permalink / raw)
  To: 70924; +Cc: Vinicius Monego

* gnu/packages/sagemath.scm (python-memory-allocator): New variable.

Change-Id: Ib914cc736fa16c2a7bb2919d94aaf102e3513a60
---
 gnu/packages/sagemath.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/sagemath.scm b/gnu/packages/sagemath.scm
index 8d5d04ee93..9ccb7eb055 100644
--- a/gnu/packages/sagemath.scm
+++ b/gnu/packages/sagemath.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
 ;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2024 Vinicius Monego <monego@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -23,6 +24,7 @@
 (define-module (gnu packages sagemath)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system pyproject)
   #:use-module (guix build-system python)
   #:use-module (guix download)
   #:use-module (guix git-download)
@@ -94,6 +96,35 @@ (define-public python-gmpy2
 libraries GMO, MPFR and MPC.")
     (license license:lgpl3+)))
 
+(define-public python-memory-allocator
+  (package
+    (name "python-memory-allocator")
+    (version "0.1.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "memory_allocator" version))
+       (sha256
+        (base32 "1r7g175ddbpn5kjgs6f09s7mfachzw94p02snki6f6830dmj22fn"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-cython))
+    (home-page "https://github.com/sagemath/memory_allocator")
+    (synopsis "Extension class to allocate memory easily with Cython")
+    (description "This package provides a single extension class
+ @code{MemoryAllocator} with @{cdef} methods
+
+@itemize
+@item @code{malloc}
+@item @code{calloc}
+@item @code{allocarray}
+@item @code{realloc}
+@item @code{reallocarray}
+@item @code{aligned_malloc}
+@item @code{aligned_malloc}
+@item @code{aligned_calloc}
+@item @code{aligned_allocarray}")
+    (license license:gpl3+)))
+
 (define-public cliquer
   (package
     (name "cliquer")

base-commit: 89cd778f6a45cd9b43a4dc1f236dcd0a87af955c
-- 
2.39.2





^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [bug#70924] [PATCH 02/10] gnu: Add python-calver.
  2024-05-13 20:52 ` [bug#70924] [PATCH 01/10] gnu: Add python-memory-allocator Vinicius Monego
@ 2024-05-13 20:52   ` Vinicius Monego
  2024-05-13 20:52   ` [bug#70924] [PATCH 03/10] gnu: Add python-async-lru Vinicius Monego
                     ` (7 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: Vinicius Monego @ 2024-05-13 20:52 UTC (permalink / raw)
  To: 70924; +Cc: Vinicius Monego

* gnu/packages/python-build.scm (python-calver): New variable.

Change-Id: Icaf6d09519f792b42a5e0992b2e4fed4131b67f5
---
 gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 557c6d5815..901b0b25c5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25872,6 +25872,27 @@ (define-public python-send2trash
 user's @file{~/Trash} directory.")
     (license license:bsd-3)))
 
+(define-public python-calver
+  (package
+    (name "python-calver")
+    (version "2022.06.26")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/di/calver")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "14l9kv9igcmp5k6d2ahnx6z4dn6zy5kykz95hkh0rkqswn8x79b1"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-pretend python-pytest))
+    (home-page "https://github.com/di/calver")
+    (synopsis "Setuptools extension for CalVer package versions")
+    (description "The calver package is a setuptools extension for
+automatically defining your Python package version as a calendar version.")
+    (license license:asl2.0)))
+
 (define-public python-pyfavicon
   (package
     (name "python-pyfavicon")
-- 
2.39.2





^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [bug#70924] [PATCH 03/10] gnu: Add python-async-lru.
  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   ` Vinicius Monego
  2024-05-13 20:52   ` [bug#70924] [PATCH 04/10] gnu: Add python-isoduration Vinicius Monego
                     ` (6 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: Vinicius Monego @ 2024-05-13 20:52 UTC (permalink / raw)
  To: 70924; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-async-lru): New variable.

Change-Id: I980f53542ae44c6a2127677171d16b29aa4a3d64
---
 gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 901b0b25c5..73b2753dc3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -22326,6 +22326,31 @@ (define-public python-kivymd
 Design spec without sacrificing ease of use or application performance.")
     (license license:expat)))
 
+(define-public python-async-lru
+  (package
+    (name "python-async-lru")
+    (version "2.0.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "async-lru" version))
+       (sha256
+        (base32 "09sn3bc3gc2flijm9k8kn4hmbnlkaddhqahb49izy188yrfrm9dq"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-pytest
+                         python-pytest-asyncio
+                         python-pytest-cov
+                         python-pytest-timeout))
+    (propagated-inputs (list python-typing-extensions))
+    (home-page "https://github.com/aio-libs/async-lru")
+    (synopsis "Simple LRU cache for asyncio")
+    (description
+     "This package is a port of Python's built-in @code{functools.lru_cache}
+function for @code{asyncio}.  To better handle async behaviour, it also
+ensures multiple concurrent calls will only result in 1 call to the wrapped
+function, with all awaits receiving the result of that call when it completes.")
+    (license license:expat)))
+
 (define-public python-asyncinject
   (package
     (name "python-asyncinject")
-- 
2.39.2





^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [bug#70924] [PATCH 04/10] gnu: Add python-isoduration.
  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   ` Vinicius Monego
  2024-05-13 20:52   ` [bug#70924] [PATCH 05/10] gnu: Add python-uri-template Vinicius Monego
                     ` (5 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: Vinicius Monego @ 2024-05-13 20:52 UTC (permalink / raw)
  To: 70924; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-isoduration): New variable.

Change-Id: Ifc56c0405ec865f9f5c7f404248e02fe108d867d
---
 gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 73b2753dc3..1bb08ecb9b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23639,6 +23639,31 @@ (define-public python-invoke
      instead of servers and network commands.")
     (license license:bsd-3)))
 
+(define-public python-isoduration
+  (package
+    (name "python-isoduration")
+    (version "20.11.0")
+    (source (origin
+              (method git-fetch) ; no tests in PyPI
+              (uri (git-reference
+                    (url "https://github.com/bolsote/isoduration")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1naml13qa1inr6k0j25jgw49r3wnkvwq5xc0v4navz6mxlgsrfp8"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-isodate
+                         python-pytest
+                         python-pytest-benchmark))
+    (propagated-inputs (list python-arrow))
+    (home-page "https://github.com/bolsote/isoduration")
+    (synopsis "Operations with ISO 8601 durations")
+    (description "This package provides operations with ISO 8601 durations.
+It addresses the shortcomings of @code{isodate} (as described in their own
+Limitations section).")
+    (license license:isc)))
+
 (define-public python-automat
   (package
     (name "python-automat")
-- 
2.39.2





^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [bug#70924] [PATCH 05/10] gnu: Add python-uri-template.
  2024-05-13 20:52 ` [bug#70924] [PATCH 01/10] gnu: Add python-memory-allocator Vinicius Monego
                     ` (2 preceding siblings ...)
  2024-05-13 20:52   ` [bug#70924] [PATCH 04/10] gnu: Add python-isoduration Vinicius Monego
@ 2024-05-13 20:52   ` Vinicius Monego
  2024-05-13 20:52   ` [bug#70924] [PATCH 06/10] gnu: Add python-pyproject-api Vinicius Monego
                     ` (4 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: Vinicius Monego @ 2024-05-13 20:52 UTC (permalink / raw)
  To: 70924; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-uri-template): New variable.

Change-Id: I31c110ca1581298f5648213c4247d30b156c5f77
---
 gnu/packages/python-xyz.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1bb08ecb9b..79c7b310d4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24249,6 +24249,24 @@ (define-public python-icdiff
 parts of the lines that were modified.")
     (license license:psfl)))
 
+(define-public python-uri-template
+  (package
+    (name "python-uri-template")
+    (version "1.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "uri-template" version))
+       (sha256
+        (base32 "1ixczlgnsjv2850r6w0cb2npwcwzdqri8njr1pi7v371cpmzh00f"))))
+    (build-system pyproject-build-system)
+    (arguments (list #:tests? #f)) ; there are no Python test scripts
+    (home-page "https://gitlab.linss.com/open-source/python/uri-template")
+    (synopsis "RFC 6570 URI Template Processor")
+    (description "This packages implements URI Template expansion in strict
+adherence to RFC 6570, but adds a few extensions.")
+    (license license:expat)))
+
 (define-public python-dirsync
   (package
     (name "python-dirsync")
-- 
2.39.2





^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [bug#70924] [PATCH 06/10] gnu: Add python-pyproject-api.
  2024-05-13 20:52 ` [bug#70924] [PATCH 01/10] gnu: Add python-memory-allocator Vinicius Monego
                     ` (3 preceding siblings ...)
  2024-05-13 20:52   ` [bug#70924] [PATCH 05/10] gnu: Add python-uri-template Vinicius Monego
@ 2024-05-13 20:52   ` Vinicius Monego
  2024-05-13 20:52   ` [bug#70924] [PATCH 07/10] gnu: Add primecount Vinicius Monego
                     ` (3 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: Vinicius Monego @ 2024-05-13 20:52 UTC (permalink / raw)
  To: 70924; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-pyproject-api): New variable.

Change-Id: I4bef06ecebcf3c5df99196b75017a4d97c7f2dda
---
 gnu/packages/python-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 79c7b310d4..521005174e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17179,6 +17179,41 @@ (define-public python-forex-python
 @end itemize")
     (license license:expat)))
 
+(define-public python-pyproject-api
+  (package
+    (name "python-pyproject-api")
+    (version "1.6.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pyproject_api" version))
+       (sha256
+        (base32 "0f75rajzk72ay4x9ajw1835amm932q7cdn0yrbwiy3fwi80xq5qq"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-flags
+      ;; This test fails with AssertionError.
+      #~(list "-k" "not test_setuptools_prepare_metadata_for_build_wheel")
+      #:phases #~(modify-phases %standard-phases
+                   (add-after 'unpack 'relax-packaging
+                     (lambda _
+                       (substitute* "pyproject.toml"
+                         ;; We have packaging 21.3.
+                         (("packaging>=23.1") "packaging>=21.3")))))))
+    (propagated-inputs (list python-packaging python-tomli))
+    (native-inputs (list python-covdefaults
+                         python-hatch-vcs
+                         python-hatchling
+                         python-pytest
+                         python-pytest-cov
+                         python-pytest-mock))
+    (home-page "https://pyproject-api.readthedocs.io/en/latest/")
+    (synopsis "API to interact with the Python pyproject.toml based projects")
+    (description "@code{pyproject-api} aims to abstract away interaction with
+@code{pyproject.toml} style projects in a flexible way.")
+    (license license:expat)))
+
 (define-public python-simpleeval
   (package
     (name "python-simpleeval")
-- 
2.39.2





^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [bug#70924] [PATCH 07/10] gnu: Add primecount.
  2024-05-13 20:52 ` [bug#70924] [PATCH 01/10] gnu: Add python-memory-allocator Vinicius Monego
                     ` (4 preceding siblings ...)
  2024-05-13 20:52   ` [bug#70924] [PATCH 06/10] gnu: Add python-pyproject-api Vinicius Monego
@ 2024-05-13 20:52   ` Vinicius Monego
  2024-05-13 20:52   ` [bug#70924] [PATCH 08/10] gnu: Add python-primecountpy Vinicius Monego
                     ` (2 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: Vinicius Monego @ 2024-05-13 20:52 UTC (permalink / raw)
  To: 70924; +Cc: Vinicius Monego

* gnu/packages/maths.scm (primecount): New variable.

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

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index b7ebb2019c..1740a55cf4 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1335,6 +1335,31 @@ (define-public feedgnuplot
 in the terminal or with an external viewer.")
     (license license:gpl1+))) ;any version
 
+(define-public primecount
+  (package
+    (name "primecount")
+    (version "7.13")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/kimwalisch/primecount")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0v3zm6mw4fb6a33zi542x94w1nd54rvn7r8dav670jm9dn60jfsn"))))
+    (build-system cmake-build-system)
+    (arguments
+     (list #:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON"
+                                     "-DBUILD_STATIC_LIBS=OFF"
+                                     "-DBUILD_TESTS=ON")))
+    (home-page "https://github.com/kimwalisch/primecount")
+    (synopsis "Fast prime counting function implementations")
+    (description "@code{primecount} is a command-line program and C/C++
+library that counts the number of primes ≤ x (maximum 1031) using highly
+optimized implementations of the combinatorial prime counting algorithms.")
+    (license license:bsd-2)))
+
 (define-public giza
   (package
     (name "giza")
-- 
2.39.2





^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [bug#70924] [PATCH 08/10] gnu: Add python-primecountpy.
  2024-05-13 20:52 ` [bug#70924] [PATCH 01/10] gnu: Add python-memory-allocator Vinicius Monego
                     ` (5 preceding siblings ...)
  2024-05-13 20:52   ` [bug#70924] [PATCH 07/10] gnu: Add primecount Vinicius Monego
@ 2024-05-13 20:52   ` Vinicius Monego
  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
  8 siblings, 0 replies; 12+ messages in thread
From: Vinicius Monego @ 2024-05-13 20:52 UTC (permalink / raw)
  To: 70924; +Cc: Vinicius Monego

* 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





^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [bug#70924] [PATCH 09/10] gnu: Add python-types-dateutil.
  2024-05-13 20:52 ` [bug#70924] [PATCH 01/10] gnu: Add python-memory-allocator Vinicius Monego
                     ` (6 preceding siblings ...)
  2024-05-13 20:52   ` [bug#70924] [PATCH 08/10] gnu: Add python-primecountpy Vinicius Monego
@ 2024-05-13 20:52   ` Vinicius Monego
  2024-05-13 20:52   ` [bug#70924] [PATCH 10/10] gnu: Add python-pplpy Vinicius Monego
  8 siblings, 0 replies; 12+ messages in thread
From: Vinicius Monego @ 2024-05-13 20:52 UTC (permalink / raw)
  To: 70924; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-types-dateutil): New variable.

Change-Id: I2b60be63a0dc6eae1f4cd7be11fc38e1bb8acc3c
---
 gnu/packages/python-xyz.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 521005174e..22b09dfcc7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -35144,6 +35144,26 @@ (define-public python-ansicolors
      "This package adds ANSI colors and decorations to your strings.")
     (license license:isc)))
 
+(define-public python-types-dateutil
+  (package
+    (name "python-types-dateutil")
+    (version "2.9.0.20240316")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "types-python-dateutil" version))
+       (sha256
+        (base32 "00h2xi8p6ygdv9nhgwdyx86ky9m9dpdqgmsdji05x4461cj2wbsx"))))
+    (native-inputs (list python-pytest))
+    (arguments (list #:tests? #f)) ; no tests
+    (build-system pyproject-build-system)
+    (home-page "https://github.com/python/typeshed")
+    (synopsis "Typing stubs for python-dateutil")
+    (description
+     "This is a PEP 561 type stub package for the @code{python-dateutil}
+package.")
+    (license license:asl2.0)))
+
 (define-public python-types-freezegun
   (package
     (name "python-types-freezegun")
-- 
2.39.2





^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [bug#70924] [PATCH 10/10] gnu: Add python-pplpy.
  2024-05-13 20:52 ` [bug#70924] [PATCH 01/10] gnu: Add python-memory-allocator Vinicius Monego
                     ` (7 preceding siblings ...)
  2024-05-13 20:52   ` [bug#70924] [PATCH 09/10] gnu: Add python-types-dateutil Vinicius Monego
@ 2024-05-13 20:52   ` Vinicius Monego
  8 siblings, 0 replies; 12+ messages in thread
From: Vinicius Monego @ 2024-05-13 20:52 UTC (permalink / raw)
  To: 70924; +Cc: Vinicius Monego

* gnu/packages/sagemath.scm (python-pplpy): New variable.

Change-Id: I24d436a03462fd7eb176d34a15683a88814238ea
---
 gnu/packages/sagemath.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/sagemath.scm b/gnu/packages/sagemath.scm
index 9ccb7eb055..3373885614 100644
--- a/gnu/packages/sagemath.scm
+++ b/gnu/packages/sagemath.scm
@@ -35,6 +35,7 @@ (define-module (gnu packages sagemath)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages bdw-gc)
   #:use-module (gnu packages boost)
+  #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages image)
   #:use-module (gnu packages lisp)
@@ -258,6 +259,26 @@ (define-public zn-poly
     (license (list license:gpl2 license:gpl3)) ; dual licensed
     (home-page "https://gitlab.com/sagemath/zn_poly")))
 
+(define-public python-pplpy
+  (package
+    (name "python-pplpy")
+    (version "0.8.10")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pplpy" version))
+       (sha256
+        (base32 "1zggfj09zkfcabcsasq27vwbhdmkig4yn380gi6wykcih9n22anl"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-cython-3 python-pytest))
+    (inputs (list gmp mpc mpfr pari-gp ppl))
+    (propagated-inputs (list python-cysignals python-gmpy2))
+    (home-page "https://github.com/sagemath/pplpy")
+    (synopsis "Python PPL wrapper")
+    (description "This Python package provides a wrapper to the C++ Parma
+Polyhedra Library (PPL).")
+    (license license:gpl3+)))
+
 (define-public brial
   (package
     (name "brial")
-- 
2.39.2





^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [bug#70924] [PATCH 00/10] Add some SageMath standard packages.
  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-14 15:11 ` Vinicius Monego
  1 sibling, 0 replies; 12+ messages in thread
From: Vinicius Monego @ 2024-05-14 15:11 UTC (permalink / raw)
  To: 70924

Em 13/05/2024 17:50, Vinicius Monego escreveu:
> I was looking at https://doc.sagemath.org/html/en/reference/spkg/ and made a list of the missing packages. There are around 45 packages missing in the Standard Packages, and 77 in the Optional Packages.
>
> I will submit what can be packaged in various patch series of 10 packages to ease the review. Some of the packages can't be included because they depend on recent versions of core packages (python-referencing apparently needs a newer version of hatchling).
>
> Some of these have been packaged in https://issues.guix.gnu.org/56729 while others are new.
>
> Vinicius Monego (10):
>    gnu: Add python-memory-allocator.
>    gnu: Add python-calver.
>    gnu: Add python-async-lru.
>    gnu: Add python-isoduration.
>    gnu: Add python-uri-template.
>    gnu: Add python-pyproject-api.
>    gnu: Add primecount.
>    gnu: Add python-primecountpy.
>    gnu: Add python-types-dateutil.
>    gnu: Add python-pplpy.
>
>   gnu/packages/maths.scm      |  47 ++++++++++++
>   gnu/packages/python-xyz.scm | 143 ++++++++++++++++++++++++++++++++++++
>   gnu/packages/sagemath.scm   |  52 +++++++++++++
>   3 files changed, 242 insertions(+)
>
>
> base-commit: 89cd778f6a45cd9b43a4dc1f236dcd0a87af955c
I just saw that python-isoduration and python-uri-template are in the 
python-team branch already, and also a few other standard packages not 
in this series.




^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-05-14 15:12 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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   ` [bug#70924] [PATCH 08/10] gnu: Add python-primecountpy Vinicius Monego
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

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.