From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id QGx5AofoH2SNQwAASxT56A (envelope-from ) for ; Sun, 26 Mar 2023 08:39:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 0DdpAofoH2SRNAEA9RJhRA (envelope-from ) for ; Sun, 26 Mar 2023 08:39:03 +0200 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 B55C02B5F0 for ; Sun, 26 Mar 2023 08:39:02 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=To0y2kVZ; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679812742; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: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=exutAe4yJRmo1ZU/eKa2ykajnPvU4ZnHEZ6tcg7JwFA=; b=fJQ5kx9e7r9eFvj5wZtrgq6XRiRp/ncbqm7dyzUeLiISS7ws9y39deZVd2w4DUBwPsHJ+x Kc4ETY9Sp8Ep7P3U15usnJ907ExpRlYGm0nhtPZ+qJRFZs9tqhUzqeIgNsHoQjb0BTMJth +xtdDG6goWc306KwP0j0p0MGwfX2HoCyGCXSsVLEqRWK0JG2sTZ9n8xYSnW+rTP5vfvAWS CSkCoswHDVWKHyk0ls5bE+w0OJBFPg3/r2gbB/O3B+JutUcZsNwZU73OL7Yn6nExfLntDT yK4Kd5Lk0w7NIz/BB1DqEdAFjCMn+Y5rHF0V/LY/9CFrV814aHTI6PC1nC/Qyw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679812742; a=rsa-sha256; cv=none; b=cfwgrGIv1i9KTqbX5E0/pXdEx1Glat+gnHPUqKET7kAnXmvNSElvc1PEeal0WXp0b2sT6g hfyfMXnKzZjUF1XT9/mvPlBVqez9bj7YQMMTEfhnqQchK1xhB4Zhjea8aNYbzRkLJo8WUh PSqJW09wBL0unvKdQOuTs57WkePQddDJ6shmOAjxMMEVUP30oHbzQk4f8YymBN4D5c4ke4 AsBzt0yWqIZg2+ADqMRmwcHZpR7q0Unjt04z679fQhakmtk73mnex5q+Cf8rBkJHDENqv0 PD4VhzZhSnNajU4WmqxFBdsrxPgR+2WVPWLuZLpWtouQLJH7Xrt0prTRbsOYyw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=To0y2kVZ; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pgK18-000099-WC; Sun, 26 Mar 2023 02:38:15 -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 1pgK14-00006D-KJ for guix-patches@gnu.org; Sun, 26 Mar 2023 02:38:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pgK14-0004fn-CM for guix-patches@gnu.org; Sun, 26 Mar 2023 02:38:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pgK14-0003c9-8n for guix-patches@gnu.org; Sun, 26 Mar 2023 02:38:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62252] [PATCH v3 19/19] gnu: Add python-clinguin. References: <291d52e688bb1d56ecd6561282fd9713bf237ed9.camel@gmail.com> In-Reply-To: <291d52e688bb1d56ecd6561282fd9713bf237ed9.camel@gmail.com> Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 Mar 2023 06:38:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62252 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62252@debbugs.gnu.org Received: via spool by 62252-submit@debbugs.gnu.org id=B62252.167981266513716 (code B ref 62252); Sun, 26 Mar 2023 06:38:10 +0000 Received: (at 62252) by debbugs.gnu.org; 26 Mar 2023 06:37:45 +0000 Received: from localhost ([127.0.0.1]:43957 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pgK0e-0003Z5-Lr for submit@debbugs.gnu.org; Sun, 26 Mar 2023 02:37:44 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:33636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pgK0G-0003Vh-Ez for 62252@debbugs.gnu.org; Sun, 26 Mar 2023 02:37:20 -0400 Received: by mail-wr1-f68.google.com with SMTP id j24so5582569wrd.0 for <62252@debbugs.gnu.org>; Sat, 25 Mar 2023 23:37:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679812635; h=mime-version:message-id:to:subject:date:from:from:to:cc:subject :date:message-id:reply-to; bh=exutAe4yJRmo1ZU/eKa2ykajnPvU4ZnHEZ6tcg7JwFA=; b=To0y2kVZgN3M2X/ld40BIvf9LDKD7wYsU4Qkv/yPBjkHm0QVxpcbWZhjd+zOtFdcRb JleS1ipZhXL0o7tq2FQAeLFAuyybE+sKP5cCXFYSx07Y/JGWWMdW81QYs2pGs8d/3CBW Iu5ImY8KA3r6Po3vbe/6ix53CsoSx5BSBI9GT+4wmGhHUEqPxH4XM8rJSIyAITnKFPfB v0M9TbgATGTvU21gH8duAUehtKEZMM79oZDJ2tVu3B2ZaLnIZj/T/DL5uuYEc7Oqy05U AeAYlKjcUOqCJDNb/QHbzjNx7NU7cuDqhWTgyAPRu3i6fzu8huzJQHPJxDvE7BXAKXf6 tD+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679812635; h=mime-version:message-id:to:subject:date:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=exutAe4yJRmo1ZU/eKa2ykajnPvU4ZnHEZ6tcg7JwFA=; b=MEgo2XpHu3wRCJQI3qXab6gbGzLcr/cXM7xyETIH8WvCyrkts8K5vE/k6c9YsHQv/4 pINVokOQJRKZVyypSJJBC5BbczQrCPA3Bk8eQrlw0uadvo+vk7Ryv/8BjBh7zbCVXXmc BK+OjzD0WKvU/ZfcYYLM/vpbVcz3FznbyMTjg2flBvmzVEBPIQRAcPlB8VYrk+/jxDmA mvCC2RKOBLoU+soqCwq7J+XSpdLB5yo6kLAB8GJVRAImBbxbGO23HhGzTkCqOJGxjHvo IYEgG5JnfSsOqmnLcinAVr/xw9SNVB50deUsgofBr4600TmZbgjmqFwXZoa22JGkAd2n XhJg== X-Gm-Message-State: AAQBX9et5ZBgJEA/baAVvk68wIZIn5xsMeDzRFt4dYLCaSnq9OE1Yi3X IiMliGOKVzLviLDzkWexZd/9PyVv58inog== X-Google-Smtp-Source: AKy350b4onMJAZxbOonB2RdjphfcVV9Rj75Y7HWYS+1sna84TYd+B+auWcEC/MHEuL3hPHmx3UonQQ== X-Received: by 2002:a5d:4349:0:b0:2de:ffec:e48a with SMTP id u9-20020a5d4349000000b002deffece48amr1927563wrr.29.1679812634953; Sat, 25 Mar 2023 23:37:14 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id z6-20020a056000110600b002c557f82e27sm21953707wrw.99.2023.03.25.23.37.14 for <62252@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Mar 2023 23:37:14 -0700 (PDT) From: Liliana Marie Prikler Date: Sat, 18 Mar 2023 10:01:48 +0100 Message-ID: <146d47eb275d86a7f51b3727f114d998774628ed.camel@gmail.com> 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: X-Migadu-Queue-Id: B55C02B5F0 X-Spam-Score: -0.43 X-Migadu-Spam-Score: -0.43 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: jLlUtUKSdfrj * gnu/packages/potassco.scm (python-clinguin): New variable. --- gnu/packages/potassco.scm | 49 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/gnu/packages/potassco.scm b/gnu/packages/potassco.scm index 0e6973d980..a3e33ea249 100644 --- a/gnu/packages/potassco.scm +++ b/gnu/packages/potassco.scm @@ -35,7 +35,9 @@ (define-module (gnu packages potassco) #:use-module (gnu packages libffi) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) - #:use-module (gnu packages python-xyz)) + #:use-module (gnu packages python-web) + #:use-module (gnu packages python-xyz) + #:use-module (gnu packages sphinx)) (define-public libpotassco ;; No public release, update together with clasp @@ -374,3 +376,48 @@ (define-public python-clingraph "This package provides a clingo-based visualizer for graphs defined as logic programs.") (license license:expat))) + +(define-public python-clinguin + (package + (name "python-clinguin") + (version "1.0.0-beta") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/potassco/clinguin") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "032fnzxv6wl01sdq7n2k0ikajpmkg8ihjh5mck1mwjvmis8z16d4")) + (modules '((guix build utils))) + (snippet + #~(begin + (substitute* "setup.cfg" + ;; Fun fact of the day + ;; some typo squatter hosted + ;; a package named tk + (("tk") "") + (("typing") "typing;python_version<\"3.5\"")))))) + (build-system pyproject-build-system) + (propagated-inputs + (list python-clingo + python-clorm + python-clingraph + python-fastapi + python-httpx + python-nbconvert + python-nbformat + python-nbsphinx + python-networkx + python-pillow + python-pydantic + `(,python "tk") + python-sphinx-rtd-theme + python-traitlets + python-uvicorn)) + (home-page "https://github.com/potassco/clingraph") + (synopsis "Clingo-based interactive UI") + (description "Clinguin is a graphical user interface toolkit for clingo, +which allows user interfaces to be specified entirely as a logic program.") + (license license:expat))) -- 2.39.2