From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DDA7CC433F5 for ; Wed, 9 Feb 2022 17:03:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 86B8781316; Wed, 9 Feb 2022 17:03:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Yi2LfhfrJ7zR; Wed, 9 Feb 2022 17:03:39 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id BE027812F0; Wed, 9 Feb 2022 17:03:38 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 95FEE1BF47D for ; Wed, 9 Feb 2022 16:53:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 7C7A340150 for ; Wed, 9 Feb 2022 16:53:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W7TyPzKO3_hA for ; Wed, 9 Feb 2022 16:53:06 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by smtp2.osuosl.org (Postfix) with ESMTPS id 9BA7D40146 for ; Wed, 9 Feb 2022 16:53:06 +0000 (UTC) Received: (Authenticated sender: peter@korsgaard.com) by mail.gandi.net (Postfix) with ESMTPSA id B93F340008; Wed, 9 Feb 2022 16:53:04 +0000 (UTC) Received: from peko by dell.be.48ers.dk with local (Exim 4.92) (envelope-from ) id 1nHqDI-0001P2-BQ; Wed, 09 Feb 2022 17:53:04 +0100 From: Peter Korsgaard To: buildroot@buildroot.org Date: Wed, 9 Feb 2022 17:51:49 +0100 Message-Id: <20220209165213.4498-84-peter@korsgaard.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220209165213.4498-1-peter@korsgaard.com> References: <20220209165213.4498-1-peter@korsgaard.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 083/107] package/zfs: drop python2 support X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Jos=C3=A9=20Luis=20Salvador=20Rufo?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Signed-off-by: Peter Korsgaard --- package/zfs/zfs.mk | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/package/zfs/zfs.mk b/package/zfs/zfs.mk index 0e7e3e4e74..6b542f5c05 100644 --- a/package/zfs/zfs.mk +++ b/package/zfs/zfs.mk @@ -37,17 +37,7 @@ else ZFS_CONF_OPTS += --disable-systemd endif -# The optional PyZFS uses different scripts depending on the python -# version (ex: arc_summary2 or arc_summary3). -ifeq ($(BR2_PACKAGE_PYTHON),y) -ZFS_DEPENDENCIES += python python-setuptools host-python-cffi host-python-packaging -ZFS_CONF_ENV += \ - PYTHON=$(HOST_DIR)/usr/bin/python2 \ - PYTHON_CPPFLAGS="`$(STAGING_DIR)/usr/bin/python2-config --includes`" \ - PYTHON_LIBS="`$(STAGING_DIR)/usr/bin/python2-config --ldflags`" \ - PYTHON_SITE_PKG="/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages" -ZFS_CONF_OPTS += --enable-pyzfs -else ifeq ($(BR2_PACKAGE_PYTHON3),y) +ifeq ($(BR2_PACKAGE_PYTHON3),y) ZFS_DEPENDENCIES += python3 python-setuptools host-python-cffi host-python-packaging ZFS_CONF_ENV += \ PYTHON=$(HOST_DIR)/usr/bin/python3 \ -- 2.20.1 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot