GNU bug report logs - #58504
[PATCH] gnu: Add python-pint.

Previous Next

Package: guix-patches;

Reported by: peter <at> polidoro.io

Date: Thu, 13 Oct 2022 19:44:01 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58504 in the body.
You can then email your comments to 58504 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#58504; Package guix-patches. (Thu, 13 Oct 2022 19:44:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to peter <at> polidoro.io:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 13 Oct 2022 19:44:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: peter <at> polidoro.io
To: guix-patches <at> gnu.org
Cc: Peter Polidoro <peter <at> polidoro.io>
Subject: [PATCH] gnu: Add python-pint.
Date: Thu, 13 Oct 2022 15:42:53 -0400
From: Peter Polidoro <peter <at> polidoro.io>

* gnu/packages/python-xyz.scm (python-pint): New variable.
---
 gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7c647bd42f..900dfec4d1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -777,6 +777,35 @@ (define-public python-pymdown-extensions
 Markdown.  All extensions are found under the module namespace of pymdownx.")
     (license license:expat)))
 
+(define-public python-pint
+  (package
+    (name "python-pint")
+    (version "0.19.2")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "Pint" version))
+              (sha256
+               (base32
+                "1bsbiikm9i4saqc6mc3minkmrgnsgcg734agsvd7icqhyngrim71"))))
+    (build-system python-build-system)
+    (native-inputs (list python-pytest
+                         python-pytest-cov
+                         python-pytest-mpl
+                         python-pytest-subtests
+                         python-setuptools-scm
+                         python-sparse
+                         python-dask
+                         python-xarray
+                         python-distributed))
+    (home-page "https://github.com/hgrecco/pint")
+    (synopsis "Physical quantities module")
+    (description
+     "Pint is a Python package to define, operate and manipulate
+physical quantities: the product of a numerical value and a unit of
+measurement.  It allows arithmetic operations between them and conversions from
+and to different units.")
+    (license license:bsd-3)))
+
 (define-public python-plotille
   (package
     (name "python-plotille")
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#58504; Package guix-patches. (Tue, 06 Dec 2022 11:28:01 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: peter <at> polidoro.io
Cc: 58504-done <at> debbugs.gnu.org, guix-patches <at> gnu.org
Subject: Re: [bug#58504] [PATCH] gnu: Add python-pint.
Date: Tue, 06 Dec 2022 11:27:07 +0000
[Message part 1 (text/plain, inline)]
peter <at> polidoro.io writes:

> * gnu/packages/python-xyz.scm (python-pint): New variable.
> ---
>  gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++
>  1 file changed, 29 insertions(+)

Thanks for the patch! I've pushed this to master as
6219491c47f20aef6bc8523110936924e4d3d785.

Chris
[signature.asc (application/pgp-signature, inline)]

Reply sent to Christopher Baines <mail <at> cbaines.net>:
You have taken responsibility. (Tue, 06 Dec 2022 11:28:02 GMT) Full text and rfc822 format available.

Notification sent to peter <at> polidoro.io:
bug acknowledged by developer. (Tue, 06 Dec 2022 11:28:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 03 Jan 2023 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 210 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.