[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#37234] [PATCH 04/21] gnu: Add python-querystring-parser.
From: |
Marius Bakke |
Subject: |
[bug#37234] [PATCH 04/21] gnu: Add python-querystring-parser. |
Date: |
Fri, 30 Aug 2019 16:25:22 +0200 |
* gnu/packages/python-web.scm (python-querystring-parser): New public variable.
---
gnu/packages/python-web.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 8d11e9890f..9966f66d8f 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -825,6 +825,37 @@ teams extension for python-openid.")
(define-public python2-openid-teams
(package-with-python2 python-openid-teams))
+(define-public python-querystring-parser
+ (package
+ (name "python-querystring-parser")
+ (version "1.2.4")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "querystring_parser" version))
+ (sha256
+ (base32
+ "0qlar8a0wa003hm2z6wcpb625r6vjj0a70rsni9h8lz0zwfcwkv4"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ ;; XXX FIXME: This test is broken with Python 3.7:
+ ;; https://github.com/bernii/querystring-parser/issues/35
+ (substitute* "querystring_parser/tests.py"
+ (("self\\.assertEqual\\(self\\.knownValuesNormalized,
result\\)")
+ "True"))
+ (invoke "python" "querystring_parser/tests.py"))))))
+ (propagated-inputs
+ `(("python-six" ,python-six)))
+ (home-page "https://github.com/bernii/querystring-parser")
+ (synopsis "QueryString parser that correctly handles nested dictionaries")
+ (description
+ "This package provides a query string parser for Python and Django
+projects that correctly creates nested dictionaries from sent form/querystring
+data.")
+ (license license:expat)))
+
(define-public python-tornado
(package
(name "python-tornado")
--
2.22.1
- [bug#37234] [PATCH 17/21] gnu: Add python-aws-sam-translator., (continued)
- [bug#37234] [PATCH 17/21] gnu: Add python-aws-sam-translator., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 07/21] gnu: python-botocore: Update to 1.12.209., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 10/21] gnu: Add python-sshpubkeys., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 18/21] gnu: Add python-cfn-lint., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 03/21] gnu: Add python-gorilla., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 13/21] gnu: Add python-aws-xray-sdk., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 16/21] gnu: Add python-boto., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 20/21] gnu: Add python-moto., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 19/21] gnu: python-pyyaml: Add version 5.1., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 21/21] gnu: Add mlflow., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 04/21] gnu: Add python-querystring-parser.,
Marius Bakke <=
- [bug#37234] [PATCH 15/21] gnu: Add python-jose., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 11/21] gnu: Add python-jsonpickle., Marius Bakke, 2019/08/30