unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: 62252@debbugs.gnu.org
Subject: [bug#62252] [PATCH v3 19/19] gnu: Add python-clinguin.
Date: Sat, 18 Mar 2023 10:01:48 +0100	[thread overview]
Message-ID: <146d47eb275d86a7f51b3727f114d998774628ed.camel@gmail.com> (raw)
In-Reply-To: <291d52e688bb1d56ecd6561282fd9713bf237ed9.camel@gmail.com>

* 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





  parent reply	other threads:[~2023-03-26  6:39 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-18  9:24 [bug#62252] [PATCH 00/19] Add python-clinguin Liliana Marie Prikler
2023-03-17 19:19 ` [bug#62252] [PATCH v2 07/19] gnu: Add python-pluggy-next Felix Gruber
2023-03-17 19:19 ` [bug#62252] [PATCH " Felix Gruber
2023-03-18  6:49 ` [bug#62252] [PATCH 01/19] gnu: Add python-imageio-ffmpeg Liliana Marie Prikler
2023-03-18  6:49 ` [bug#62252] [PATCH v3 " Liliana Marie Prikler
2023-03-18  6:49 ` [bug#62252] [PATCH v2 " Liliana Marie Prikler
2023-03-18  6:51 ` [bug#62252] [PATCH v3 02/19] gnu: python-imageio: Update to 2.26.0 Liliana Marie Prikler
2023-03-18  6:51 ` [bug#62252] [PATCH " Liliana Marie Prikler
2023-03-18  6:51 ` [bug#62252] [PATCH v2 " Liliana Marie Prikler
2023-03-18  7:23 ` [bug#62252] [PATCH v2 03/19] gnu: Separate potassco packages into their own module Liliana Marie Prikler
2023-03-18  7:23 ` [bug#62252] [PATCH v3 " Liliana Marie Prikler
2023-03-18  7:23 ` [bug#62252] [PATCH " Liliana Marie Prikler
2023-03-18  7:34 ` [bug#62252] [PATCH 04/19] gnu: Add python-clingraph Liliana Marie Prikler
2023-03-18  7:34 ` [bug#62252] [PATCH v3 " Liliana Marie Prikler
2023-03-18  7:34 ` [bug#62252] [PATCH v2 " Liliana Marie Prikler
2023-03-18  7:34 ` [bug#62252] [PATCH v3 05/19] gnu: python-pathspec: Update to 0.11.0 Liliana Marie Prikler
2023-03-18  7:34 ` [bug#62252] [PATCH " Liliana Marie Prikler
2023-03-18  7:34 ` [bug#62252] [PATCH v2 " Liliana Marie Prikler
2023-03-18  7:34 ` [bug#62252] [PATCH v3 06/19] gnu: python-pathspec: Revise description Liliana Marie Prikler
2023-03-18  7:34 ` [bug#62252] [PATCH " Liliana Marie Prikler
2023-03-18  7:34 ` [bug#62252] [PATCH v2 " Liliana Marie Prikler
2023-03-18  7:43 ` [bug#62252] [PATCH v3 07/19] gnu: python-pathspec: Move to (gnu packages python-build) Liliana Marie Prikler
2023-03-18  7:43 ` [bug#62252] [PATCH v2 08/19] " Liliana Marie Prikler
2023-03-18  7:43 ` [bug#62252] [PATCH " Liliana Marie Prikler
2023-03-18  7:44 ` [bug#62252] [PATCH 09/19] gnu: python-pluggy: " Liliana Marie Prikler
2023-03-18  7:44 ` [bug#62252] [PATCH v3 08/19] " Liliana Marie Prikler
2023-03-18  7:44 ` [bug#62252] [PATCH v2 09/19] " Liliana Marie Prikler
2023-03-18  7:44 ` [bug#62252] [PATCH v3 10/19] gnu: python-hatchling: Move to (gnu packages build) Liliana Marie Prikler
2023-03-18  7:44 ` [bug#62252] [PATCH 10/19] gnu: Add python-hatchling Liliana Marie Prikler
2023-03-18  7:44 ` [bug#62252] [PATCH v2 " Liliana Marie Prikler
2023-03-18  7:48 ` [bug#62252] [PATCH 11/19] gnu: python-starlette: Update to 0.25.0 Liliana Marie Prikler
2023-03-18  7:48 ` [bug#62252] [PATCH v3 " Liliana Marie Prikler
2023-03-18  7:48 ` [bug#62252] [PATCH v2 " Liliana Marie Prikler
2023-03-18  7:51 ` [bug#62252] [PATCH v3 12/19] gnu: python-sqlalchemy: Update to 1.4.42 Liliana Marie Prikler
2023-03-18  7:51 ` [bug#62252] [PATCH " Liliana Marie Prikler
2023-03-18  7:51 ` [bug#62252] [PATCH v2 " Liliana Marie Prikler
2023-03-18  7:57 ` [bug#62252] [PATCH 14/19] gnu: python-aiomysql: Update to 0.1.1 Liliana Marie Prikler
2023-03-18  7:57 ` [bug#62252] [PATCH v3 " Liliana Marie Prikler
2023-03-18  7:57 ` [bug#62252] [PATCH v2 " Liliana Marie Prikler
2023-03-18  8:19 ` [bug#62252] [PATCH 13/19] gnu: python-pymysql: Update to 1.0.2 Liliana Marie Prikler
2023-03-18  8:19 ` [bug#62252] [PATCH v2 " Liliana Marie Prikler
2023-03-18  8:19 ` [bug#62252] [PATCH v3 " Liliana Marie Prikler
2023-03-18  8:43 ` [bug#62252] [PATCH 15/19] gnu: python-aiosqlite: Update to 0.18.0 Liliana Marie Prikler
2023-03-18  8:43 ` [bug#62252] [PATCH v2 " Liliana Marie Prikler
2023-03-18  8:43 ` [bug#62252] [PATCH v3 " Liliana Marie Prikler
2023-03-18  8:47 ` [bug#62252] [PATCH v3 16/19] gnu: python-databases: Update to 0.7.0 Liliana Marie Prikler
2023-03-18  8:47 ` [bug#62252] [PATCH v2 " Liliana Marie Prikler
2023-03-18  8:47 ` [bug#62252] [PATCH " Liliana Marie Prikler
2023-03-18  8:48 ` [bug#62252] [PATCH v3 17/19] gnu: python-databases: Revise description Liliana Marie Prikler
2023-03-18  8:48 ` [bug#62252] [PATCH v2 " Liliana Marie Prikler
2023-03-18  8:48 ` [bug#62252] [PATCH " Liliana Marie Prikler
2023-03-18  8:59 ` [bug#62252] [PATCH 18/19] gnu: Add python-fastapi Liliana Marie Prikler
2023-03-18  8:59 ` [bug#62252] [PATCH v3 " Liliana Marie Prikler
2023-03-18  8:59 ` [bug#62252] [PATCH v2 " Liliana Marie Prikler
2023-03-18  9:01 ` [bug#62252] [PATCH 19/19] gnu: Add python-clinguin Liliana Marie Prikler
2023-03-18  9:01 ` Liliana Marie Prikler [this message]
2023-03-18  9:01 ` [bug#62252] [PATCH v2 " Liliana Marie Prikler
2023-03-26  6:19 ` [bug#62252] [PATCH v3 09/19] gnu: python-hatchling: Use upstream homepage Liliana Marie Prikler
2023-03-26  7:55   ` Ricardo Wurmus
2023-03-26  8:23     ` Liliana Marie Prikler
2023-03-26 10:14       ` Ricardo Wurmus
2023-04-02 10:49         ` Liliana Marie Prikler
2023-05-09 17:57 ` bug#62252: [PATCH 00/19] Add python-clinguin Ricardo Wurmus
2023-05-09 19:45   ` [bug#62252] " Liliana Marie Prikler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=146d47eb275d86a7f51b3727f114d998774628ed.camel@gmail.com \
    --to=liliana.prikler@gmail.com \
    --cc=62252@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).