unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Miguel Ángel Moreno" <mail@migalmoreno.com>
To: 62389@debbugs.gnu.org
Cc: mail@migalmoreno.com
Subject: [bug#62389] [PATCH v3 1/5] gnu: Add python-matrix-common.
Date: Sun, 11 Feb 2024 20:52:16 +0100	[thread overview]
Message-ID: <3e9dc1f25960f69a4fc58a484f5c52c1ffe28e06.1707681098.git.mail@migalmoreno.com> (raw)
In-Reply-To: <cover.1679505128.git.contact@conses.eu>

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

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c68b17b0ab..8aaf2d63d3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8902,6 +8902,47 @@ (define-public python-perfplot
 the results.")
     (license license:gpl3+)))
 
+(define-public python-matrix-common
+  (package
+    (name"python-matrix-common")
+    (version "1.2.1")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "matrix_common" version))
+              (sha256
+               (base32
+                "0lrqzb6s57fxp0kwffdqnkr2pj9aia459cv1b95b55dxlq1cz7d9"))))
+    (build-system python-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (replace 'build
+            (lambda _
+              (setenv "SOURCE_DATE_EPOCH"
+                      (number->string (* 10 366 24 60 60)))
+              (invoke "python" "-m" "build" "--wheel" "--no-isolation" ".")))
+          (replace 'install
+            (lambda _
+              (let ((whl (car (find-files "dist" "\\.whl$"))))
+                (invoke "pip" "--no-cache-dir" "--no-input"
+                        "install" "--no-deps" "--prefix" #$output whl))))
+          (replace 'check
+            (lambda* (#:key tests? #:allow-other-keys)
+              (when tests?
+                (invoke "pytest" "-vv" "tests")))))))
+    (native-inputs
+     (list
+      python-pypa-build
+      python-pytest
+      python-setuptools-scm
+      python-wheel))
+    (home-page "https://github.com/matrix-org/matrix-python-common")
+    (synopsis "Common code for Synapse, Sydent and Sygnal")
+    (description "This package provides common utilities for Synapse, Sydent
+and Sygnal.")
+    (license license:asl2.0)))
+
 (define-public python-pysnptools
   (package
     (name "python-pysnptools")

base-commit: 6f78803b01d416ab421ba860751b764b9e4f33db
-- 
2.41.0



-- 
Best regards,
Miguel Ángel Moreno

  parent reply	other threads:[~2024-02-12  6:11 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-22 17:29 [bug#62389] [PATCH 00/12] gnu: synapse: Update to 1.67.0 conses
2023-03-22 17:30 ` [bug#62389] [PATCH 01/12] gnu: Add python-matrix-common conses
2023-03-22 17:30 ` [bug#62389] [PATCH 02/12] gnu: python-twisted: Update to 22.10.0 conses
2023-03-22 17:31 ` [bug#62389] [PATCH 03/12] gnu: python-pyopenssl: Move to python-cryptography-next conses
2023-03-22 17:31 ` [bug#62389] [PATCH 04/12] gnu: python-urllib3: " conses
2023-03-22 17:31 ` [bug#62389] [PATCH 05/12] gnu: python-treq: Update to 20.9.0 conses
2023-03-22 17:31 ` [bug#62389] [PATCH 06/12] gnu: python-josepy: Move to python-cryptography-next conses
2023-03-22 17:31 ` [bug#62389] [PATCH 07/12] gnu: python-secretstorage: " conses
2023-03-22 17:32 ` [bug#62389] [PATCH 08/12] gnu: python-acme: " conses
2023-03-22 17:32 ` [bug#62389] [PATCH 09/12] gnu: python-pysaml2: " conses
2023-03-22 17:32 ` [bug#62389] [PATCH 10/12] gnu: python-incremental: Update to 21.3.0 conses
2023-03-22 17:32 ` [bug#62389] [PATCH 11/12] gnu: Add python-txredisapi conses
2023-03-22 17:33 ` [bug#62389] [PATCH 12/12] gnu: synapse: Update to 1.67.0 conses
2023-06-07 17:29 ` [bug#62389] [PATCH v2 1/6] gnu: Add python-matrix-common Miguel Ángel Moreno
2023-06-07 17:29   ` [bug#62389] [PATCH v2 2/6] gnu: python-twisted: Update to 22.10.0 Miguel Ángel Moreno
2023-08-31  5:23     ` Andrew Tropin
2023-06-07 17:31   ` [bug#62389] [PATCH v2 3/6] gnu: python-treq: Update to 20.9.0 Miguel Ángel Moreno
2023-06-07 17:31   ` [bug#62389] [PATCH v2 4/6] gnu: python-incremental: Update to 21.3.0 Miguel Ángel Moreno
2023-06-07 17:32   ` [bug#62389] [PATCH v2 5/6] gnu: Add python-txredisapi Miguel Ángel Moreno
2023-06-07 17:33   ` [bug#62389] [PATCH v2 6/6] gnu: synapse: Update to 1.67.0 Miguel Ángel Moreno
2024-02-11 19:52 ` Miguel Ángel Moreno [this message]
2024-02-11 19:53 ` [bug#62389] [PATCH v3 1/5] gnu: Add python-matrix-common Miguel Ángel Moreno
2024-02-11 19:54   ` [bug#62389] [PATCH v3 2/5] gnu: python-twisted: Update to 22.10.0 Miguel Ángel Moreno
2024-02-11 19:54   ` [bug#62389] [PATCH v3 3/5] gnu: python-treq: Update to 20.9.0 Miguel Ángel Moreno
2024-02-11 19:55   ` [bug#62389] [PATCH v3 4/5] gnu: Add python-txredisapi Miguel Ángel Moreno
2024-02-11 19:55   ` [bug#62389] [PATCH v3 5/5] gnu: synapse: Update to 1.67.0 Miguel Ángel Moreno

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3e9dc1f25960f69a4fc58a484f5c52c1ffe28e06.1707681098.git.mail@migalmoreno.com \
    --to=mail@migalmoreno.com \
    --cc=62389@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).