From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: [PATCH 4/5] gnu: Add python-imagesize. Date: Fri, 7 Oct 2016 12:32:49 +0200 Message-ID: <20161007103250.24046-5-dannym@scratchpost.org> References: <20161007103250.24046-1-dannym@scratchpost.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53612) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsSSc-0006S2-QV for guix-devel@gnu.org; Fri, 07 Oct 2016 06:33:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bsSSa-0002BK-BL for guix-devel@gnu.org; Fri, 07 Oct 2016 06:33:01 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:38412) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsSSa-0002B2-4O for guix-devel@gnu.org; Fri, 07 Oct 2016 06:33:00 -0400 In-Reply-To: <20161007103250.24046-1-dannym@scratchpost.org> 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" To: guix-devel@gnu.org * gnu/packages/python.scm (python-imagesize): New variable. --- gnu/packages/python.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 088cdb0..157a544 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -11060,3 +11060,24 @@ related extensions.") "Alabaster is a visually (c)lean, responsive, configurable theme for the Sphinx documentation system. It's the default theme of Sphix.") (license license:bsd-3))) + +(define-public python-imagesize + (package + (name "python-imagesize") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "imagesize" version)) + (sha256 + (base32 + "0qk07k0z4241lkzzjji7z4da04pcvg7bfc4xz1934zlqhwmwdcha")))) + (build-system python-build-system) + (home-page + "https://github.com/shibukawa/imagesize_py") + (synopsis + "Gets image size from png/jpeg/jpeg2000/gif files in Python") + (description + "This package allows determination of image size from +png/jpeg/jpeg2000/gif files in Python.") + (license license:expat)))