From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id gDJBNLuzQGdZgwAA62LTzQ:P1 (envelope-from ) for ; Fri, 22 Nov 2024 16:39:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id gDJBNLuzQGdZgwAA62LTzQ (envelope-from ) for ; Fri, 22 Nov 2024 17:39:23 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=U0RYQitf; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732293563; a=rsa-sha256; cv=none; b=X9b15UXg7qdDcOvO/NIY33jN1hyDRBaWWeWQICEUWaFgMuoZjagsakUMswEKf2/iVkslXS YQq8o/35DldOMMSptQGjwIe98Q+LZqca0XtyC5ON5OkuFtr0+vF2fOkv1ZL4kBckJrBqpB jB2B4nbC4Ipgw+wesfRqJ4roSTcgDa9rMupDIJzbYUshcDeiphlBzmP4Jtdl1RD9EpJ/Ux L+QG5T0iFnaZQWC6VYWLzy5tgo6ToK1qYymCZfZcAImWWRXddAE3o2ueOLvMGlhrHQ27JV IRs7RByubwuEf+jDNIhtxXkvaugCgB65ryyxfq3c0A20/jh6JJSQ7cIyRP2Rfg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=U0RYQitf; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732293563; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: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=+KIjX18EBNpiEnzfuJrReE8qfs7GbrNI0U1oEyoGKmc=; b=GOgly/lZqcJkAY0oVNTl4foEBaA7eP8/AZnDRJ/k9zPfD+yzU6Hg7g7Q/6YR9NEh0jhOum Ah/mS67UsTtRyxXFLdiGiys1uYGsuSstJ5Kn2GeNJ8klQuDioyjM4Z6jViNWVwt0rvBk1j 2tALSwIIt3kPg5O8YqThtPeiR1wrTKMJsQ+NpsJ7rFXqxsE+Bqa6LLzEFRTbadLXYnepEh 51iniTfoDBcpU9dr3z3IYfdQrsyAr6ODeahJeNAujhgzHJhTzhUz6345Ub1U7HXq/SM1N2 dqXwJ3RehnjhkOsvFVUGMp/CcvvVh5RanQ/CRd2LzoGdYJngo4OEYvuuJH1Giw== 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 615997C569 for ; Fri, 22 Nov 2024 17:39:23 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEWgT-0003ow-3C; Fri, 22 Nov 2024 11:39:05 -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 1tEWgR-0003oY-7F for bug-guix@gnu.org; Fri, 22 Nov 2024 11:39:03 -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 1tEWgQ-0006DV-VK for bug-guix@gnu.org; Fri, 22 Nov 2024 11:39:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=+KIjX18EBNpiEnzfuJrReE8qfs7GbrNI0U1oEyoGKmc=; b=U0RYQitfqzxMF/F1duvOlRALMbJGTagca+AjHogBgMc/8YRTbQYmMwH9x7QpFkhKFYWcoMxwhRodNP/Z9gdFiQp6+7j39OgLm4nrjcLx3KQKTDoy9BT0z0LYT4EBMfvIX4qOlP65D7ySw7oDIOWH0Csv6vB0yy28bAjG6zD0RKhluAZ3taUw+9VFZm6YoWb0zipVzoNC+/cbIAhNxZn/DjKl0Wu1Qy9Qr5AuNla1fSn2ehJu2L1SShPjF4maANlcxYT1qVwcybPRnbRj0bcLlsA1/znMr5fL4ut3MUDeMoaspVPCSmzRpZwBiroEfqZZYFXph4Zh6akaroK5WsjUTg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tEWgQ-0002wA-Fg for bug-guix@gnu.org; Fri, 22 Nov 2024 11:39:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#73314: [PATCH] Fix null at home-page in PyPI importer References: <87plp2o76x.fsf@pisemsky.site> In-Reply-To: <87plp2o76x.fsf@pisemsky.site> Resent-From: Evgeny Pisemsky Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 22 Nov 2024 16:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73314 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 73314@debbugs.gnu.org, Simon Tournier Received: via spool by 73314-submit@debbugs.gnu.org id=B73314.173229354011281 (code B ref 73314); Fri, 22 Nov 2024 16:39:02 +0000 Received: (at 73314) by debbugs.gnu.org; 22 Nov 2024 16:39:00 +0000 Received: from localhost ([127.0.0.1]:55292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEWgO-0002vs-3K for submit@debbugs.gnu.org; Fri, 22 Nov 2024 11:39:00 -0500 Received: from roxy-shared.hosting.energy ([137.74.182.160]:42544 helo=roxy.hosting.energy) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEWgM-0002va-EP for 73314@debbugs.gnu.org; Fri, 22 Nov 2024 11:38:59 -0500 Received: from [212.233.86.109] (helo=laptop) by roxy.hosting.energy with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1tEWgD-0000000088T-0Cat; Fri, 22 Nov 2024 19:38:49 +0300 From: Evgeny Pisemsky Date: Fri, 22 Nov 2024 19:38:49 +0300 Message-ID: <875xofrzom.fsf@pisemsky.site> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Scanned-By: ClamAV 0.101.4; Fri, 22 Nov 2024 19:38:49 +0300 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 615997C569 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -8.07 X-Spam-Score: -8.07 X-TUID: bx0geBcauUDq --=-=-= Content-Type: text/plain Here is the fix that works for me. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Fix-null-at-home-page-in-PyPI-importer.patch >From b3a7c4fb23dafe9ae3103c206a1cfc0a6676a0fc Mon Sep 17 00:00:00 2001 Message-ID: From: Evgeny Pisemsky Date: Fri, 22 Nov 2024 19:19:50 +0300 Subject: [PATCH] Fix null at home-page in PyPI importer Change-Id: I501582988cf58b00bd201c12ad47e9b095988fae --- guix/import/pypi.scm | 4 ++-- guix/packages.scm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm index 7b9f54a200..397ae5d5fd 100644 --- a/guix/import/pypi.scm +++ b/guix/import/pypi.scm @@ -114,8 +114,8 @@ (define-json-mapping make-project-info project-info? (license project-info-license) ;string (download-url project-info-download-url ;string | #f "download_url" non-empty-string-or-false) - (home-page project-info-home-page ;string - "home_page") + (home-page project-info-home-page ;string | #f + "home_page" non-empty-string-or-false) (url project-info-url "project_url") ;string (release-url project-info-release-url "release_url") ;string (version project-info-version)) ;string diff --git a/guix/packages.scm b/guix/packages.scm index f373136d22..950e262274 100644 --- a/guix/packages.scm +++ b/guix/packages.scm @@ -648,7 +648,7 @@ (define-record-type* (sanitize validate-texinfo)) ; one or two paragraphs (license package-license ; (list of) (sanitize validate-license)) - (home-page package-home-page) ; string + (home-page package-home-page) ; string | #f (supported-systems package-supported-systems ; list of strings (default %supported-systems)) base-commit: 2fec407b2745898d0a304c172a27dfe0a8787122 -- 2.46.0 --=-=-=--