[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#50021] [PATCH 2/7] gnu: Add python-iniparse.
From: |
Vinicius Monego |
Subject: |
[bug#50021] [PATCH 2/7] gnu: Add python-iniparse. |
Date: |
Thu, 12 Aug 2021 01:31:18 +0000 |
* 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
- [bug#50021] [PATCH 0/7] Update python-translate-toolkit., Vinicius Monego, 2021/08/11
- [bug#50021] [PATCH 1/7] gnu: Add python-phply., Vinicius Monego, 2021/08/11
- [bug#50021] [PATCH 2/7] gnu: Add python-iniparse.,
Vinicius Monego <=
- [bug#50021] [PATCH 3/7] gnu: Remove virtaal., Vinicius Monego, 2021/08/11
- [bug#50021] [PATCH 4/7] gnu: python-translate-toolkit: Update to 3.3.6., Vinicius Monego, 2021/08/11
- [bug#50021] [PATCH 6/7] gnu: python-translate-toolkit: Enable tests., Vinicius Monego, 2021/08/11
- [bug#50021] [PATCH 5/7] gnu: Remove python2-translate-toolkit., Vinicius Monego, 2021/08/11
- [bug#50021] [PATCH 7/7] gnu: python-diff-match-patch: Update to 20200713., Vinicius Monego, 2021/08/11