From patchwork Tue Sep 21 19:22:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 33233 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 C009127BBE4; Tue, 21 Sep 2021 20:23:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 297F227BBE1 for ; Tue, 21 Sep 2021 20:23:12 +0100 (BST) Received: from localhost ([::1]:42844 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSlMF-0007UT-64 for patchwork@mira.cbaines.net; Tue, 21 Sep 2021 15:23:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSlM6-0007Ts-EQ for guix-patches@gnu.org; Tue, 21 Sep 2021 15:23:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36502) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mSlM6-0001Zf-1F for guix-patches@gnu.org; Tue, 21 Sep 2021 15:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mSlM5-0004Te-Sc for guix-patches@gnu.org; Tue, 21 Sep 2021 15:23:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50724] [PATCH 2/3] gnu: Add python-platformdirs. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 21 Sep 2021 19:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50724 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50724@debbugs.gnu.org X-Debbugs-Original-To: 50724@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163225214917146 (code B ref -1); Tue, 21 Sep 2021 19:23:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Sep 2021 19:22:29 +0000 Received: from localhost ([127.0.0.1]:48046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSlLZ-0004ST-H2 for submit@debbugs.gnu.org; Tue, 21 Sep 2021 15:22:29 -0400 Received: from lists.gnu.org ([209.51.188.17]:46136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSlLX-0004SF-1o for submit@debbugs.gnu.org; Tue, 21 Sep 2021 15:22:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSlLV-0007NT-Tq for guix-patches@gnu.org; Tue, 21 Sep 2021 15:22:26 -0400 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:45495) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSlLP-00015i-Vj for guix-patches@gnu.org; Tue, 21 Sep 2021 15:22:22 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4HDWX93PRMz1sBR3; Tue, 21 Sep 2021 21:22:17 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4HDWX93B1Mz1qqkC; Tue, 21 Sep 2021 21:22:17 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id q9V99WqEebci; Tue, 21 Sep 2021 21:22:16 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-86-73.dynamic.mnet-online.de [188.174.86.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Tue, 21 Sep 2021 21:22:16 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 74A03600B0; Tue, 21 Sep 2021 21:22:29 +0200 (CEST) From: Hartmut Goebel Date: Tue, 21 Sep 2021 21:22:11 +0200 Message-Id: <3c719027baff05520288c3f0f0e97988a9565f7b.1632251925.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <9243ca3fe7fc61c691c164d5fd73f865eacc4e6b.1632251925.git.h.goebel@crazy-compilers.com> References: <9243ca3fe7fc61c691c164d5fd73f865eacc4e6b.1632251925.git.h.goebel@crazy-compilers.com> MIME-Version: 1.0 Received-SPF: none client-ip=2001:a60:0:28:0:1:25:1; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-platformdirs): New variable. --- gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7239fa1584..908e9dbff6 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -26799,3 +26799,29 @@ services' API. It includes a pre-defined set of classes for API resources that initialize themselves dynamically from API responses which makes it compatible with a wide range of versions of the Stripe API.") (license license:expat))) + +(define-public python-platformdirs + (package + (name "python-platformdirs") + (version "2.2.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "platformdirs" version)) + (sha256 + (base32 "07hq5qrp7pqj63iczg01wbf5ii6f0ncd0dq5mzkdhsslmg9slbb3")))) + (build-system python-build-system) + (native-inputs + `(("python-appdirs" ,python-appdirs) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-mock" ,python-pytest-mock))) + (home-page "https://github.com/platformdirs/platformdirs") + (synopsis "Determine the appropriate platform-specific dirs, e.g. \"user +data dir\"") + (description "When writing applications, finding the right location to +store user data and configuration varies per platform. Even for +single-platform apps, there may by plenty of nuances in figuring out the right +location. This small Python module determines the appropriate +platform-specific directories, e.g. the \"user data dir\".") + (license license:expat)))