From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KNgSMwxi7WB0ZAAAgWs5BA (envelope-from ) for ; Tue, 13 Jul 2021 11:51:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id qBTYLgxi7WBGDgAAB5/wlQ (envelope-from ) for ; Tue, 13 Jul 2021 09:51:08 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 918DA21E2F for ; Tue, 13 Jul 2021 11:51:08 +0200 (CEST) Received: from localhost ([::1]:33554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m3F4F-0007fJ-JU for larch@yhetil.org; Tue, 13 Jul 2021 05:51:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56820) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3F4A-0007cE-LX for guix-patches@gnu.org; Tue, 13 Jul 2021 05:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56166) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m3F4A-0006UQ-DZ for guix-patches@gnu.org; Tue, 13 Jul 2021 05:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m3F4A-0007qS-3D for guix-patches@gnu.org; Tue, 13 Jul 2021 05:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49541] [PATCH 1/2] gnu: Add python-pandas-flavor. References: <20210713094240.26928-1-arunisaac@systemreboot.net> In-Reply-To: <20210713094240.26928-1-arunisaac@systemreboot.net> Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 13 Jul 2021 09:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49541 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49541@debbugs.gnu.org Cc: "Bonface Munyoki K ." , Arun Isaac Received: via spool by 49541-submit@debbugs.gnu.org id=B49541.162616981630073 (code B ref 49541); Tue, 13 Jul 2021 09:51:02 +0000 Received: (at 49541) by debbugs.gnu.org; 13 Jul 2021 09:50:16 +0000 Received: from localhost ([127.0.0.1]:39476 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3F3P-0007oz-Mi for submit@debbugs.gnu.org; Tue, 13 Jul 2021 05:50:15 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:42068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3F3N-0007om-Cs for 49541@debbugs.gnu.org; Tue, 13 Jul 2021 05:50:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=B1JnolW9xN13/e0u2pt4k95YUg3D88HH/RMEIMhm3TI=; b=JUi9aKeRwpYG4BxdfT3fz8E1wn /6Nxo1sGodR0EJ4+OmNtMZcVJLrbrbsG5DYbiCnYbPXltk/QPQ3sfJ9VmKXnTQSc5/wRo/UdsOlKp o4KT98yVxDeyXNv6iPtD7hguFtrj/g9XV/bNl+wXbYy0+WEp0ou8ZuSrvGtBU81l63g7cLQKBrdJ/ n6VHBMQ6RFGn+6rstmSQkqGyGdtQq5rNGNaqH1YqHew9gkPUsl3mRX7m1iJLKoVXJEX9tPWgMwowh pCu2JJ7sFQT9ZYc3/cwivzrAXsum69sdvGWjLC1Fu8bcnZVxoaZ6vXj1Hd1uGra3krZi7MYsOjjdm RoiPdllw==; Received: from [192.168.2.1] (helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1m3F3K-000PDU-IM; Tue, 13 Jul 2021 15:20:10 +0530 From: Arun Isaac Date: Tue, 13 Jul 2021 15:19:50 +0530 Message-Id: <20210713094951.27213-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626169868; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=B1JnolW9xN13/e0u2pt4k95YUg3D88HH/RMEIMhm3TI=; b=AThpgEADtRO9ieIb/lTvNdWxkEis4M4emn9BEsRSAtG8lEnc4ZHHVg8G6RW/rhPqJDfeJb mg4jRUCeaeW+MPcU7WAvzz2mSFRak35XBZVpBdmG3iDuzt5BTJc8oXBNSXEXxlBw7ImiDl JzklYWvefhpDpTrdLOHI9J2d13TXGMiPQYw6KPuihWb2NXWC4+/rNLvWRm96omzbSXZdNr QXkpEAjt54lnV9/41K0eStDEKexn562OyoucA1YJcAOpkpGqHgolYLJUv32kTHSqlPVj7m I686V132hJ/ucCOoeevOcNB2ctMzGr4OzxVUFOoUw2nRmzDvm1+qMU0MdZK3Xg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626169868; a=rsa-sha256; cv=none; b=PCyc4ZwVifSTKReOyDvEe/l+uqc5mU+ZXpTSvTHzHc305jLwB+KcbTf9Z4ljftDnoOmFLB 1rEqZ5U5fTLWQ6uFAAgHhNt8RJMBYIDohFAXf+NAghHKN6Ornqper3+muyq/dVkGpbINYa s3A4mn2bAw8GGEbQZV1ndNfKBqcDqIK4/EYSB8EGbcR29R1Qvdw5+m3S8WIJJ3Hv87WdYV Ier3SpSJhe8twiC2bCgXdMhlvVxfr5vg8loGKPb6ezboB4vFYt0a+sRu08X4nr980l7QVE L6mj+uSJdItHCC69xcL3uoMNNfMBL4bpyEu8nXngf1m826bDL2fMKD+M1ZqInw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=JUi9aKeR; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.30 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=JUi9aKeR; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 918DA21E2F X-Spam-Score: -0.30 X-Migadu-Scanner: scn0.migadu.com X-TUID: xvQwjjCVBD++ * gnu/packages/python-science.scm (python-pandas-flavor): New variable. --- gnu/packages/python-science.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index d2c4caac3a..1292781f2b 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2021 Greg Hogan ;;; Copyright © 2021 Roel Janssen ;;; Copyright © 2021 Paul Garlick +;;; Copyright © 2021 Arun Isaac ;;; ;;; This file is part of GNU Guix. ;;; @@ -733,3 +734,30 @@ dependencies.") license:silofl1.1 license:cc0 license:public-domain)))) + +(define-public python-pandas-flavor + (package + (name "python-pandas-flavor") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pandas_flavor" version)) + (sha256 + (base32 + "12g4av8gpl6l83yza3h97j3f2jblqv69frlidrvdq8ny2rc6awbq")))) + (build-system python-build-system) + (propagated-inputs + `(("python-pandas" ,python-pandas) + ("python-xarray" ,python-xarray))) + (home-page "https://github.com/Zsailer/pandas_flavor") + (synopsis "Write your own flavor of Pandas") + (description "Pandas 0.23 added a simple API for registering accessors +with Pandas objects. Pandas-flavor extends Pandas' extension API by + +@itemize +@item adding support for registering methods as well +@item making each of these functions backwards compatible with older versions +of Pandas +@end itemize") + (license license:expat))) -- 2.32.0