From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uNGKIvJWd2BcVgAAgWs5BA (envelope-from ) for ; Wed, 14 Apr 2021 22:56:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id IG4jHPJWd2CDXAAAbx9fmQ (envelope-from ) for ; Wed, 14 Apr 2021 20:56:18 +0000 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 83FAF1A08B for ; Wed, 14 Apr 2021 22:56:17 +0200 (CEST) Received: from localhost ([::1]:59826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWmYZ-0008B6-KI for larch@yhetil.org; Wed, 14 Apr 2021 16:56:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45990) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWmYP-0008Aa-8G for guix-patches@gnu.org; Wed, 14 Apr 2021 16:56:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52583) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lWmYO-00024U-M2 for guix-patches@gnu.org; Wed, 14 Apr 2021 16:56:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lWmYO-0000dN-LL for guix-patches@gnu.org; Wed, 14 Apr 2021 16:56:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47593] [PATCH v2 4/6] gnu: Add python-uqbar. Resent-From: BonfaceKilz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 14 Apr 2021 20:56:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47593 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47593@debbugs.gnu.org Cc: BonfaceKilz , jgart@dismail.de, efraim@flashner.co.il Received: via spool by 47593-submit@debbugs.gnu.org id=B47593.16184337632407 (code B ref 47593); Wed, 14 Apr 2021 20:56:04 +0000 Received: (at 47593) by debbugs.gnu.org; 14 Apr 2021 20:56:03 +0000 Received: from localhost ([127.0.0.1]:35890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWmYI-0000bn-M3 for submit@debbugs.gnu.org; Wed, 14 Apr 2021 16:56:02 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:38155) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWmY7-0000ac-59 for 47593@debbugs.gnu.org; Wed, 14 Apr 2021 16:55:50 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 548A115CB; Wed, 14 Apr 2021 16:55:41 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 14 Apr 2021 16:55:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= bonfacemunyoki.com; h=from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=fm1; bh=EyeOhsGLtv0mMSQmnZKvW64Muw aYcrz9+IxTO1BY+ys=; b=QQBQfuDqttzfDofLZ7kd/szZC2A1q8gEbJBSb4Akeu MPG4FcWV4+d3tL+vJq6TgED85LHfgREI4XVYS9sOIEGvjZUMEc0F2iCVle+b3YGd DRJuAvWTGsfGS8td2c8h0KOhFEneJOxzm4pdJORu/OBmcSxYjOmtJO4hfuf3WAYR gQFLCu+6YERb3JhWP0Komahi+yCn8WvCucF2KPWUYsvU74+hOTrqk04N/FNlVdLj v0X4CiYTUKmzhfCan6QI+zYccGPIUa1PNjEpS7mo7h3IL3YvXBvwI4a/J1WI40dt T3LKNKwMTMAwQ7sk+N/3yaCrvQP4eJWmymBPRhna829w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=EyeOhsGLtv0mMSQmnZKvW64MuwaYcrz9+IxTO1BY+ ys=; b=eF0dikGKImkTCnbr6AkonMvERN+M3UwnHWMOXd2CdeIGkMSny68o+4rtN zo7FP5VF2GC9NznT4xNempguRvUo4nw2x9jjF0qT8esbvPQOj0qTKLmtkkKetWVr AO+qRMZtvBodUXpx+UXA4GaM+n2DNy73+dPX3Fbjjcdi6w/FcTWw24R9Y/fOLy79 aJnN3QB4RlRYg0lLPzYJArNCdUTaKLpzXDm3l+uoEtnMzXPv5tzU+9YaLglRUN5z YNWN4Kkp137/z7zmqulqF+GISBGouB8X7THl7CPSs6i9BGcMVMfL410gJhgrAesA YLJyXRI+GmfzScmL5a6AtD0CsDNzw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudeluddgudehjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfgggtgfesth ekredtredtjeenucfhrhhomhepuehonhhfrggtvgfmihhliicuoehmvgessghonhhfrggt vghmuhhnhihokhhirdgtohhmqeenucggtffrrghtthgvrhhnpeettdfggfekudfgueehud eivdefudekhedtfefgueefveevkedvueejieeuheffkeenucffohhmrghinhepghhithhh uhgsrdgtohhmnecukfhppeeguddrkedurddvrddufeehnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgvsegsohhnfhgrtggvmhhunhihohhk ihdrtghomh X-ME-Proxy: Received: from localhost.localdomain (unknown [41.81.2.135]) by mail.messagingengine.com (Postfix) with ESMTPA id CBFF21080068; Wed, 14 Apr 2021 16:55:37 -0400 (EDT) From: BonfaceKilz Date: Wed, 14 Apr 2021 23:55:00 +0300 Message-Id: <20210414205502.28792-5-me@bonfacemunyoki.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210414205502.28792-1-me@bonfacemunyoki.com> References: <20210414205502.28792-1-me@bonfacemunyoki.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618433777; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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=EyeOhsGLtv0mMSQmnZKvW64MuwaYcrz9+IxTO1BY+ys=; b=LikRYfwrjVbLeS0DdSr1qcSy+X52MLmGe6k5CgzF67V7NZKqs6TztZnl0Aeg2Dh9DGUA5R 8RtIDgc/4X4P2UC2dY3FQWqs4Xw9ILqQMnSTjJOHISY/1OK7py45CS1DTb+H5csZBGhoI+ CX6iH8aehPnS85Nb8tdt7iGDs8UdpGkpsNRfaUyFJqNW8UwWaLZJuomDT06oX7H1O4tPb+ an4SbwYFXgeU325s8WU5SmBoM2UDNa7/hul6gmI8N7nMM6W10K3bO2xMGsYgH3G6VTZX4B G6+nLyNc8zwBohIUGCHE6Kx/DlKAP5EtMubiACOZs0cu6NQr1dac9ZZnEICurQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618433777; a=rsa-sha256; cv=none; b=RUxc0eFHYxibOjHe9OSK8QnS9ywtH88lVxBX0jGVVFGJpOy/m22C/ju6sjd9LfJhZSoCmJ iiiurp5JvVNzDEUtPP5ZZcMOAY5eO4u9bm9sqCow8arIYJ78JJZBuyTd++M8VBtyrv+n24 fPEJUKT/yM+OUll+R0/cwuoaUm4H+sEfbs7yuIws1GVoSraQhtg3OQVzjuaZDWLNpdaoJ3 Glm+5lcn3CScbo2mBE4OPYhY/sACjhOXjWymzfdQkpU4zF+iJOCzESyYOlZJ6fTXKDVzkc tCDyhGK6zyjlQEkSrnTvWyDsEEhmzQxWd+tPWKnkDjzidgi+xrUEmaleLw9qXA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bonfacemunyoki.com header.s=fm1 header.b=QQBQfuDq; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=eF0dikGK; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.44 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bonfacemunyoki.com header.s=fm1 header.b=QQBQfuDq; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=eF0dikGK; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 83FAF1A08B X-Spam-Score: -0.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0O/b29xuvVnL * gnu/packages/graphviz.scm (python-uqbar): New variable. Co-authored-by: jgart --- gnu/packages/graphviz.scm | 55 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm index b5c4774d5c..29e151590e 100644 --- a/gnu/packages/graphviz.scm +++ b/gnu/packages/graphviz.scm @@ -9,6 +9,7 @@ ;;; Copyright © 2020 Marius Bakke ;;; Copyright © 2020 Vincent Legoll ;;; Copyright © 2020 Pjotr Prins +;;; Copyright © 2021 Bonface Munyoki Kilyungi ;;; ;;; This file is part of GNU Guix. ;;; @@ -48,7 +49,9 @@ #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) + #:use-module (gnu packages python-check) #:use-module (gnu packages python-xyz) + #:use-module (gnu packages sphinx) #:use-module (gnu packages swig) #:use-module (gnu packages tcl) #:use-module (gnu packages tex) @@ -242,6 +245,58 @@ structure and layout algorithms.") (define-public python2-pygraphviz (package-with-python2 python-pygraphviz)) +(define-public python-uqbar + (package + (name "python-uqbar") + (version "0.5.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/josiah-wolf-oberholtzer/uqbar") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0413nyhd8z8v3lvsgaghhafnyxg90fi1q80j1kbl21gpmpnc9a7n")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch + (lambda _ + (substitute* "setup.py" + ;; Latest versions of sphink-rtd-theme require npm to build. + (("sphinx-rtd-theme >= 0.4.0") "sphinx-rtd-theme >= 0.2.4") + (("black == 19.10b0") "black >= 19.10b0")) + #t)) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "python" "-m" "pytest" "tests")) + #t))))) + (native-inputs + `(("graphviz" ,graphviz) + ("python-black" ,python-black) + ("python-flake8" ,python-flake8) + ("python-isort" ,python-isort) + ("python-mypy" ,python-mypy) + ("python-sphinx" ,python-sphinx) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov))) + (propagated-inputs + `(("python-sphinx-rtd-theme" + ,python-sphinx-rtd-theme) + ("python-unidecode" ,python-unidecode))) + (home-page + "https://github.com/josiah-wolf-oberholtzer/uqbar") + (synopsis + "Tools for building documentation with Sphinx, Graphviz and LaTeX") + (description + "This package contains tools for building documentation with Sphinx, +Graphviz and LaTeX") + (license license:expat))) + (define-public gts (package (name "gts") -- 2.31.1