[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/14: gnu: Add python-cookies.
From: |
Leo Famulari |
Subject: |
07/14: gnu: Add python-cookies. |
Date: |
Fri, 18 Mar 2016 18:28:17 +0000 |
lfam pushed a commit to branch master
in repository guix.
commit 603d665bc3767f73d4b78f52fb20cf76e21689fc
Author: Leo Famulari <address@hidden>
Date: Fri Mar 18 00:40:26 2016 -0400
gnu: Add python-cookies.
* gnu/packages/python.scm (python-cookies, python2-cookies): New variable.
---
gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index d7828fb..9144a37 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -8284,3 +8284,33 @@ presume or force a developer to use a particular tool or
library.")
(package (inherit (package-with-python2
(strip-python2-variant python-flask)))
(native-inputs `(("python2-setuptools" ,python2-setuptools)))))
+
+(define-public python-cookies
+ (package
+ (name "python-cookies")
+ (version "2.2.1")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "cookies" version))
+ (sha256
+ (base32
+ "13pfndz8vbk4p2a44cfbjsypjarkrall71pgc97glk5fiiw9idnn"))))
+ (build-system python-build-system)
+ (arguments
+ `(;; test are broken: https://gitlab.com/sashahart/cookies/issues/3
+ #:tests? #f))
+ (native-inputs
+ `(("python-pytest" ,python2-pytest)))
+ (synopsis "HTTP cookie parser and renderer")
+ (description "A RFC 6265-compliant HTTP cookie parser and renderer in
+Python.")
+ (home-page "https://gitlab.com/sashahart/cookies")
+ (license license:expat)
+ (properties `((python2-variant . ,(delay python2-cookies))))))
+
+(define-public python2-cookies
+ (let ((cookies (package-with-python2
+ (strip-python2-variant python-cookies))))
+ (package (inherit cookies)
+ (native-inputs `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs cookies))))))
- branch master updated (0e0fd3e -> 3bf429a), Leo Famulari, 2016/03/18
- 10/14: gnu: Add python-mpd2., Leo Famulari, 2016/03/18
- 12/14: gnu: Add python2-unicodecsv., Leo Famulari, 2016/03/18
- 04/14: gnu: Add python-flask., Leo Famulari, 2016/03/18
- 06/14: gnu: Add python-pylast., Leo Famulari, 2016/03/18
- 07/14: gnu: Add python-cookies.,
Leo Famulari <=
- 11/14: gnu: Add python-jellyfish., Leo Famulari, 2016/03/18
- 09/14: gnu: Add python2-pathlib., Leo Famulari, 2016/03/18
- 02/14: gnu: Add python-munkres., Leo Famulari, 2016/03/18
- 03/14: gnu: Add python-musicbrainzngs., Leo Famulari, 2016/03/18
- 14/14: gnu: Add beets., Leo Famulari, 2016/03/18
- 01/14: gnu: Add python-mutagen., Leo Famulari, 2016/03/18
- 13/14: gnu: Add python-rarfile., Leo Famulari, 2016/03/18
- 08/14: gnu: Add python-responses., Leo Famulari, 2016/03/18
- 05/14: gnu: Add python-pyechonest., Leo Famulari, 2016/03/18