From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id EJ0sJkC94WWkVAAA62LTzQ:P1 (envelope-from ) for ; Fri, 01 Mar 2024 12:34:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id EJ0sJkC94WWkVAAA62LTzQ (envelope-from ) for ; Fri, 01 Mar 2024 12:34:24 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=cNyTN104; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709292864; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ilsdVEGOIHZh2UjI1fW8soZijPWPXqTg7AllqmHDNE8=; b=VzcL2YuGHRhRbqlc0HzFKteWL5HwI3pToGAEwZEY4UB7ehApLgTylvSwAPGDn842bpMxAH uXE1FnMYF0cPhxbHz80juYiAafi/tLAmIHACOMg2K5d9EsLM02Wx0+v/dKm+RfCezb92tA CVORmJXEw0kFCYYR5fM84KXsEuqZlOHC/XZ3TTdNRZxx2bt9/nEym5x/0URXaM4Z+wrR4D R9jEfI/VHyPREuwzjhw6RyU4wWSrcydJ5fZL6zvZ/QG06aEHXPPRAarhfPXTGT/kwb78gF gjZqUgsppYx8226KgNiS2f4W1vkKtGQGlVHEcLs2AvFfwCP/dPRHnuKdtnnwYg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=cNyTN104; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709292864; a=rsa-sha256; cv=none; b=FhRU6eLv7NxtfbFTwfoVuEG6wiQIEpZP7X5oET7GehhBjmSFHWBPkW/SGTY4VWrtPkJpHL LNPpNtzWbNYdSAlzforz3TPziZeI5IvOODKSfIQ8Dk2xDEPDA20AicDb4TJRA0fQPtIR4+ PQSf3ojvx8o17kEBTJTpn3K9r08avcjpZOHB+nYvJVZb3EwsdY1RIXz1/oQVDe2my/hx8z VovmXr07HL++WaIu0c6hA8FnvPMNCbPaV4dqH8HQB2+hmazTakG2P+t4GoeYs12h5RZcc4 1VzznS2zG4VX1GBM24vcisuBOWenRaqh+nAdfJLQk1zWrDx/eCsN7Sk65qAyfw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2DDC865CB7 for ; Fri, 1 Mar 2024 12:34:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rg198-0004c7-OP; Fri, 01 Mar 2024 06:33:46 -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 1rg190-0004bI-RH for guix-patches@gnu.org; Fri, 01 Mar 2024 06:33:40 -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 1rg18y-0002Yk-K0; Fri, 01 Mar 2024 06:33:36 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rg19O-0006hJ-IB; Fri, 01 Mar 2024 06:34:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67999] [PATCH] gnu: Add python-kalamine. References: In-Reply-To: Resent-From: Adriel Dumas--Jondeau Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Fri, 01 Mar 2024 11:34:02 +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: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , jgart Received: via spool by 67999-submit@debbugs.gnu.org id=B67999.170929279725694 (code B ref 67999); Fri, 01 Mar 2024 11:34:02 +0000 Received: (at 67999) by debbugs.gnu.org; 1 Mar 2024 11:33:17 +0000 Received: from localhost ([127.0.0.1]:36194 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rg18e-0006gM-Rk for submit@debbugs.gnu.org; Fri, 01 Mar 2024 06:33:17 -0500 Received: from layka.disroot.org ([178.21.23.139]:34164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rg18b-0006gC-8K for 67999@debbugs.gnu.org; Fri, 01 Mar 2024 06:33:15 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 0F6E240E05 for <67999@debbugs.gnu.org>; Fri, 1 Mar 2024 12:32:44 +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 4QihVp5N1Uco for <67999@debbugs.gnu.org>; Fri, 1 Mar 2024 12:32:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1709292763; bh=JQ+CFF5ceLlISb3TOF1hVAqbcP2vuijKRFLQr+4Q3C0=; h=From:To:Subject:Date; b=cNyTN104SvsLKSktZQrpOuYKsEbXcpavfrfSEF7bn6KbyKR5jgJboSHWgXHJxc1rs sJNoktJNIWK43IH25sTgvstCfpWgxqhytvMrQgi8I9r44LvPYeJ11TWNstShw1pQaU 74BXK2IRLtYKgY0nskowmz6eUnaniKj6BETcRll/6J6hpI/pQOdyettL4gR9qzCNWi 5QeftAjyxlpTJKAFtFWz7kGpat19py0jd9LWdiOx3IG9zyr6rAbaA9ujhkXOOOYVW6 VB9NQ0Ebskubvkh3k+oA8SLIiEc0HHJ8FG8LCnjj0VjfzW55aR+O97hPAMl0gjOgkv b7AMDbS/0tuXA== Date: Fri, 1 Mar 2024 12:32:22 +0100 Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 From: Adriel Dumas--Jondeau via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -4.77 X-Spam-Score: -4.77 X-Migadu-Queue-Id: 2DDC865CB7 X-TUID: iVGOocLyyIwg * gnu/packages/python-xyz.scm (python-kalamine): New variable. Change-Id: If13f258440bb35973b3d79a87fea68e4708845bf --- gnu/packages/python-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) Hi o/ Thank you for your answers! Here's a squashed version of previous patches, as if V1 never existed in the first place. Does that looks good to you? diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 29e2bfd222..64060d44e3 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -6327,6 +6327,43 @@ (define-public autokey flexibility and power of the Python language.") (license license:gpl3+))) +(define-public python-kalamine + (package + (name "python-kalamine") + (version "0.30") + (source + (origin + (method url-fetch) + (uri (pypi-uri "kalamine" version)) + (sha256 + (base32 "1aqwfp0m2fr9miwh0d8ljmb58k4mw7bp9bzn5fk3kyj2d6zr0cxg")))) + (build-system pyproject-build-system) + (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 "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 (package (name "python-dm-tree") 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 -- 2.41.0