From patchwork Thu Mar 9 16:50:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Faiz X-Patchwork-Id: 47821 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 62D0C16E46; Thu, 9 Mar 2023 16:52:46 +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=unavailable 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 2385616E43 for ; Thu, 9 Mar 2023 16:52:46 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1paJUp-0006wE-TB; Thu, 09 Mar 2023 11:52:03 -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 1paJUp-0006sL-3q for guix-patches@gnu.org; Thu, 09 Mar 2023 11:52: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 1paJUo-0007cT-QN for guix-patches@gnu.org; Thu, 09 Mar 2023 11:52:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1paJUo-0007I2-Hm for guix-patches@gnu.org; Thu, 09 Mar 2023 11:52:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#62081] [PATCH] gnu: Add python-glean-parser. Resent-From: Adam Faiz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 09 Mar 2023 16:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62081 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62081@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167838066727941 (code B ref -1); Thu, 09 Mar 2023 16:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Mar 2023 16:51:07 +0000 Received: from localhost ([127.0.0.1]:52966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paJTv-0007Ga-AO for submit@debbugs.gnu.org; Thu, 09 Mar 2023 11:51:07 -0500 Received: from lists.gnu.org ([209.51.188.17]:51434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paJTt-0007GS-JP for submit@debbugs.gnu.org; Thu, 09 Mar 2023 11:51:06 -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 1paJTt-0005lo-Cd for guix-patches@gnu.org; Thu, 09 Mar 2023 11:51:05 -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 1paJTr-0007Ls-IM for guix-patches@gnu.org; Thu, 09 Mar 2023 11:51:05 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 72DA94443E for ; Thu, 9 Mar 2023 17:51:02 +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 xqQ4-kirOTOo for ; Thu, 9 Mar 2023 17:51:01 +0100 (CET) Message-ID: <0b8eb4b0-8c7d-d96d-e0ce-eec868d51b8d@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1678380661; bh=a/So4ONHknoOrq1HTFhnt5fOQGyuZtPNaLqBtIyOhnk=; h=Date:To:From:Subject; b=ImLPXtsrhhpyJk/r+V7qsojxc2x/jmi/vSMfDOMrLiFljaWVTQa9oVdYFljerezcd Y4lPpxGftB1hSVWwBZ4p0uRLMoWwcZ1c2vRcnWZu43WfamF55MHy/78WqN4twGwBUI iP2LhgRvPED5xDGs1mcEDKMYJQyM2WW1tqme504pE6bChy92fUIAJ8efUaR2ULn8q0 ez+YjEAiFbOkulq9xBQyVeXnuWG1dyK3UQRGOX9h7CMoR3wj3/8Kw4WYTJlfmOEPZg jfsoubnxWgRl0iXMwbqgIw3nn2amlOxiFYs0uwVzC78DYAtjk3/QfcJKQr/QykTzyY 2i2SMv1v7+DYQ== Date: Fri, 10 Mar 2023 00:50:58 +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 545997a268891952bc87934f67c721224c9df7a8 Mon Sep 17 00:00:00 2001 Message-Id: <545997a268891952bc87934f67c721224c9df7a8.1678379861.git.adam.faiz@disroot.org> In-Reply-To: References: From: AwesomeAdam54321 Date: Thu, 9 Mar 2023 22:53:13 +0800 Subject: [PATCH] gnu: Add python-glean-parser. * gnu/packages/python-xyz.scm (python-glean-parser): New variable. --- gnu/packages/python-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 37cd6fb0af..b4173da3fd 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -22996,6 +22996,43 @@ (define-public python-globber path components.") (license license:asl2.0))) +(define-public python-glean-parser + (package + (name "python-glean-parser") + (version "7.0.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "glean_parser" version)) + (sha256 + (base32 + "1mfclj0vx65pr2wyk675cp66c1yi5vwry8p1aipm1p60dzfn12f4")) + (modules '((guix build utils))) + (snippet + #~(begin + (substitute* "setup.py" + ((".*setuptools-scm>=7.*") "")))))) + (build-system python-build-system) + (native-inputs + (list python-pytest + python-pytest-runner)) + (propagated-inputs + (list python-appdirs + python-click + python-diskcache + python-iso8601 + python-jinja2 + python-jsonschema + python-markupsafe + python-pyyaml + python-yamllint)) + (home-page "https://github.com/mozilla/glean_parser") + (synopsis "Parser tools for Mozilla's Glean telemetry") + (description + "Glean Parser contains various utilities for handling metrics.yaml +and pings.yaml for the Glean SDKs. This includes producing generated code +for various integrations, linting and coverage testing.") + (license license:mpl2.0))) + (define-public python-git-hammer (package (name "python-git-hammer")