From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4H2tHKOZdWBWlAAAgWs5BA (envelope-from ) for ; Tue, 13 Apr 2021 15:16:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id WNGrFqOZdWACJgAAB5/wlQ (envelope-from ) for ; Tue, 13 Apr 2021 13:16:19 +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 05D2512D5B for ; Tue, 13 Apr 2021 15:16:19 +0200 (CEST) Received: from localhost ([::1]:56708 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWItu-0003bV-6L for larch@yhetil.org; Tue, 13 Apr 2021 09:16:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42960) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWItf-0003ap-DE for guix-patches@gnu.org; Tue, 13 Apr 2021 09:16:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47754) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lWItf-0000Ya-5r for guix-patches@gnu.org; Tue, 13 Apr 2021 09:16:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lWItf-0003wW-2M for guix-patches@gnu.org; Tue, 13 Apr 2021 09:16:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47593] [PATCH 3/6] gnu: python-xyz: Add python-uqbar. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 13 Apr 2021 13:16:03 +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: BonfaceKilz Cc: 47593@debbugs.gnu.org, jgart@dismail.de Received: via spool by 47593-submit@debbugs.gnu.org id=B47593.161831973615099 (code B ref 47593); Tue, 13 Apr 2021 13:16:03 +0000 Received: (at 47593) by debbugs.gnu.org; 13 Apr 2021 13:15:36 +0000 Received: from localhost ([127.0.0.1]:59296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWIt6-0003vI-R0 for submit@debbugs.gnu.org; Tue, 13 Apr 2021 09:15:36 -0400 Received: from flashner.co.il ([178.62.234.194]:55804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWIt4-0003v4-4u for 47593@debbugs.gnu.org; Tue, 13 Apr 2021 09:15:27 -0400 Received: from localhost (unknown [31.210.177.71]) by flashner.co.il (Postfix) with ESMTPSA id 5BA0D40215; Tue, 13 Apr 2021 13:15:20 +0000 (UTC) Date: Tue, 13 Apr 2021 16:14:28 +0300 From: Efraim Flashner Message-ID: References: <20210404122005.33127-1-me@bonfacemunyoki.com> <20210404122005.33127-4-me@bonfacemunyoki.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="hRg0JFu6Xabdg4zU" Content-Disposition: inline In-Reply-To: <20210404122005.33127-4-me@bonfacemunyoki.com> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 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=1618319779; 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: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; bh=K5be/DPHQoNF/DFgzy9S7Xhx7iqiz1J6hyV6vIrR6KQ=; b=o8UzIxSyadfn80GK6Su0cfr42yvpCcjqtNm8OlPCsoK6gkiAEZVrPcKebecqb7sXC44MVd ob5UNywcL2Ac3s/3QdEqIPFvaBN1Bm6mnE3RUgPpC4eRKW7qUVP+krpexsYJpZ8C37P5vm lktGFHyPvk+tDZkcNXQpehpj5RTO9HTU5ILboHIaiR57CUbkMgfr5sPQSp5VsdAE0m6W/Q le/qh3WKHPB8VEN4lT5NsgfbXrq0rEnlU0M+MH+PgzOR9FCelmAy8SaOXnEyut2FcghrMD Yucvv8A9egDJa6l1Odas6Ult6J+FvBHws8odfA0tfRB9mmXDwwTF76s/yTorGQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618319779; a=rsa-sha256; cv=none; b=BAAGWvAbT3cifyqCF/kGNIRXt0o8YqTUzsIEGNbSYyrrlUKmDIqXbmSag6daMoj2ySh0RD TF8tluar6RbrJ0LJtFNUgSY7btaCnjmy+zRt98axuf4dTUVQGCGDhZl86OnqSPsfmuQW0Z wO5kJNVSeRIklDqe948s6WtxqR0E9URX5lyMRkqRyn4MXxk7q4pHk8DQwOXOUg0LFgIWH9 Y1q2+BVvw3bGe9KhrNo3a2/w3o4HYo9lwaei+PehLX6i1J+d95ZO5fIF9sYmFteqjhAJnH v049s12y5/EEw5woa8kYegK1TeAGzcVTnbkEV/+37PlEN7WCKUb4NH1FaygYVQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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: -4.64 Authentication-Results: aspmx1.migadu.com; dkim=none; 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: 05D2512D5B X-Spam-Score: -4.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: naAUVu6lkXLy --hRg0JFu6Xabdg4zU Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I haven't tried building this package yet. The sphinx packages are in sphinx.scm and the graphviz packages are in graphviz.scm. I think I would put it in graphviz. On Sun, Apr 04, 2021 at 03:20:02PM +0300, BonfaceKilz wrote: > * gnu/packages/python-xyz.scm (python-uqbar): New variable. >=20 > Co-authored-by: jgart > --- > gnu/packages/python-xyz.scm | 52 ++++++++++++++++++++++++++++++++++++- > 1 file changed, 51 insertions(+), 1 deletion(-) >=20 > diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm > index b69ea2e32a..63eecb591f 100644 > --- a/gnu/packages/python-xyz.scm > +++ b/gnu/packages/python-xyz.scm > @@ -88,7 +88,7 @@ > ;;; Copyright =C2=A9 2020 Malte Frank Gerdes > ;;; Copyright =C2=A9 2020 Joseph LaFreniere > ;;; Copyright =C2=A9 2020 Tim Gesthuizen > -;;; Copyright =C2=A9 2020 Bonface Munyoki Kilyungi > +;;; Copyright =C2=A9 2020, 2021 Bonface Munyoki Kilyungi > ;;; Copyright =C2=A9 2020 Ekaitz Zarraga > ;;; Copyright =C2=A9 2020 Diego N. Barbato > ;;; Copyright =C2=A9 2020 Leo Prikler > @@ -24258,3 +24258,53 @@ iGoogle subscription lists.") > (description > "Small helper library to convert arabic to roman numerals.") > (license license:psfl))) > + > +(define-public python-uqbar > + (package > + (name "python-uqbar") > + (version "0.5.1") > + (source > + (origin > + (method url-fetch) > + (uri > + (string-append > + "https://github.com/josiah-wolf-oberholtzer/" > + "uqbar/archive/refs/tags/v" version ".tar.gz")) guix lint should've caught this. If the pypi version from 'guix import ppyi uqbar' doesn't work for building then you should use git-fetch to download the source. The github archive URLs tend to get regenerated =66rom time to time. > + (sha256 > + (base32 > + "02kfvwh94ca0y3hsfrc071ga3g3vqflhyv4w4hif34dyj2skvpa8")))) > + (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 bui= ld. > + (("sphinx-rtd-theme >=3D 0.4.0") "sphinx-rtd-theme >=3D 0= =2E2.4") > + (("black =3D=3D 19.10b0") "black >=3D 19.10b0")) > + #t)) > + (replace 'check > + (lambda _ > + (invoke "python" "-m" "pytest" "tests") We want the ability to skip the tests, so this should be (lambda* (#:key tests? #:allow-other-keys) (when tests? (invoke ... > + #t))))) > + (propagated-inputs > + `(("graphviz" ,graphviz) Is it possible to substitute the actual calls to the graphviz binaries in the package? We don't want to have to propagate non-python packages. > + ("python-black" ,python-black) > + ("python-sphinx" ,python-sphinx) > + ("python-sphinx-rtd-theme" > + ,python-sphinx-rtd-theme) > + ("python-unidecode" ,python-unidecode))) > + (native-inputs > + `(("python-flake8" ,python-flake8) > + ("python-isort" ,python-isort) > + ("python-mypy" ,python-mypy) > + ("python-pytest" ,python-pytest) > + ("python-pytest-cov" ,python-pytest-cov))) > + (home-page > + "https://github.com/josiah-wolf-oberholtzer/uqbar") > + (synopsis > + "Tools for building documentation with Sphinx, Graphviz and LaTeX") > + (description > + "Tools for building documentation with Sphinx, Graphviz and LaTeX") This should be a full sentence. > + (license license:expat))) > --=20 > 2.31.0 >=20 >=20 >=20 >=20 --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --hRg0JFu6Xabdg4zU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmB1mTQACgkQQarn3Mo9 g1GIeg//WE1Y5NR3g7suowJKvA5XLQRi9/PWabZ7pxkAPSUw2+vxCP3M17a0JE7S 6Cbj+Da5bTXweERqjLuux8MX81qkGmrgMyIDHVnKQhlaSpfm7K1DOpdIRjsZWetm FKp8NRm5cCwC2SA1PYVClmgJbww3buhO8COAYNZF7lhHBB5+8+sWH+RKJAjWv6Lb 4PLHaynGil+EuS+hDPiIWvPaaik9yq8h16R9GDTokpG1mVHEYlbR2kTi6vNZ7S0c duEeNkrzpm91MHY6szX4Z+FmLdoI1DC5lrqv+Dyjgdnn086YSnesWNh1HqldyRKA xPK8zM7hBk9BKOU6cNJ5Mc1mP+S/xaROgEcQTXkY+ElLCHJJLNzUU3p04Z26Gi7l iDyFhj/ew8aWrJvdDhiaqv58omPLZl4yQwfD5EFQohQIpqcWxPLcFL79VC3M58Q6 As5uWRrwiOBou2K9H4MU2/bxs33+szMXOOJSVCROoG3CwwDtVSeioJAT+wq45R31 y19pMv8FCkBLdtjfGSNvVDXvo1+4H4cHmP6QKI+F60v7BiHJOiNPA7VN2Pxxvs6L RZGiDNoTZmunyiBTzuV1V3kROTk1bMSqXzGZP9BOBDorNpK+PmdoCdQH5fjZ1pje mnQm5isbQxLUeiTM7uXvW7pOca5tgt40VHqyz3S20ftqgolsdD4= =zeik -----END PGP SIGNATURE----- --hRg0JFu6Xabdg4zU--