GNU bug report logs - #62079
[PATCH] gnu: Add python-mozilla-repo-urls.

Previous Next

Package: guix-patches;

Reported by: Adam Faiz <adam.faiz <at> disroot.org>

Date: Thu, 9 Mar 2023 16:49:02 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Adam Faiz <adam.faiz <at> disroot.org>
To: 62079 <at> debbugs.gnu.org
Subject: [bug#62079] [PATCH] gnu: Add python-mozilla-repo-urls.
Date: Fri, 10 Mar 2023 00:48:42 +0800
From 9b78a69c98646b5e5d0efef029522b81b71e5be6 Mon Sep 17 00:00:00 2001
Message-Id: <9b78a69c98646b5e5d0efef029522b81b71e5be6.1678379861.git.adam.faiz <at> disroot.org>
In-Reply-To: <f788ce8ebc205a6e05bcc270865d793d94bf51e9.1678379861.git.adam.faiz <at> disroot.org>
References: <f788ce8ebc205a6e05bcc270865d793d94bf51e9.1678379861.git.adam.faiz <at> disroot.org>
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Thu, 9 Mar 2023 22:02:39 +0800
Subject: [PATCH] gnu: Add python-mozilla-repo-urls.

* gnu/packages/python-xyz.scm (python-mozilla-repo-urls): New variable.
---
 gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d4f0a83a5d..2a5732fdad 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3612,6 +3612,33 @@ (define-public python-redo
 retry to any Python callable.")
     (license license:mpl2.0)))
 
+(define-public python-mozilla-repo-urls
+  (package
+    (name "python-mozilla-repo-urls")
+    (version "0.1.1")
+    (source
+     (origin
+       (method git-fetch)               ;version.txt not in pypi release
+       (uri (git-reference
+             (url "https://github.com/mozilla-releng/mozilla-repo-urls")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "13fzkw59yhphyc5n8w286i4rbh9j93wh015b1b3lc4pbcy1wxnkj"))))
+    (build-system python-build-system)
+    (native-inputs
+     (list python-pytest))
+    (propagated-inputs
+     (list python-giturlparse))
+    (home-page "https://github.com/mozilla-releng/mozilla-repo-urls")
+    (synopsis
+     "Process Mozilla's repository URLs")
+    (description
+     "This package processes Mozilla's repository URLs.
+  The intent is to centralize URLs parsing.")
+    (license license:mpl2.0)))
+
 (define-public python-py
   (package
     (name "python-py")
-- 
2.39.2





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

Previous Next


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