From: Danny Milosavljevic <dannym@scratchpost.org>
To: guix-devel@gnu.org
Subject: [PATCH 3/6] gnu: Add python-furl.
Date: Sat, 5 Nov 2016 12:27:03 +0100 [thread overview]
Message-ID: <20161105112706.12089-4-dannym@scratchpost.org> (raw)
In-Reply-To: <20161105112706.12089-1-dannym@scratchpost.org>
* gnu/packages/python.scm (python-furl, python2-furl): New variables.
---
gnu/packages/python.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 49c09fc..3eb33de 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3898,6 +3898,39 @@ 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 "Python's standard urllib and urlparse modules provide a
+number of URL manipulation functions, but using these functions to perform
+common URL manipulations proves tedious. Furl makes manipulating URLs easy.")
+ (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")
next prev parent reply other threads:[~2016-11-05 11:27 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-05 11:27 [PATCH 0/6] Provide some optional sqlalchemy utils Danny Milosavljevic
2016-11-05 11:27 ` [PATCH 1/6] gnu: Add python-pycodestyle Danny Milosavljevic
2016-11-05 15:39 ` Marius Bakke
2016-11-05 19:48 ` Efraim Flashner
2016-11-05 23:52 ` Danny Milosavljevic
2016-11-07 21:39 ` [PATCH] gnu: Replace python-pep8 by python-pycodestyle Danny Milosavljevic
2016-11-07 22:30 ` Leo Famulari
2016-11-07 22:40 ` Marius Bakke
2016-11-05 11:27 ` [PATCH 2/6] gnu: Add python-orderedmultidict Danny Milosavljevic
2016-11-05 15:42 ` Marius Bakke
2016-11-05 11:27 ` Danny Milosavljevic [this message]
2016-11-05 15:50 ` [PATCH 3/6] gnu: Add python-furl Marius Bakke
2016-11-05 11:27 ` [PATCH 4/6] gnu: Add python-flask-babel Danny Milosavljevic
2016-11-05 15:51 ` Marius Bakke
2016-11-05 11:27 ` [PATCH 5/6] gnu: Make python-sqlalchemy-utils's existing inputs propagated Danny Milosavljevic
2016-11-05 15:55 ` Marius Bakke
2016-11-05 11:27 ` [PATCH 6/6] gnu: Provide pytest to python-sqlalchemy-utils Danny Milosavljevic
2016-11-05 15:58 ` Marius Bakke
2016-11-05 19:13 ` Leo Famulari
2016-11-06 20:03 ` [PATCH 0/6] Provide some optional sqlalchemy utils Marius Bakke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161105112706.12089-4-dannym@scratchpost.org \
--to=dannym@scratchpost.org \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.