From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: [PATCH 07/31] gnu: Add python-mimeparse. Date: Fri, 5 Sep 2014 11:18:13 -0400 Message-ID: <1409930317-13220-7-git-send-email-dthompson2@worcester.edu> References: <1409930317-13220-1-git-send-email-dthompson2@worcester.edu> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPvHx-0000rx-0n for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPvHq-0003ZF-Qt for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:00 -0400 Received: from na3sys009aog120.obsmtp.com ([74.125.149.140]:33450) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPvHq-0003Yz-KW for guix-devel@gnu.org; Fri, 05 Sep 2014 11:18:54 -0400 Received: by mail-yh0-f54.google.com with SMTP id b6so7511698yha.27 for ; Fri, 05 Sep 2014 08:18:53 -0700 (PDT) In-Reply-To: <1409930317-13220-1-git-send-email-dthompson2@worcester.edu> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/python.scm (python-mimeparse, python2-mimeparse): New variables. --- gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 6dd4922..1db3778 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -939,6 +939,35 @@ In short, SCons is an easier, more reliable and faster way to build software.") (license x11))) +(define-public python-mimeparse + (package + (name "python-mimeparse") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/p/python-mimeparse/python-mimeparse-" + version ".tar.gz")) + (sha256 + (base32 + "1hyxg09kaj02ri0rmwjqi86wk4nd1akvv7n0dx77azz76wga4s9w")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools))) + (arguments + '(#:tests? #f)) ; no setup.py test command + (home-page + "https://github.com/dbtsai/python-mimeparse") + (synopsis "Python library for parsing MIME types.") + (description + "Mimeparse provides basic functions for parsing MIME type names and +matching them against a list of media-ranges.") + (license expat))) + +(define-public python2-mimeparse + (package-with-python2 python-mimeparse)) + (define-public behave (package (name "behave") -- 2.0.1