From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 30 09:42:06 2024 Received: (at submit) by debbugs.gnu.org; 30 Apr 2024 13:42:06 +0000 Received: from localhost ([127.0.0.1]:59497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s1nkE-0003bp-2N for submit@debbugs.gnu.org; Tue, 30 Apr 2024 09:42:06 -0400 Received: from lists.gnu.org ([2001:470:142::17]:37990) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s1nk9-0003bS-TX for submit@debbugs.gnu.org; Tue, 30 Apr 2024 09:42:04 -0400 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 1s1njj-0005WO-C1 for guix-patches@gnu.org; Tue, 30 Apr 2024 09:41:35 -0400 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s1njh-0007A3-2J for guix-patches@gnu.org; Tue, 30 Apr 2024 09:41:35 -0400 Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2dd6c160eaaso69601191fa.1 for ; Tue, 30 Apr 2024 06:41:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=m4x.org; s=gapps; t=1714484489; x=1715089289; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=qDIOjhFFwOQ/qY9HizZkaR1GN714e0r7+DxYY9wKb2g=; b=ZYAVAg+uvx41oy117imZcOEqTdR/bKAQNN7mx2lE51RmyF2lcVo4X//D8sDfhblZZj ++kKgU85z5idY9Gr0VoPhRS6NbvEfc3jXFMfEcEqRgx5QeIDAs2UhmysoTrXrJKyRuEr 45W6XxnRPpregZMP1uxU4a56vP/VGqD1/ipG0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714484489; x=1715089289; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qDIOjhFFwOQ/qY9HizZkaR1GN714e0r7+DxYY9wKb2g=; b=TXQbhazz/5KWANFTLKBeqhWZKBDpt7X3k68IBgYD7ufxbEp6SHHg09qqYZdKJoc6Hl rMEE9PlS7OKA8C6UvMW4Rfu2Bd5/ZDsoVYpaztHRdEmriZWtmrKurkaZUiJSHfUkFz5D crDMLmbxjqA2M11gmntX4H9RUQz4v+5TW8ne4m+MhlpP+ilogg3367r0F7LVICAWcuRA 8Q/tPWWmp/FKdpKYxGABSlULMhZmwqbjDUWEEuZ94mxKdVfX2a4Yjwldk0wHfJqb0Qnq luCPEtHY9AXn9Lo5goC/Swf4zo4CCi0ShX8XhGCtsIxx9TmdCQUhGj14hfEao1Jnaeot Tdzw== X-Gm-Message-State: AOJu0YxCyttoSCiFE85ncTdT8olB9lxZ16abAb6z9ZNgCrQ9IKzfw9Eu UzZtFkUezRzBdvy8de5GZK/wt1nESY3Em/yfUfcrn2NrsxUnRvRUQ1aKUQa6m+2glVz23AzQPvl 9TLpf/KXNEVR4ZekkgjdzjfzJ+EAWLogB73jc6FoLeAHvMJ3LY2qKJiXct7fTV4/lcgDv1/y8Rg eqdBcfyUwz08ZHTKrGQUQVNYo4KCxcz/JaiDCPLDC0vJKHbiwrHC012bp8l+nvKg== X-Google-Smtp-Source: AGHT+IFZushHH+qxj3t2WPUOaXsA0uuvxFm0drUy3yRBXh2bdbfl+uuaWko3tGwS9iBPAPuojPG+1A== X-Received: by 2002:a2e:9792:0:b0:2d8:5e8b:7de4 with SMTP id y18-20020a2e9792000000b002d85e8b7de4mr10534174lji.6.1714484487348; Tue, 30 Apr 2024 06:41:27 -0700 (PDT) Received: from guixrules.lan (2a01cb0808d89bcce2cec3fffe74cec8.ipv6.abo.wanadoo.fr. [2a01:cb08:8d8:9bcc:e2ce:c3ff:fe74:cec8]) by smtp.gmail.com with ESMTPSA id i4-20020a05600c354400b0041902ebc87esm41992965wmq.35.2024.04.30.06.41.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 06:41:26 -0700 (PDT) From: Jean-Baptiste Note To: guix-patches@gnu.org Subject: ["PATCH core-updates" 0/1] Fix python package idle output Date: Tue, 30 Apr 2024 13:41:14 +0000 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-Debbugs-Cc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::22b; envelope-from=jean-baptiste.note.1999@polytechnique.org; helo=mail-lj1-x22b.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.248, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit Cc: Jean-Baptiste Note X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) idle has been split from python and python2 packages to their own python:idle and python2:idle outputs. Unfortunately however, the idlelib directory is not installed properly to be picked up by GUIX_PYTHONPATH. I don't care much for python idle, but is used by several good kid's boot about programming, so it's probably better to have it working. Please note that even then, python:idle requires pythonX:tk to be installed in order to be able to run properly. Jean-Baptiste Note (1): gnu: python: Fix python's idle installation. gnu/packages/python.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 30 09:45:54 2024 Received: (at 70672) by debbugs.gnu.org; 30 Apr 2024 13:45:54 +0000 Received: from localhost ([127.0.0.1]:59507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s1nnt-0003eu-MZ for submit@debbugs.gnu.org; Tue, 30 Apr 2024 09:45:54 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:42208) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s1nns-0003em-H2 for 70672@debbugs.gnu.org; Tue, 30 Apr 2024 09:45:52 -0400 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-41adf3580dbso34055325e9.0 for <70672@debbugs.gnu.org>; Tue, 30 Apr 2024 06:45:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=m4x.org; s=gapps; t=1714484725; x=1715089525; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=d0/zkE7KMPi+QAKtBMT8QDaWwyO9ebejGIKY+G5rMHE=; b=Mf/T1r1JXMdUQwaDw5w8LYviUYbaWc5N0rgHDvflAUZxMQUO3PJBo2dTGQi1RasUA4 neGh4aAILQmPKlN0/AOyVDeagWlNZvdm65HYdhdqDj9BelWXOQt0oJj3o6O0RQ2es+tG zn1fYeyfCb74SK6DO4Ly8A5e37L0joRQP9agM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714484725; x=1715089525; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=d0/zkE7KMPi+QAKtBMT8QDaWwyO9ebejGIKY+G5rMHE=; b=XEpLgv0WaC8Mc43+lGmsqM/kZg4V5ydJgNO34umgW0b40pQxDe8rUtKg4oYrj0UWb2 rRAP200LrsHY4cpy64OWE2FifMe+dWE4hPVxikeB6NZmNIgcjxqLerahWrRezVsFZ/nJ 2TdIDq4R42V6MiPtk+dAlMQcInB755Xfwx6DsaPx25zstnJAHbJAMWo7W/2m69UTJT0K yLScx6BQS0P69lyEa/W+wMqZIiT0oabVSNSSYAAWO+49Mx+YJPZdib0fszdjsbGWaUdh P37rdF9j1+flTaOSj1L343nPfTP49nRtglm+qnyuR43TAQyeyX6C0/9vG/kQ3NlrLXvN a0CQ== X-Gm-Message-State: AOJu0YzxoQYJEH5PnK5xhge+9iQgkOo56iOOuiMEtW7C//nrJnXbEsEq ric1Frh9J2UkPJJzzePU6KWDSA8LSFjETP3svnV+hTelqkwgnKQRsstBQUCoTE3aHD9OzIJnYae CawjHZJMIFLTfQClr59pg6SJDcvMohxskNU0d9HjIsWX7b63wPGqaVm+kv/yFDxE2ZW3c7F3fSE QjqXbM7NISIb6V0lmIVKHqj0fvdpWj+lhXQmGBYVTrc12KbCZGbEAGAA1SoOiH7ic= X-Google-Smtp-Source: AGHT+IHpEr8pZb6KLQehtBRQA9aW5Kw4hl9lbKIy2u4O10W/N9Ij8Cd+ckgtUBSDMSOf6NDz6hgYQA== X-Received: by 2002:a05:600c:1391:b0:41c:a9:26b3 with SMTP id u17-20020a05600c139100b0041c00a926b3mr2944978wmf.19.1714484725315; Tue, 30 Apr 2024 06:45:25 -0700 (PDT) Received: from guixrules.lan (lfbn-idf3-1-1143-125.w90-46.abo.wanadoo.fr. [90.46.90.125]) by smtp.gmail.com with ESMTPSA id n26-20020a05600c3b9a00b0041bf87e702asm11146566wms.10.2024.04.30.06.45.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 06:45:24 -0700 (PDT) From: Jean-Baptiste Note To: 70672@debbugs.gnu.org Subject: ["PATCH core-updates" 1/1] gnu: python: Fix python's idle installation. Date: Tue, 30 Apr 2024 13:44:59 +0000 Message-ID: <5f443c4e6f3ce7a489a8ab71e5d65b1fe7dd68c8.1714483770.git.jean-baptiste.note@m4x.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-Debbugs-Cc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Content-Transfer-Encoding: 8bit X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 70672 Cc: Jean-Baptiste Note X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) * gnu/packages/python.scm (python-2.7): Fix idle output for python-2.7. --- gnu/packages/python.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index b2757c651e..b41e75ed45 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -345,12 +345,15 @@ (define-public python-2.7 (install-file file (dirname target)) (delete-file file))) (find-files (string-append out "/bin") "^idle")) + ;; The idlelib directory is in OUT/lib/pythonX.Y, but we + ;; want it under IDLE/lib/pythonX.Y/site-packages. (match (find-files out "^idlelib$" #:directories? #t) ((idlelib) (let* ((len (string-length out)) (target (string-append idle "/" - (string-drop idlelib len) - "/site-packages"))) + (string-drop + (dirname idlelib) len) + "/site-packages/idlelib"))) (mkdir-p (dirname target)) (rename-file idlelib target)))))))) (add-after 'move-idle 'rebuild-bytecode -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Tue May 14 12:16:01 2024 Received: (at control) by debbugs.gnu.org; 14 May 2024 16:16:01 +0000 Received: from localhost ([127.0.0.1]:40175 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6uor-0007Az-6K for submit@debbugs.gnu.org; Tue, 14 May 2024 12:16:01 -0400 Received: from mira.cbaines.net ([212.71.252.8]:43524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6uop-0007At-PK for control@debbugs.gnu.org; Tue, 14 May 2024 12:16:00 -0400 Received: from localhost (unknown [45.67.83.168]) by mira.cbaines.net (Postfix) with ESMTPSA id 2716D27BBE2 for ; Tue, 14 May 2024 17:15:27 +0100 (BST) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 7709264b for ; Tue, 14 May 2024 16:15:25 +0000 (UTC) From: Christopher Baines To: control@debbugs.gnu.org User-Agent: mu4e 1.12.2; emacs 29.3 Date: Tue, 14 May 2024 17:15:20 +0100 Message-ID: <878r0cxtd3.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: retitle 70672 [core-updates] Fix python package idle output thanks Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) --=-=-= Content-Type: text/plain retitle 70672 [core-updates] Fix python package idle output thanks --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmZDjhhfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XcISBAAr5/8Wiq5h7rH+5hHU/2WAdKqMnUV66la XWhjqNXcv+MSs8z7kwyIxCI+eMWUE/Fgqqg9Vp7TUx/go3xlxUjgaEt3etFqynk6 UE3FEZ5BBl61CpxE4DBnThtlXwzeTnnKuoCuOsH3r4H+EvJhyj6GhXFbgwiPB5wL KOqtmB16/qhFgoP/MnxO7T+QMd9wdrewiG+Zsm9bpbmnbDehKKOroxVhMosj7/br bWYPlvnCZnC7Zzr9MeTiEbnU2+pyHlAl15tpFg2+ToW2BcARHz7tQdhSDrANwcVj hi+jL9k5oTcYquxlWYXwSR2mZknYF8vN+2RR25tbf9UJje4ERf0quWMbkDD+30Rs MaZdusxI9PUeOrjRzw4amrnCPGKQljIS51a913g9NB+YRqc7LqBac5L6AnkA8bmY 1YvU4UKjOB0125ng92uN0ceZcfmDQBuc657B3HPFDQ0g7HyJPyTlXUPjC1aqySoA i3jxMGqCimYtf7eqBtan3S1CURczMiSR6cGwC/Jzp39qcY698BKMZfOZK+ldhQRz vL/fEK/GHUJPq5Ao0zCuihzYSEK4x47HkFk2NWOADmvAjcD+sLaGNTcd5zE3/82n p0eZ0HKlLuKSfZlBJBkOTPX+Ge7umy5FSQ3SamPc9F/hms9NBAYmDo9BzUozM21d Cb+mEWzfPxI= =yf1U -----END PGP SIGNATURE----- --=-=-=--