[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/06: gnu: Add python-furl.
From: |
Marius Bakke |
Subject: |
03/06: gnu: Add python-furl. |
Date: |
Sun, 6 Nov 2016 20:03:12 +0000 (UTC) |
mbakke pushed a commit to branch master
in repository guix.
commit 9dede065ba950760b91300c4cdde46ef13a0242b
Author: Danny Milosavljevic <address@hidden>
Date: Sat Nov 5 12:27:03 2016 +0100
gnu: Add python-furl.
* gnu/packages/python.scm (python-furl, python2-furl): New variables.
Signed-off-by: Marius Bakke <address@hidden>
---
gnu/packages/python.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index cd74aa4..1f7a2c0 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3924,6 +3924,38 @@ multivalue dictionary that retains the order of
insertions and deletions.")
`(("python2-setuptools" ,python2-setuptools)
,@(package-native-inputs base))))))
+(define-public python-furl
+ (package
+ (name "python-furl")
+ (version "0.5.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "furl" version))
+ (sha256
+ (base32
+ "0lzpfpm686hvz3sr1mcrnd1b3lgmnw8v59gb43wfi98r3b671pqc"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-six" ,python-six)
+ ("python-orderedmultidict" ,python-orderedmultidict)))
+ (native-inputs
+ `(("python-pycodestyle" ,python-pycodestyle)))
+ (home-page "https://github.com/gruns/furl")
+ (synopsis "URL manipulation in Python")
+ (description "Furl provides an easy-to-use alternative to the
address@hidden and @code{urlparse} modules for manipulating URLs.")
+ (license license:unlicense)
+ (properties `((python2-variant . ,(delay python2-furl))))))
+
+(define-public python2-furl
+ (let ((base (package-with-python2 (strip-python2-variant
+ python-furl))))
+ (package (inherit base)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base))))))
+
(define-public python-sqlalchemy-utils
(package
(name "python-sqlalchemy-utils")
- branch master updated (290ad22 -> 26d07ef), Marius Bakke, 2016/11/06
- 03/06: gnu: Add python-furl.,
Marius Bakke <=
- 06/06: gnu: python-sqlalchemy-utils: Use python-pytest., Marius Bakke, 2016/11/06
- 01/06: gnu: Add python-pycodestyle., Marius Bakke, 2016/11/06
- 05/06: gnu: python-sqlalchemy-utils: Propagate existing inputs., Marius Bakke, 2016/11/06
- 02/06: gnu: Add python-orderedmultidict., Marius Bakke, 2016/11/06
- 04/06: gnu: Add python-flask-babel., Marius Bakke, 2016/11/06