[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/6] gnu: Add python-orderedmultidict.
From: |
Danny Milosavljevic |
Subject: |
[PATCH 3/6] gnu: Add python-orderedmultidict. |
Date: |
Thu, 3 Nov 2016 11:56:01 +0100 |
* gnu/packages/python.scm (python-orderedmultidict, python2-orderedmultidict):
New variables.
---
gnu/packages/python.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 86436fd..aee97cb 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3857,6 +3857,43 @@ simple and Pythonic domain language.")
`(("python2-setuptools" ,python2-setuptools)
,@(package-native-inputs base))))))
+(define-public python-orderedmultidict
+ (package
+ (name "python-orderedmultidict")
+ (version "0.7.10")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "orderedmultidict" version))
+ (sha256
+ (base32
+ "1gvqk0jd432wsn88kq4svad68xz3r012jfpnhh9in7bqrkyxidky"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-tests
+ (lambda _
+ (and (zero? (system* "touch" "tests/__init__.py"))))))))
+ (propagated-inputs
+ `(("python-six" ,python-six)))
+ (native-inputs
+ `(("python-pycodestyle" ,python-pycodestyle)))
+ (home-page "https://github.com/gruns/orderedmultidict")
+ (synopsis "Python Ordered Multivalue Dictionary - omdict.")
+ (description "This package contains Ordered Multivalue Dictionary - omdict
+- for Python.")
+ (license license:unlicense)
+ (properties `((python2-variant . ,(delay python2-orderedmultidict))))))
+
+(define-public python2-orderedmultidict
+ (let ((base (package-with-python2 (strip-python2-variant
+ python-orderedmultidict))))
+ (package (inherit base)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base))))))
+
(define-public python-sqlalchemy-utils
(package
(name "python-sqlalchemy-utils")
- [PATCH 0/6] Enable lots of sqlalchemy features, Danny Milosavljevic, 2016/11/03
- [PATCH 2/6] gnu: Add python-pycodestyle., Danny Milosavljevic, 2016/11/03
- [PATCH 1/6] gnu: Enable python-psycopg2 support in python-sqlalchemy., Danny Milosavljevic, 2016/11/03
- [PATCH 4/6] gnu: Add python-furl., Danny Milosavljevic, 2016/11/03
- [PATCH 6/6] gnu: Enable passlib, babel, cryptography, pyt, psycopg2, furl, flask-babel and pytest in python-sqlalchemy-utils, Danny Milosavljevic, 2016/11/03
- [PATCH 3/6] gnu: Add python-orderedmultidict.,
Danny Milosavljevic <=
- [PATCH 5/6] gnu: Add python-flask-babel., Danny Milosavljevic, 2016/11/03
- Prev by Date:
[PATCH 6/6] gnu: Enable passlib, babel, cryptography, pyt, psycopg2, furl, flask-babel and pytest in python-sqlalchemy-utils
- Next by Date:
[PATCH 5/6] gnu: Add python-flask-babel.
- Previous by thread:
Re: [PATCH 6/6] gnu: Enable passlib, babel, cryptography, pyt, psycopg2, furl, flask-babel and pytest in python-sqlalchemy-utils
- Next by thread:
Re: [PATCH 3/6] gnu: Add python-orderedmultidict.
- Index(es):