From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2P0SMA/FPWNHkwAAbAwnHQ (envelope-from ) for ; Wed, 05 Oct 2022 19:55:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id SJ4RMA/FPWOrggEAauVa8A (envelope-from ) for ; Wed, 05 Oct 2022 19:55:27 +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 95BBD2365E for ; Wed, 5 Oct 2022 19:55:27 +0200 (CEST) Received: from localhost ([::1]:49934 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1og8cA-0006mm-Po for larch@yhetil.org; Wed, 05 Oct 2022 13:55:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1og8OH-00059p-FI for guix-patches@gnu.org; Wed, 05 Oct 2022 13:41:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58886) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1og8OE-0004p0-Gv for guix-patches@gnu.org; Wed, 05 Oct 2022 13:41:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1og8OD-0006s6-Vw for guix-patches@gnu.org; Wed, 05 Oct 2022 13:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58310] [PATCH 01/14] gnu: Add python-pprintpp. References: <87h70iqji2.fsf@disroot.org> In-Reply-To: <87h70iqji2.fsf@disroot.org> Resent-From: Garek Dyszel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 05 Oct 2022 17:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58310 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58310@debbugs.gnu.org Received: via spool by 58310-submit@debbugs.gnu.org id=B58310.166499165726396 (code B ref 58310); Wed, 05 Oct 2022 17:41:01 +0000 Received: (at 58310) by debbugs.gnu.org; 5 Oct 2022 17:40:57 +0000 Received: from localhost ([127.0.0.1]:57964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1og8O9-0006rg-9o for submit@debbugs.gnu.org; Wed, 05 Oct 2022 13:40:57 -0400 Received: from knopi.disroot.org ([178.21.23.139]:39260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1og8O7-0006rX-Fb for 58310@debbugs.gnu.org; Wed, 05 Oct 2022 13:40:56 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id D6C264C5F1 for <58310@debbugs.gnu.org>; Wed, 5 Oct 2022 19:40:53 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Wfn9uBNScJEl for <58310@debbugs.gnu.org>; Wed, 5 Oct 2022 19:40:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1664991620; bh=QYGUq2Whgc530UqZRaiA8obQCZHHymwFu7P5fgJjuaI=; h=From:To:Subject:Date; b=UhDgPmQsvn3mbCjXLaHJ45v0TxQgJugZqaYVkoPu/vOxtK+AKdsKA9IO5ciVlnSAl 5uHKCAk+FixAkWnR7mGqkEZUWXTPLMdo9xR43AwzlndEyKHeChVIxvOJPCTRNWZ28h bIXDTNX2Rpj1iC7b4bBg2hN8HGO1k0ncZmyoVur3QE1URtzOxxgROURw0KvjcjPyi2 xXLTYrZBEfNKEUqZR6N7ik8nAo8VXjo9a8oVitHdOF1AgDfx+/xt6DRbQTqW2RH/RL RE5FJ5gBCJ2CnfB+JrAYFciDwsOP4/HzP6EbrcEeyBOGIprlRORJt0BI1Lkh6OVYhp R4bKhNo4QG+Og== Date: Wed, 05 Oct 2022 13:40:16 -0400 Message-ID: <87lepuqidb.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain 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" Reply-to: Garek Dyszel X-ACL-Warn: , Garek Dyszel via Guix-patches From: Garek Dyszel via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664992527; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to: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: dkim-signature; bh=bAw0lV5KMNAE8tOTupIdVCxHIYQh6ERHSlSToCgzzMg=; b=k7bpAYDhe5ZJTz0VxljTobyKlTs6ZFgG1fzSGoh85C0Jf6uj27A2tbW1O1usBVdJLONIDN Ag0TMdD4/yDUsAwz1BZnf/BSt/NmK390S6UyErI+7nmFRUdDRQk62uCw2Fm2efB1ZhCvv+ 3Qchtj5TlCDBInlmwQPx2+cz24u8AJZZvO3PeaAr//chR5FHgIouUFUtz9xE1EjjTpsEdl P7TysJx4OmZKpDJIsTHbzILFGhb/1jlCh12vDRzTr7GVwbIk2UVL1VuftZPhKDe7Bv1+Rl 0T1yrWXsbdCB2ZmsU8/CljqLYyB+Ho/H4FyC2H2QYGyaklCA8L4tiUAiYNBPig== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664992527; a=rsa-sha256; cv=none; b=Fqa1LM3YwtJkGXz6fVq9MpxcpENgEiD63dHJ/r27xPXteqwwrEN+R3IUCJ9uPii4Wny+/e tAeXcdKZx8QrJmYi8VZAha4eu+C2c1GrY/VdqIkipdAVmETZYpDR0A2heu7WNIFEXcnd8s +ZrA/HXl89tytLS/EPwsCnwhY6RL5c48ncdKyHtYxFHxa9wzTHKcYYM1rTmkYm9En3c4Mh DdFjBXTqLsEIXq3yD0XJHpVNu5zOyPSxM28S3MKW0NLQjnJT6XC2of7c7nMXIolt1ULfr7 iPvNhMkqXHcozS3ICG7x/bDW4h/yOkUWtcTGFtoONVgJIxwBbJEjdUrLM+sEyg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=UhDgPmQs; dmarc=pass (policy=none) header.from=gnu.org; 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: -3.16 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=UhDgPmQs; dmarc=pass (policy=none) header.from=gnu.org; 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: 95BBD2365E X-Spam-Score: -3.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: lRO0eb0t5bCV * gnu/packages/python-xyz.scm (python-pprintpp): New variable. --- gnu/packages/python-xyz.scm | 54 +++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 8575d4a67e..439765dc4f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16688,6 +16688,60 @@ (define-public python-tabulate data in Python.") (license license:expat))) +(define-public python-pprintpp + ;; Git version tags are inaccurate for this package; use the + ;; bare commit. + (let ((commit "7ede6da1f3062bbfb32ee04353d675a5bff185e0") + (revision "1")) + (package + (name "python-pprintpp") + (version (git-version "0.3.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/wolever/pprintpp") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0nk935m3ig8sc32laqbh698vwpk037yw27gd3nvwwzdv42jal2li")))) + (inputs (list python-pypa-build python-hypothesis python-wheel + python-parameterized)) + (native-inputs (list python-pytest python-nose)) + (build-system python-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + (replace 'build + (lambda _ + (setenv "SOURCE_DATE_EPOCH" "315532800") + (invoke "python" + "-m" + "build" + "--wheel" + "--no-isolation" + "."))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((whl (car (find-files "dist" "\\.whl$")))) + (invoke "pip" + "--no-cache-dir" + "--no-input" + "install" + "--no-deps" + "--prefix" + #$output + whl)))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "python" "test.py"))))))) + (home-page "https://github.com/wolever/pprintpp") + (synopsis "Python pretty-printer") + (description + "This package is a printer for Python which pretty-prints structures. +It also attempts to print Unicode characters without escaping them.") + (license license:bsd-3)))) + (define-public python-kazoo (package (name "python-kazoo") base-commit: fd6cd9de8682c7ddf96bf8deb637b1ca6cdbd205 -- 2.37.3