From patchwork Thu Mar 9 16:49:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Faiz X-Patchwork-Id: 47820 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id F0C9016E4D; Thu, 9 Mar 2023 16:50:17 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3FCDB16E45 for ; Thu, 9 Mar 2023 16:50:17 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1paJT1-00049I-Dy; Thu, 09 Mar 2023 11:50:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1paJSt-00043b-8i for guix-patches@gnu.org; Thu, 09 Mar 2023 11:50:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1paJSs-00071V-LE for guix-patches@gnu.org; Thu, 09 Mar 2023 11:50:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1paJSs-0007E7-HD for guix-patches@gnu.org; Thu, 09 Mar 2023 11:50:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#62080] [PATCH] gnu: Add python-mozilla-version. Resent-From: Adam Faiz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 09 Mar 2023 16:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62080 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62080@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167838059627759 (code B ref -1); Thu, 09 Mar 2023 16:50:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Mar 2023 16:49:56 +0000 Received: from localhost ([127.0.0.1]:52960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paJSl-0007Df-Pl for submit@debbugs.gnu.org; Thu, 09 Mar 2023 11:49:56 -0500 Received: from lists.gnu.org ([209.51.188.17]:42532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paJSk-0007DW-86 for submit@debbugs.gnu.org; Thu, 09 Mar 2023 11:49:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1paJSk-0003y5-1b for guix-patches@gnu.org; Thu, 09 Mar 2023 11:49:54 -0500 Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1paJSh-0006xn-LT for guix-patches@gnu.org; Thu, 09 Mar 2023 11:49:53 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 218FA4455A for ; Thu, 9 Mar 2023 17:49:50 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o7poAm2rh30Y for ; Thu, 9 Mar 2023 17:49:48 +0100 (CET) Message-ID: <55f675a4-9250-a725-6928-0571a8b7d63e@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1678380588; bh=1EhH/RNw8ED3LUO0i/K+3JjpzuLA4x29T2dIVSIWtew=; h=Date:To:From:Subject; b=ak/iPn51baYlUs1KLqdkCgBWLe/Z5Ouqxj/z77yK0d9B5yWGSYfia8PpSqHCTxaxX lQlPHuzpXlk8CkB9PG5yuY6NBs8C/Fla2mdsioPiUNF5YQTu+KC/J7INw5k03lC28F 0i7I/LxGQHuHCuK6lXZUVCHJVbh03qyyMnLlkbcEPmqAG8n81ECIp225kNQU0qvKZI Ch2/UG9pTZ1G6u38Nc4srXnHgLA3Y57nn9gexbNlCtjygEObt5hePoA8tWrGTwfEEq uCxPIvIYLZrgmxBYJHnwZK7HEsuFD+03LQLlR4bTuqPU9pA2Kg6mP744ZhBBVawdsv ksOcBCOtAZYoQ== Date: Fri, 10 Mar 2023 00:49:45 +0800 MIME-Version: 1.0 Content-Language: en-US Received-SPF: pass client-ip=178.21.23.139; envelope-from=adam.faiz@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Adam Faiz X-ACL-Warn: , Adam Faiz via Guix-patches X-Patchwork-Original-From: Adam Faiz via Guix-patches via From: Adam Faiz Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From db5ef591064fa34751e6ef7ff53eba3fcd2d578f Mon Sep 17 00:00:00 2001 Message-Id: In-Reply-To: References: From: AwesomeAdam54321 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")