From: Marius Bakke <mbakke@fastmail.com>
To: Danny Milosavljevic <dannym@scratchpost.org>, guix-devel@gnu.org
Subject: Re: [PATCH 2/6] gnu: Add python-orderedmultidict.
Date: Sat, 05 Nov 2016 15:42:15 +0000 [thread overview]
Message-ID: <8737j66ii0.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <20161105112706.12089-3-dannym@scratchpost.org>
[-- Attachment #1: Type: text/plain, Size: 2733 bytes --]
Danny Milosavljevic <dannym@scratchpost.org> writes:
> * gnu/packages/python.scm (python-orderedmultidict, python2-orderedmultidict):
> New variables.
> ---
> gnu/packages/python.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 42 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index cb314e2..49c09fc 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -3856,6 +3856,48 @@ some of the style conventions in @url{http://www.python.org/dev/peps/pep-0008/ P
> `(("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 _
> + ;;The packages uses nosetest for running the tests.
> + ;;Adding this initfile allows to run the test suite
> + ;;without requiring nosetest.
> + (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 a library for ordered multivalue dictionaries.
> +A multivalue dictionary is a dictionary that can store multiple values for the
> +same key. An ordered multivalue dictionary is a multivalue
^^^
Use two spaces between sentences in the description. Or run `guix lint` ;)
Otherwise LGTM.
> +dictionary that retains the order of insertions and deletions.")
> + (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")
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]
next prev parent reply other threads:[~2016-11-05 15:42 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 [this message]
2016-11-05 11:27 ` [PATCH 3/6] gnu: Add python-furl Danny Milosavljevic
2016-11-05 15:50 ` 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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8737j66ii0.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me \
--to=mbakke@fastmail.com \
--cc=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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).