GNU bug report logs - #62080
[PATCH] gnu: Add python-mozilla-version.

Previous Next

Package: guix-patches;

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

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

Severity: normal

Tags: patch

To reply to this bug, email your comments to 62080 AT debbugs.gnu.org.

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#62080; Package guix-patches. (Thu, 09 Mar 2023 16:50:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Adam Faiz <adam.faiz <at> disroot.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 09 Mar 2023 16:50:02 GMT) Full text and rfc822 format available.

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

From: Adam Faiz <adam.faiz <at> disroot.org>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add python-mozilla-version.
Date: Fri, 10 Mar 2023 00:49:45 +0800
From db5ef591064fa34751e6ef7ff53eba3fcd2d578f Mon Sep 17 00:00:00 2001
Message-Id: <db5ef591064fa34751e6ef7ff53eba3fcd2d578f.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:13:06 +0800
Subject: [PATCH] gnu: Add python-mozilla-version.

* gnu/packages/python-xyz.scm (python-mozilla-version): New variable.
---
 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 2a5732fdad..37cd6fb0af 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3639,6 +3639,31 @@ (define-public python-mozilla-repo-urls
   The intent is to centralize URLs parsing.")
     (license license:mpl2.0)))
 
+(define-public python-mozilla-version
+  (package
+    (name "python-mozilla-version")
+    (version "1.2.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "mozilla-version" version))
+              (sha256
+               (base32
+                "1dl08bpk97rcjhd1zg8ahw1kbc3ingkpmflmdx4z476a349w82xk"))))
+    (build-system python-build-system)
+    (native-inputs
+     (list python-pytest))
+    (propagated-inputs
+     (list python-attrs
+           python-future))
+    (home-page "https://github.com/mozilla-releng/mozilla-version")
+    (synopsis
+     "Library for processing Firefox versions numbers")
+    (description
+     "This package processes Firefox versions numbers.
+  It tells whether they are valid or not, whether they are nightlies or regular
+releases, whether this version precedes that other.")
+    (license license:mpl2.0)))
+
 (define-public python-py
   (package
     (name "python-py")
-- 
2.39.2





This bug report was last modified 1 year and 49 days ago.

Previous Next


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