From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E8135158041 for ; Mon, 26 Feb 2024 14:41:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 24511E2AD3; Mon, 26 Feb 2024 14:41:21 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 02C06E2AD3 for ; Mon, 26 Feb 2024 14:41:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3694B33BDE1 for ; Mon, 26 Feb 2024 14:41:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9A24911CF for ; Mon, 26 Feb 2024 14:41:18 +0000 (UTC) From: "Matthew Smith" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthew Smith" Message-ID: <1708958389.6595e07cab120ebc8bc8804b8f090a6698d02315.matthew@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/mu/, net-mail/mu/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-mail/mu/files/mu-1.12.0-no-python.patch net-mail/mu/mu-1.12.0.ebuild X-VCS-Directories: net-mail/mu/ net-mail/mu/files/ X-VCS-Committer: matthew X-VCS-Committer-Name: Matthew Smith X-VCS-Revision: 6595e07cab120ebc8bc8804b8f090a6698d02315 X-VCS-Branch: master Date: Mon, 26 Feb 2024 14:41:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7767b23b-059e-42da-9431-fafe018bbfbb X-Archives-Hash: 43e0d6f7c04f9c20f938ec0c3e8ff06c commit: 6595e07cab120ebc8bc8804b8f090a6698d02315 Author: Matthew Smith gentoo org> AuthorDate: Mon Feb 26 14:39:49 2024 +0000 Commit: Matthew Smith gentoo org> CommitDate: Mon Feb 26 14:39:49 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6595e07c net-mail/mu: fix build without python3 Avoid dependency on Python. Closes: https://bugs.gentoo.org/925503 Signed-off-by: Matthew Smith gentoo.org> net-mail/mu/files/mu-1.12.0-no-python.patch | 30 +++++++++++++++++++++++++++++ net-mail/mu/mu-1.12.0.ebuild | 4 ++++ 2 files changed, 34 insertions(+) diff --git a/net-mail/mu/files/mu-1.12.0-no-python.patch b/net-mail/mu/files/mu-1.12.0-no-python.patch new file mode 100644 index 000000000000..9840da22ca33 --- /dev/null +++ b/net-mail/mu/files/mu-1.12.0-no-python.patch @@ -0,0 +1,30 @@ +https://bugs.gentoo.org/925503 + +Call coreutils date instead of a Python script. +--- a/meson.build ++++ b/meson.build +@@ -104,17 +104,16 @@ cxx.check_header('charconv', required:true) + build_aux = join_paths(meson.current_source_dir(), 'build-aux') + ################################################################################ + # derived date values (based on 'mu-date'); used in docs +-# we can't use the 'date' because MacOS 'date' is incompatible with GNU's. +-pdate=find_program(join_paths(build_aux, 'date.py')) ++date=find_program('date', required:true) + env = environment() + env.set('LANG', 'C') +-mu_day_month_year = run_command(pdate, mu_date, '%d %B %Y', ++mu_day_month_year = run_command(date, '-u', '+%d %B %Y', '--date', mu_date, + check:true, capture:true, + env: env).stdout().strip() +-mu_month_year = run_command(pdate, mu_date, '%B %Y', ++mu_month_year = run_command(date, '-u', '+%B %Y', '--date', mu_date, + check:true, capture:true, + env: env).stdout().strip() +-mu_year = run_command(pdate, mu_date, '%Y', ++mu_year = run_command(date, '-u', '+%Y', '--date', mu_date, + check:true, capture:true, env: env).stdout().strip() + + ################################################################################ +-- +2.44.0 + diff --git a/net-mail/mu/mu-1.12.0.ebuild b/net-mail/mu/mu-1.12.0.ebuild index 4df4e56cb6e2..8152dc0b9a0e 100644 --- a/net-mail/mu/mu-1.12.0.ebuild +++ b/net-mail/mu/mu-1.12.0.ebuild @@ -27,7 +27,11 @@ BDEPEND=" " PATCHES=( + # https://github.com/djcb/mu/pull/2632 "${FILESDIR}"/${PN}-1.12.0-cld2-opt.patch + + # https://bugs.gentoo.org/925503 + "${FILESDIR}"/${PN}-1.12.0-no-python.patch ) SITEFILE="70mu-gentoo-autoload.el"