From patchwork Fri Feb 16 14:57:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adriel Dumas--Jondeau X-Patchwork-Id: 60431 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 E99A127BBEA; Fri, 16 Feb 2024 15:03:35 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, 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 3D3BD27BBE2 for ; Fri, 16 Feb 2024 15:03:31 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1razg1-0005st-85; Fri, 16 Feb 2024 09:58:57 -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 1razfx-0005m3-Ec for guix-patches@gnu.org; Fri, 16 Feb 2024 09:58:53 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1razfx-00082u-2F; Fri, 16 Feb 2024 09:58:53 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1razg5-0003qJ-KA; Fri, 16 Feb 2024 09:59:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67999] [PATCH] gnu: python-kalamine: Update to 0.30. References: In-Reply-To: Resent-From: Adriel Dumas--Jondeau Original-Sender: "Debbugs-submit" Resent-CC: leirda@disroot.org, lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Fri, 16 Feb 2024 14:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67999 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67999@debbugs.gnu.org Cc: Adriel Dumas--Jondeau , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , jgart X-Debbugs-Original-Xcc: Adriel Dumas--Jondeau , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , jgart Received: via spool by 67999-submit@debbugs.gnu.org id=B67999.170809549914713 (code B ref 67999); Fri, 16 Feb 2024 14:59:01 +0000 Received: (at 67999) by debbugs.gnu.org; 16 Feb 2024 14:58:19 +0000 Received: from localhost ([127.0.0.1]:59865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1razfO-0003pF-UF for submit@debbugs.gnu.org; Fri, 16 Feb 2024 09:58:19 -0500 Received: from layka.disroot.org ([178.21.23.139]:59108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1razfK-0003p3-JP for 67999@debbugs.gnu.org; Fri, 16 Feb 2024 09:58:16 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 1807F44E45 for <67999@debbugs.gnu.org>; Fri, 16 Feb 2024 15:57:53 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uCNzaB3CaT-3 for <67999@debbugs.gnu.org>; Fri, 16 Feb 2024 15:57:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1708095472; bh=2nEdL4EdfUVdWLxZloubAVagHXqvTi1+DcFH17MVBTI=; h=From:To:Subject:Date; b=CUPh3a6Gco0DIyIUAjUaFGsssYwqO2s6kWzrdxx3TJMXKyOfw70oLKe6owv4OjICP ksrpNh0eS6JhO3L2SAm+h/QsTLIYA23Df8cXN6uApjagib/aLnyioIomeWfyI8U9m0 aZssYIESSEh2dYx8UN4qAGvMjFHB5OFfSt9oIpIs2f7q9vnonLGYWqQxm7Gsh+xsvT /9Xbx0oBwYUcV9lN4FT8PAoRTHjnd9q/xa1K3eOlWXgKKU1OuTUlFVIiuC/sqmgSrN OXsHbGdxoIis5pWw24S8FRHbPRpI4+N7oE3SxvLJxBsEHEqh3fBHvBOrlDgXzrM7nO Y7CunT1xlTXJQ== Date: Fri, 16 Feb 2024 15:57:22 +0100 Message-ID: MIME-Version: 1.0 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: Adriel Dumas--Jondeau X-ACL-Warn: , Adriel Dumas--Jondeau via Guix-patches X-Patchwork-Original-From: Adriel Dumas--Jondeau via Guix-patches via From: Adriel Dumas--Jondeau 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 * gnu/packages/python-xyz.scm (python-kalamine): Update to 0.30. Change-Id: I95bac1364a22b75bb6f42509da73e1b58bc81d42 --- gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-) base-commit: 203344cc37c8a7df1ec1454381b5069d53ce7f9e prerequisite-patch-id: cefc174692b72660bf5ed4c03442f33dbaf6e784 prerequisite-patch-id: 6b1015959d122056b883e766306b0ff8ba30bde9 prerequisite-patch-id: a3116f7908bc9fdb237e4cde52260856b083596d prerequisite-patch-id: db1d3d945579284d401944b18fcbc506a000714f prerequisite-patch-id: 84bff5e4689979f565315edf96250ccc367f8fb8 prerequisite-patch-id: bd69d4115bc86b7d2739e9890625788f1fa5a006 prerequisite-patch-id: 0834ca6f4e7f1ed91b5dcb679096a953a6e36273 prerequisite-patch-id: 9812bf7906d21768559f10f97d8363d2a18fc7e9 prerequisite-patch-id: 68e70365da7db55420105f7cb12c9fffb80d2415 diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 62daa6f889..64060d44e3 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -6330,19 +6330,38 @@ (define-public autokey (define-public python-kalamine (package (name "python-kalamine") - (version "0.18") + (version "0.30") (source (origin (method url-fetch) (uri (pypi-uri "kalamine" version)) (sha256 - (base32 "1qcpn3kknxlh1jcragzgsihn5pysvs82lcrkvk1047im94rgp0i2")))) + (base32 "1aqwfp0m2fr9miwh0d8ljmb58k4mw7bp9bzn5fk3kyj2d6zr0cxg")))) (build-system pyproject-build-system) - (propagated-inputs (list python-click python-lxml python-pyyaml python-tomli)) - (home-page "http://github.com/fabi1cazenave/kalamine") + (arguments + (list #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (apply invoke + (cons* "python" "-m" "kalamine.cli" "make" + (find-files "layouts" "\\.toml"))) + (invoke "pytest" "-vv" "tests"))))))) + (propagated-inputs (list python-click python-livereload python-lxml + python-pyyaml python-tomli python-hatchling)) + (native-inputs (list python-black + python-isort + python-mypy + python-pytest)) + (home-page "https://github.com/OneDeadKey/kalamine") (synopsis "A cross-platform Keyboard Layout Maker") - (description "Creates keyboard descriptions for various operating systems -from a ASCII-art template within a TOML document.") + (description "Kalamine provides a CLI to create advanced keyboard layout +for Windows (@file{.ahk} or @file{.klc} files), MacOS (@file{.keylayout} files) +and GNU/Linux (@file{.xkb_custom} or @file{.xkb} files) from a textual, +portable description. It also provides @command{xkalamine} to install XKB +files on GNU/Linux in either @file{/usr/share/X11/xbk} or the rootless +user-only equivalent @file{.config/xkb}.") (license license:expat))) (define-public python-dm-tree