GNU bug report logs - #74581
[PATCH] gnu: Add pyre.

Previous Next

Package: guix-patches;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Thu, 28 Nov 2024 07:57:02 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 74581 <at> debbugs.gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: [PATCH] gnu: Add pyre.
Date: Mon, 16 Dec 2024 21:30:34 +0000
[Message part 1 (text/plain, inline)]
Hi Maxim,

Did you try to import from PyPI? I've gave it a go and with some
adjustment it may be built with pyproject-build-system as a native python
library, WDYT?

[0001-gnu-Add-python-pyre.patch (text/x-patch, inline)]
From 95b59ea9f569bad1bdb17d0b1cbb79c69e3cc4df Mon Sep 17 00:00:00 2001
Message-ID: <95b59ea9f569bad1bdb17d0b1cbb79c69e3cc4df.1734384298.git.sharlatanus <at> gmail.com>
From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Date: Mon, 16 Dec 2024 21:24:28 +0000
Subject: [PATCH] gnu: Add python-pyre.

* gnu/packages/python-science.scm (python-pyre): New variable.

Change-Id: Iabdcfc2febd90cd002a86d7aec505be6de65d632
---
 gnu/packages/python-science.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 05c6ac1fc1..869b97e37e 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -223,6 +223,36 @@ (define-public python-osqp
 numerical optimization package.")
     (license license:asl2.0)))
 
+(define-public python-pyre
+  (package
+    (name "python-pyre")
+    (version "1.12.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pyre" version))
+       (sha256
+        (base32 "1mlk4blh1q47jvwz9glkvnhg7hs5ax27s2jakcjsir8gbsvy1qcv"))))
+    (build-system pyproject-build-system)
+    (native-inputs
+     (list pybind11
+           python-numpy
+           python-scikit-build
+           python-setuptools
+           python-setuptools-scm
+           python-wheel))
+    (propagated-inputs
+     (list python-pyyaml))
+    (home-page "http://pyre.orthologue.com/")
+    (synopsis "Framework for building scientific applications")
+    (description
+     "This package provides a framework for building scientific applications.
+It aims to bring state of the art software design practices to scientific
+computing, with the goal of providing a strong skeleton on which to build
+scientific codes by steering the implementation towards usability and
+maintainability.")
+    (license license:bsd-3)))
+
 (define-public python-qdldl
   (package
     (name "python-qdldl")

base-commit: a3ffb920f14cd0d31d1e7067e11dc523fe380996
-- 
2.46.0

[Message part 3 (text/plain, inline)]
--
Oleg
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 153 days ago.

Previous Next


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