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 ms5.migadu.com with LMTPS id UCaZGP8hZmJlYgAAbAwnHQ (envelope-from ) for ; Mon, 25 Apr 2022 06:22:23 +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 wGeSGP8hZmLzhAEA9RJhRA (envelope-from ) for ; Mon, 25 Apr 2022 06:22:23 +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 1B50829E6B for ; Mon, 25 Apr 2022 06:22:23 +0200 (CEST) Received: from localhost ([::1]:45452 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1niqEw-0001wn-1c for larch@yhetil.org; Mon, 25 Apr 2022 00:22:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nipvT-0007zi-Ti for guix-patches@gnu.org; Mon, 25 Apr 2022 00:02:16 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38775) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nipvR-0001jN-O2 for guix-patches@gnu.org; Mon, 25 Apr 2022 00:02:15 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nipvR-0008Cy-L1 for guix-patches@gnu.org; Mon, 25 Apr 2022 00:02:13 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55104] [PATCH 067/232] gnu: Add python-ubelt. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Apr 2022 04:02:13 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55104 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55104@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 55104-submit@debbugs.gnu.org id=B55104.165085931531255 (code B ref 55104); Mon, 25 Apr 2022 04:02:13 +0000 Received: (at 55104) by debbugs.gnu.org; 25 Apr 2022 04:01:55 +0000 Received: from localhost ([127.0.0.1]:60844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nipv8-00087w-Of for submit@debbugs.gnu.org; Mon, 25 Apr 2022 00:01:55 -0400 Received: from mail-qk1-f180.google.com ([209.85.222.180]:44645) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nipts-0007qx-Bh for 55104@debbugs.gnu.org; Mon, 25 Apr 2022 00:00:36 -0400 Received: by mail-qk1-f180.google.com with SMTP id b189so9953919qkf.11 for <55104@debbugs.gnu.org>; Sun, 24 Apr 2022 21:00:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+CIl2Wc6LaRu0GK4GiNfhpWk3633saBUaSi0rEzX7H4=; b=dn15PnKuCvGq1NkhowcMEEYRTY/M3ZqJhnaImEVr/rqhvSfypEEVkEPVOulXjK4TGa 3nhU2tIzt0hnY1UgblqgrIpuyfEIQeTvUopHtJAIcIpWi+WjBKyOFIz7B4Q3VIECEtQf Qk3sZYGkPZI43yAEPlpykypt96xRG0gHSZC7YZlnHtY90XoF05XODcYDPUJFrklNK61C nzCfz02+31FBfnaQiWyS0N1bX334+DIcjcy87cTvFVtDNTgH8TGirffEHACh9uUJfRsH 44fVodOj5FvCeOptNdIWHxbGsXHm0NRDOWaFXNFlF3488Ly0XFHbtfORZvgUqQTBUeLP PEUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+CIl2Wc6LaRu0GK4GiNfhpWk3633saBUaSi0rEzX7H4=; b=f0cK11OFF8ivjRw8RmIwdzwqnL2BfymTEJIyXIuNjJphxBoRLZ1Jz9QLb2OrLxr7fC dkBS9lOy0vwsuHy2OG7I/RAdHIWeGFAaM7e7I5A++13b5FZjZT0+xjVQd86t4BjGD0Y5 pdrTBEQck6x1mZiVbGC0CiA5DwPQL8rcIVSvsQJFJtbIMl8eQv8TiZw7+hvimM33UyYH RbwKLcnK+PpE6+RcSMzw1s2T55rBO1Ye4Ha7mYAANshfPyzgRG7ZtWKp7pSmHKgRnF3y fVq77ANbZx96Kfdlbsb2595YlgqDALbLNqr/LNIQ+T6WOmpmUL4aMi2CY/9tuvDlnXjd OGwg== X-Gm-Message-State: AOAM531HfGajWa8e2F0fsif5CQdNAAO3JHg30P7IQnuNKq7XnoGHTGUT TssBHKZVD/htz578OI43eKnrgHVFG5OhmQ== X-Google-Smtp-Source: ABdhPJzCT65tUqAYZw2n+qHOQVTY1fRHp0oJd0GO9RNKb6W1y+MqniI/GFhwV4KfnCzksAkXlva42w== X-Received: by 2002:a05:620a:400f:b0:69f:4429:c5f9 with SMTP id h15-20020a05620a400f00b0069f4429c5f9mr3280650qko.153.1650859230660; Sun, 24 Apr 2022 21:00:30 -0700 (PDT) Received: from localhost.localdomain (dsl-150-232.b2b2c.ca. [66.158.150.232]) by smtp.gmail.com with ESMTPSA id w82-20020a376255000000b0069ee3f0ae63sm4478142qkb.45.2022.04.24.21.00.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Apr 2022 21:00:30 -0700 (PDT) From: Maxim Cournoyer Date: Sun, 24 Apr 2022 23:56:33 -0400 Message-Id: <20220425035918.25683-67-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220425035918.25683-1-maxim.cournoyer@gmail.com> References: <20220425035918.25683-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650860543; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=+CIl2Wc6LaRu0GK4GiNfhpWk3633saBUaSi0rEzX7H4=; b=ZSGYXGWrSsEqvcYhtxkFA8+hBU9oj1cmExiSkX2lFNhy8ThE+E0zOrVsnDgiwLhGrvl/cq dvVJMsuru5dstmcak8j46Q2NM/j+cgNGUWYA48wmxg66uK4+7oJ0tnKrC7pfJK2ILP531J 2ENkwapBCl+6Gmp2z4ftTU4Ks9c+Hu5Pt4mzSRYYNzVIcVGsus3MrT4kS0tHW641EmfcME jSQ9K1uLG4vaGPbpV4ZgWmXOc4Lpd7fNhSJRP6pYZ6w2vDOe/VTPnyjoYHiVJeR3Um6gRY baTJr59ZqWI1lVrP9vxQQS0zKYM4ta8uSsafXF9PDLM7pqstv1xy8lBQ8JuDAw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650860543; a=rsa-sha256; cv=none; b=s3ElflWv834boD7J5bSG5ZVo77hnMQ3DXO+tp16gsx2Xgsxi/h+YIhvLdRgvP6CpggX/YM 8dcUac9C8Klb2WVURT2QFrNp5XXsi8MouUxh1LoDNVwfyoeocb7MIl69gWlW34WC5hR0uk mM3Hxz+Ue+YBo6j1fRlx10eH/i7JmYPcOSfM7PaNl663162G7Fa1X2k2vkMSG7VnXPg1d4 dKOY7WYI6sBiOW/nk4fDetYmsc9YaV7BqMg4+9EqZdJQ/F+aGuZp9DEHj8v/YwK5Q9S6ZH klmMSGHnCUccbSAR7h6zRKe7MthQZjpc9XVCu11RKn6HJE/AZM3RIndkBpSGVA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=dn15PnKu; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Spam-Score: 7.19 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=dn15PnKu; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Queue-Id: 1B50829E6B X-Spam-Score: 7.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: o57Stq2BCwia * gnu/packages/python-xyz.scm (python-ubelt): New variable. --- gnu/packages/python-xyz.scm | 44 +++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 59e7d5112f..e589bbdd3a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -362,6 +362,50 @@ (define-public python-logbook applications in mind and the idea to make logging fun.") (license license:bsd-3))) +(define-public python-ubelt + (package + (name "python-ubelt") + (version "1.0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Erotemic/ubelt") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0hac9nqqvqfbca2s4g0mp1fnj0ah60bg9fb8234ibna3jww8qs33")))) + (build-system python-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (setenv "HOME" "/tmp") ;else the test suite hangs + (invoke "pytest" "-vv" "-k" + (string-append + ;; The builder user home doesn't match HOME, + ;; which causes this test to fail. + "not userhome " + ;; This one pointlessly tries + ;; locating various binaries on + ;; the path. + "and not find_exe")))))))) + (propagated-inputs (list python-ordered-set)) + (native-inputs + (list python-pytest + python-requests + python-xdoctest)) + (home-page "https://github.com/Erotemic/ubelt") + (synopsis "Python library for hashing, caching, timing and more") + (description "Ubelt is a small library of simple functions that extend the +Python standard library. It includes an @acronym{API, Application Programming +Interface} to simplify common problems such as caching, timing, computing +progress, among other things.") + (license license:asl2.0))) + (define-public python-ueberzug (package (name "python-ueberzug") -- 2.34.0