From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id /V34NBx6FGE+IQEAgWs5BA (envelope-from ) for ; Thu, 12 Aug 2021 03:32:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id mOoQMBx6FGGqNwAAB5/wlQ (envelope-from ) for ; Thu, 12 Aug 2021 01:32:12 +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 6689826E2 for ; Thu, 12 Aug 2021 03:32:12 +0200 (CEST) Received: from localhost ([::1]:44642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDzZr-0005Zd-GN for larch@yhetil.org; Wed, 11 Aug 2021 21:32:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDzZi-0005YA-SJ for guix-patches@gnu.org; Wed, 11 Aug 2021 21:32:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53715) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mDzZi-0002ca-L7 for guix-patches@gnu.org; Wed, 11 Aug 2021 21:32:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mDzZi-0003sj-Hj for guix-patches@gnu.org; Wed, 11 Aug 2021 21:32:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50021] [PATCH 2/7] gnu: Add python-iniparse. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 12 Aug 2021 01:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50021 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50021@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 50021-submit@debbugs.gnu.org id=B50021.162873190714858 (code B ref 50021); Thu, 12 Aug 2021 01:32:02 +0000 Received: (at 50021) by debbugs.gnu.org; 12 Aug 2021 01:31:47 +0000 Received: from localhost ([127.0.0.1]:37016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDzZT-0003ra-9u for submit@debbugs.gnu.org; Wed, 11 Aug 2021 21:31:47 -0400 Received: from mout01.posteo.de ([185.67.36.65]:39599) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDzZR-0003rA-Mh for 50021@debbugs.gnu.org; Wed, 11 Aug 2021 21:31:46 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 2B271240026 for <50021@debbugs.gnu.org>; Thu, 12 Aug 2021 03:31:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1628731900; bh=fN56VhN4I27lm0EDW8nSbU5L1sWoQd5r8NFnoJjV+tE=; h=From:To:Cc:Subject:Date:From; b=MOFWbd1hrY15YnRlYIY5Ww8sYLFI8HTVz9KJlC334SXotxwdW32lEB5wQOrdlw8MG iMlmxwhI8IErrgtQJth9+U9Z24dhv7wB/0H44pnSsPWkFKTVB9SnoJC5fEMVV9rAdS eVWeHTvFSoS5+T4PUiZPYr6jtfCqmrsIveP3VlgqnrPLhJp2CT1oHDFOX+5d0lcgx3 FTgEMlqCMZFkN4rcdpIKC9m14ErTzs0p8uT337l2GTzyOzrkh5IpAxY/i42Lq0xDUS JOm7MGrYnJOqkqADqTplsPp1tk+0HV879LNSKNSYYpylzDBD1FfELHv2igJL5iCzUn eNkIZNa2zki4A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4GlTgH3HVRz6tm6; Thu, 12 Aug 2021 03:31:39 +0200 (CEST) From: Vinicius Monego Date: Thu, 12 Aug 2021 01:31:18 +0000 Message-Id: <20210812013123.44869-2-monego@posteo.net> In-Reply-To: <20210812013123.44869-1-monego@posteo.net> References: <20210812013123.44869-1-monego@posteo.net> 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628731932; 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=DiRyP7AWBYHhAQIXSxpzmT6DohBhe5wcXOFaqqSDi+s=; b=EpDmnwEXIqW2/X8KgNs7sR8HhMzvWejF7UWqrbYbZ4AJNiUUICQRpnhYAlHx3oOmFqJsUb FT3ff1yta16U9v45GvjKPwwexVgvgaDFP+dMGQHafJ+7dPNcn6jFkWNFmwuk7z0IQ3/vxJ 7YQrL7wLCiMd/dSAwNR6r+7/TVn/MptoqBbPNN4D+D8GBiGzCw4XSDFYnZMUrBVsKCpspr 8uU5Rmpgo7SUern1HTGqM1wlETKBTH1Q9i8a2FbDRonTIB/lFRCS53bIQ/YoHRKvTaMW8p lnM9XfwrPcGB2t/gsl97VbH27hx6Gfu/aLgdaUTWO6oNrkmBmOTwm6wamEzaLA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628731932; a=rsa-sha256; cv=none; b=kQa6deT+bzuvVAwMexaRVTZmVQQZqQdsinmFZB1+V26Z2ue7FoRDETVY58S44Vl4RPFToV FUbNvcVLefmDIs3NDNbTGrGkVljfgHUQtPaO1s11SHZGIGE6VpEOJGjKCPzM6/AR1jTo3m 4Y9lhYrbBETT/SiHZtbm9JkUl6QmeZH8wXi1t3F/0sddAXVXIP4zCsoIXcGALzOLBhnK+U K1Vum87WlPVqX1XYmbZG6VGkVyZf7tJbr7vALel/CfwqxHU9aei72G6jiPGpdZkgoTd+Hg W8U1gSod7xs0zsvEsVb1KaBhwxoVGtEgHOz/8CKGZh1sLnv3+o8mNLTF2NSpAQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=MOFWbd1h; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=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: 3.69 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=MOFWbd1h; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=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: 6689826E2 X-Spam-Score: 3.69 X-Migadu-Scanner: scn1.migadu.com X-TUID: Zk93A132flVV * gnu/packages/python-xyz.scm (python-iniparse): New variable. --- gnu/packages/python-xyz.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6cdfc94fc2..22341eda37 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17729,6 +17729,38 @@ current test, while only declaring the test-specific fields") PLY, a Lex/YACC-style parser generator toolkit for Python.") (license license:bsd-3))) +(define-public python-iniparse + (package + (name "python-iniparse") + (version "0.5") + (source + (origin + (method url-fetch) + (uri (pypi-uri "iniparse" version)) + (sha256 + (base32 "0hm8784r25l5wrl274x65329l0b7pq3vfyq10jssrrr6slwm4blk")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) ;; FIXME: Some tests are failing. + (propagated-inputs + `(("python-six" ,python-six))) + (home-page "https://github.com/candlepin/python-iniparse") + (synopsis "Accessing and Modifying INI files") + (description "@code{iniparse} is a INI parser for Python which is: + +@itemize +@item Compatible with ConfigParser: Backward compatible implementations of +ConfigParser, RawConfigParser, and SafeConfigParser are included that are +API-compatible with the Python standard library. +@item Preserves structure of INI files: Order of sections & options, +indentation, comments, and blank lines are preserved as far as possible +when data is updated. +@item More convenient: Values can be accessed using dotted notation +(@code{cfg.user.name}), or using container syntax +(@code{cfg['user']['name']).} +@end itemize") + (license license:expat))) + (define-public python-translate-toolkit (package (name "python-translate-toolkit") -- 2.30.2