From patchwork Mon Apr 25 03:56:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 38859 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4274227BBEA; Mon, 25 Apr 2022 05:22:09 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0A5E927BBE9 for ; Mon, 25 Apr 2022 05:22:09 +0100 (BST) Received: from localhost ([::1]:45452 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1niqEi-0001wn-6y for patchwork@mira.cbaines.net; Mon, 25 Apr 2022 00:22:08 -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 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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")