From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: [PATCH 4/5] gnu: Add python-vobject. Date: Thu, 3 Mar 2016 17:11:55 -0500 Message-ID: <1d8d22ba2d3ef038d0146a37b4aab37125cda0f1.1457042922.git.leo@famulari.name> References: Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abbTZ-0003J5-Al for guix-devel@gnu.org; Thu, 03 Mar 2016 17:12:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abbTW-0002sd-Sq for guix-devel@gnu.org; Thu, 03 Mar 2016 17:12:05 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:56112) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abbTW-0002s8-PS for guix-devel@gnu.org; Thu, 03 Mar 2016 17:12:02 -0500 Received: from jasmine.lan (c-69-249-5-231.hsd1.pa.comcast.net [69.249.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id C0D2A680231 for ; Thu, 3 Mar 2016 17:12:01 -0500 (EST) In-Reply-To: In-Reply-To: References: 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-vobject, python2-vobject): New variables. --- gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index b168183..6d92b67 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -8203,3 +8203,33 @@ introspection of @code{zope.interface} instances in code.") (inherit (package-with-python2 (strip-python2-variant python-psycopg2))) (native-inputs `(("python2-setuptools" ,python2-setuptools))))) + +(define-public python-vobject + (package + (name "python-vobject") + (version "0.9.1") + (source (origin + (method url-fetch) + (uri (pypi-uri "vobject" version)) + (sha256 + (base32 + "1cwzjnrdr9yg2x21wbf3kf59ibnchvj33mygd69yzi178a9gs9gz")))) + (build-system python-build-system) + (inputs + `(("python-dateutil-2" ,python-dateutil-2) + ("python-pyicu" ,python-pyicu))) + (synopsis "Parse and generate vCard and vCalendar files") + (description "Vobject is intended to be a full featured Python package for +parsing and generating vCard and vCalendar files. Currently, iCalendar files +are supported and well tested. vCard 3.0 files are supported, and all data +should be imported, but only a few components are understood in a sophisticated +way.") + (home-page "http://eventable.github.io/vobject/") + (license asl2.0) + (properties `((python2-variant . ,(delay python2-vobject)))))) + +(define-public python2-vobject + (package + (inherit (package-with-python2 + (strip-python2-variant python-vobject))) + (native-inputs `(("python2-setuptools" ,python2-setuptools))))) -- 2.6.3