From patchwork Sat Feb 24 07:57:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liliana Marie Prikler X-Patchwork-Id: 60993 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 24B7B27BBEA; Sat, 24 Feb 2024 12:54:52 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1998B27BBE2 for ; Sat, 24 Feb 2024 12:54:48 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rdrY9-0007Ae-4U; Sat, 24 Feb 2024 07:54:41 -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 1rdrY6-00079t-Qd for guix-patches@gnu.org; Sat, 24 Feb 2024 07:54:38 -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 1rdrY6-0008UW-H9 for guix-patches@gnu.org; Sat, 24 Feb 2024 07:54:38 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rdrYU-0005fY-4P for guix-patches@gnu.org; Sat, 24 Feb 2024 07:55:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69352] [PATCH 09/13] gnu: python-clingo-dl: Fix build. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 24 Feb 2024 12:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69352 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69352@debbugs.gnu.org Received: via spool by 69352-submit@debbugs.gnu.org id=B69352.170877926521690 (code B ref 69352); Sat, 24 Feb 2024 12:55:02 +0000 Received: (at 69352) by debbugs.gnu.org; 24 Feb 2024 12:54:25 +0000 Received: from localhost ([127.0.0.1]:54295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdrXs-0005dl-Vz for submit@debbugs.gnu.org; Sat, 24 Feb 2024 07:54:25 -0500 Received: from mail-lj1-f172.google.com ([209.85.208.172]:42164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdrXq-0005dK-G6 for 69352@debbugs.gnu.org; Sat, 24 Feb 2024 07:54:22 -0500 Received: by mail-lj1-f172.google.com with SMTP id 38308e7fff4ca-2d281d953e0so1180041fa.0 for <69352@debbugs.gnu.org>; Sat, 24 Feb 2024 04:53:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708779172; x=1709383972; darn=debbugs.gnu.org; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :from:to:cc:subject:date:message-id:reply-to; bh=lLFp7XLhku9HEpFRMmQCX+uINqYHuic9amRRJw+0bmc=; b=VaLTKyv8K/FTV5Rs17yE75kZQK/7eSpuxG4+dnGD4ysLCAlnWlMKY2PI1WWMOOpHMm L+vXrSgIrUJfalbkDm3jemst0YqrNnfYPv4n2r1/y6e9he5/fP8r24MaECxBAT5KcBls bO3bDmgGZyUUDmtA+qyXWLz3j+LIYy/fFc5C78vm5oekFGTcRHwGSWqOwSNa1F3GYXau IxGsycbZvGBrLUJ+bEFW4EYQHqWgx5Y1GdWGvl7qqNgIJd6NEg+45V51y5Hn7Ix0PC28 CkMfs6+lH+H/mqDntDKIgYKxusuLTpVszdywEvKWRKcrAipnl+Ksvq9Z//8IBS+vfShI be3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708779172; x=1709383972; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=lLFp7XLhku9HEpFRMmQCX+uINqYHuic9amRRJw+0bmc=; b=CEtEsKaf5kYxvSvl8G3YVlPqLiPOpaJNVVhdwxtbhMaYpfCzw0s+S4PwN9bkjTQQhS r+0eRmbRmy44qHdnAXHoTkgylqopJF8xCbLgW60Px9TsKrrTaxnTdH/ZpDwn/n9//uvA p6Jf7gHERf3ARNmScp2rOWrnr9LALWIfWC5tWZcEVfLUQYLHpoUjZfloUs65lO9hCer1 d7MGhGnr7kyRMw1TyAF6EAS6phF0uLIFYxUyUIr3Mi7P69GjndSyoIhMfKcqJEXBsCK3 aHVReFapJMVH4sS14uXG6LaQJTWbnbghCleZgeJp9Rrvftm49at2t23IM6C8HV3QIdMv tR0Q== X-Gm-Message-State: AOJu0YyyNksLjjQ7HJnAjoQvZNdWSQxcutfkkwzJuH3vlHh7l79hFQoy 62da01WJOFm8bTxeZuOJN5muLlK/1nWQdwaZeEqG6Ks6cugUDeJFCUewUkMn X-Google-Smtp-Source: AGHT+IFyFrINc62LCV/9wa4DiKO1oPcqVW2I2C1tMrSe/uudHY4Banw3ZXrrx5KJz7ZHQaSco5K16w== X-Received: by 2002:a17:906:6d09:b0:a43:4f4:e538 with SMTP id m9-20020a1709066d0900b00a4304f4e538mr291335ejr.10.1708778741032; Sat, 24 Feb 2024 04:45:41 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id lf6-20020a170906ae4600b00a3d12d84cffsm551900ejb.167.2024.02.24.04.45.40 for <69352@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 04:45:40 -0800 (PST) Message-ID: <674aae1064fe68d4715f5904e466778b46868b94.1708771294.git.liliana.prikler@gmail.com> In-Reply-To: References: From: Liliana Marie Prikler Date: Sat, 24 Feb 2024 08:57:41 +0100 MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/potassco.scm (python-clingo-dl)[#:configure-flags]: Add flag for CMAKE_MODULE_PATH. [native-inputs]: Add python-scikit-build. --- gnu/packages/potassco.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gnu/packages/potassco.scm b/gnu/packages/potassco.scm index 16cff245e7..e1dbaefa98 100644 --- a/gnu/packages/potassco.scm +++ b/gnu/packages/potassco.scm @@ -411,7 +411,11 @@ (define-public python-clingo-dl (version (package-version clingo-dl)) (arguments (list - #:configure-flags #~'("-DPYCLINGODL_ENABLE=pip") + #:configure-flags + #~(list "-DPYCLINGODL_ENABLE=pip" + (string-append "-DCMAKE_MODULE_PATH=" + #$(this-package-native-input "python-scikit-build") + "/lib/cmake/modules")) #:tests? #f #:imported-modules `(,@%cmake-build-system-modules (guix build python-build-system)) @@ -433,6 +437,8 @@ (define-public python-clingo-dl (inputs (modify-inputs (package-inputs clingo-dl) (prepend python-wrapper))) (propagated-inputs (list python-clingo python-cffi)) + (native-inputs (modify-inputs (package-native-inputs clingo-dl) + (prepend python-scikit-build))) (synopsis "Python bindings for clingo-dl") (description "This package allows users to add the clingo-dl propagator as a theory to clingo from Python code. It also supports running clingo-dl