* [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
` (2 more replies)
0 siblings, 3 replies; 13+ 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] 13+ 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
2024-10-24 10:07 ` bug#70924: " Sharlatan Hellseher
2 siblings, 9 replies; 13+ 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] 13+ 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; 13+ 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] 13+ 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; 13+ 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] 13+ 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; 13+ 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] 13+ 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; 13+ 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] 13+ 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; 13+ 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] 13+ 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; 13+ 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] 13+ 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; 13+ 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] 13+ 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; 13+ 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] 13+ 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; 13+ 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] 13+ 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
2024-10-24 10:07 ` bug#70924: " Sharlatan Hellseher
2 siblings, 0 replies; 13+ 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] 13+ 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 ` [bug#70924] [PATCH 00/10] Add some SageMath standard packages Vinicius Monego
@ 2024-10-24 10:07 ` Sharlatan Hellseher
2 siblings, 0 replies; 13+ messages in thread
From: Sharlatan Hellseher @ 2024-10-24 10:07 UTC (permalink / raw)
To: 70924-done
[-- Attachment #1: Type: text/plain, Size: 2669 bytes --]
Hi,
I've checked and build 8 of 10 patches successfully; applied them with
minor modifications.
- add to master [8/8]
- [X] [PATCH 01/10] gnu: Add python-memory-allocator.
- Add python-setuptools
- Adjust indentation
- [X] [PATCH 02/10] gnu: Add python-calver.
- Add python-setuptools
- Adjust indentation
- [X] [PATCH 03/10] gnu: Add python-async-lru.
- Add python-setuptools
- Adjust indentation
- [X] [PATCH 06/10] gnu: Add python-pyproject-api.
- [X] [PATCH 07/10] gnu: Add primecount.
- Update to the latest version in additional commit
- Link to existing primesiev package
- [X] [PATCH 08/10] gnu: Add python-primecountpy.
- Link to existing primesiev package
- [X] [PATCH 09/10] gnu: Add python-types-dateutil.
- Add python-setuptools
- [X] [PATCH 10/10] gnu: Add python-pplpy.
- Add missing maths module
- in python-team [2/2]
- [X] [PATCH 05/10] gnu: Add python-uri-template.
529fe93b14fee0073c2cbb66909bfcd1f16024ab
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue May 7 20:17:57 2024 +0200
Commit: Sharlatan Hellseher <sharlatanus@gmail.com>
CommitDate: Mon Oct 21 23:19:30 2024 +0100
- [X] [PATCH 04/10] gnu: Add python-isoduration.
f06fc8e2089ee3eb0a85f4d28de0e1a5dd955eb5
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue May 7 21:26:52 2024 +0200
Commit: Sharlatan Hellseher <sharlatanus@gmail.com>
CommitDate: Mon Oct 21 23:19:30 2024 +0100
Built successfully on x86_64:
--8<---------------cut here---------------start------------->8---
/gnu/store/wn24b3v2kbv7q5msivrfjz6qbgx43fhg-python-pplpy-0.8.10
/gnu/store/4cigz1384hrxwhgdhzx2z1ycm210g739-python-types-dateutil-2.9.0.20240316
/gnu/store/8kr52bq6mrkf3g4rn03n34pip5xjm9f6-python-primecountpy-0.1.0
/gnu/store/a7m2rdisfqvs4avh4sah63xdnvwxj4l6-primecount-7.14
/gnu/store/47wsy1rv1m0ci0b6jq6v2i230jjipkiq-python-pyproject-api-1.6.1
/gnu/store/nzwbfz2ww4qwssngr5kdwiz8wy1cgbjd-python-async-lru-2.0.4
/gnu/store/pkcdjfvvhnwnrfjkg64dsqd4sav3p16j-python-calver-2022.06.26
/gnu/store/j7wakqm3lhdfxp0m516q57lk7k6cbmnw-python-memory-allocator-0.1.4
--8<---------------cut here---------------end--------------->8---
- 06696ac708 * gnu: Add python-types-dateutil.
- f3cfd885f1 * gnu: Add python-pyproject-api.
- a47a1ff036 * gnu: Add python-memory-allocator.
- 116a6c78f1 * gnu: Add python-async-lru.
- 15033a1e63 * gnu: Add python-pplpy.
- add8d159e8 * gnu: Add python-calver.
- 9d577f0f4c * gnu: Add python-primecountpy.
- 64ed498737 * gnu: primecount: Update to 7.14.
- 6c72e72ae8 * gnu: Add primecount.
--
Thanks,
Oleg
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2024-10-24 10:09 UTC | newest]
Thread overview: 13+ 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
2024-10-24 10:07 ` bug#70924: " Sharlatan Hellseher
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).