From unknown Sat Jun 21 10:38:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25723: [PATCH] gnu: Add python-cycler. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 14 Feb 2017 14:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25723 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 25723@debbugs.gnu.org Cc: Marius Bakke X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.148708324017384 (code B ref -1); Tue, 14 Feb 2017 14:41:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Feb 2017 14:40:40 +0000 Received: from localhost ([127.0.0.1]:39419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cdeHX-0004WK-R2 for submit@debbugs.gnu.org; Tue, 14 Feb 2017 09:40:40 -0500 Received: from eggs.gnu.org ([208.118.235.92]:60860) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cdeHV-0004W8-M7 for submit@debbugs.gnu.org; Tue, 14 Feb 2017 09:40:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cdeHP-0006Ah-3g for submit@debbugs.gnu.org; Tue, 14 Feb 2017 09:40:32 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36618) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cdeHP-0006AY-0R for submit@debbugs.gnu.org; Tue, 14 Feb 2017 09:40:31 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51802) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cdeHM-0004uJ-IC for guix-patches@gnu.org; Tue, 14 Feb 2017 09:40:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cdeHH-00066r-ME for guix-patches@gnu.org; Tue, 14 Feb 2017 09:40:28 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:39906) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cdeHH-000663-DL for guix-patches@gnu.org; Tue, 14 Feb 2017 09:40:23 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 5DDAA20AEA; Tue, 14 Feb 2017 09:40:21 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Tue, 14 Feb 2017 09:40:21 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h=cc :date:from:message-id:subject:to:x-me-sender:x-me-sender :x-sasl-enc:x-sasl-enc; s=mesmtp; bh=gsVGPPnkw6uV7ivPHCzb/p4B2jo =; b=CFuLkOUdlMC9htr5eAY64yTzqYbHKtp10s8/YMo3GGFcqgVsf+fSFAcCSq3 sHHcx/Q6j9m0lmYfLly6pTr1VtsyhTmuiCdz6VSSJLgQsNxgUWy3wYJwRLcE1XWc ES5mZDJahNXYjqGFLL9pNZPcOrYAoPwhZUWF1FQ5QcK9ChN4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:message-id:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=smtpout; bh=gs VGPPnkw6uV7ivPHCzb/p4B2jo=; b=P4rJAwD8jXqFEJPFaQNKihvDC1rNlzZawB DfuteLo4k7w4/9Ij+U7FqpU/B0E/e1P7v7VHLOE4gpcJ3t356XS7EvAxkC2yRNhb Y8B/Djoom2t4/pfdJljhxprAxA20yg0dtoJ0+rzfx6kulJv1kTFeJWVi8xfzSj/Y 7eG8gki2s= X-ME-Sender: X-Sasl-enc: a+j74E6cpWFbFkL/0PAP5XaV9dZbZqf3e13ajU/kzuQH 1487083220 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id EA819240CA; Tue, 14 Feb 2017 09:40:20 -0500 (EST) From: Marius Bakke Date: Tue, 14 Feb 2017 15:39:19 +0100 Message-Id: <20170214143919.21578-1-mbakke@fastmail.com> X-Mailer: git-send-email 2.11.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.4 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.4 (----) This is required for recent versions of matplotlib. * gnu/packages/python.scm (python-cycler, python2-cycler): New variables. --- gnu/packages/python.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 22a4c590b..5ebca3b6a 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -3601,6 +3601,37 @@ transcendental functions).") (define-public python2-numexpr (package-with-python2 python-numexpr)) +(define-public python-cycler + (package + (name "python-cycler") + (version "0.10.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "cycler" version)) + (sha256 + (base32 + "1n69n23fak1gjxlrbhqisi2b9pv3ckrfj98llx3p53953082syyd")))) + (build-system python-build-system) + (arguments + ;; XXX: The current version requires 'coveralls' which we don't have. + ;; Enable this for the next release which uses 'python-pytest'. + '(#:tests? #f)) + (propagated-inputs + `(("python-six" ,python-six))) + (home-page "http://matplotlib.org/cycler/") + (synopsis "Composable kwarg iterator") + (description + "When using @code{matplotlib} and plotting more than one line, it is +common to want to be able to cycle over one or more artist styles; but the +plotting logic can quickly become involved. + +To address this and enable easy cycling over arbitrary @code{kwargs}, the +@code{Cycler} class was developed.") + (license license:bsd-3))) + +(define-public python2-cycler + (package-with-python2 python-cycler)) + (define-public python-matplotlib (package (name "python-matplotlib") -- 2.11.1 From unknown Sat Jun 21 10:38:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25723: [PATCH] gnu: Add python-cycler. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Feb 2017 17:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25723 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Marius Bakke Cc: 25723@debbugs.gnu.org Received: via spool by 25723-submit@debbugs.gnu.org id=B25723.148735317027156 (code B ref 25723); Fri, 17 Feb 2017 17:40:02 +0000 Received: (at 25723) by debbugs.gnu.org; 17 Feb 2017 17:39:30 +0000 Received: from localhost ([127.0.0.1]:43791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cemVF-00073w-V7 for submit@debbugs.gnu.org; Fri, 17 Feb 2017 12:39:30 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21056) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cemVD-00073n-ER for 25723@debbugs.gnu.org; Fri, 17 Feb 2017 12:39:28 -0500 Received: from localhost (x2f7fd22.dyn.telefonica.de [2.247.253.34]) by mx.zohomail.com with SMTPS id 1487353162480716.7629421704655; Fri, 17 Feb 2017 09:39:22 -0800 (PST) References: <20170214143919.21578-1-mbakke@fastmail.com> User-agent: mu4e 0.9.18; emacs 25.1.1 From: Ricardo Wurmus In-reply-to: <20170214143919.21578-1-mbakke@fastmail.com> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Fri, 17 Feb 2017 18:38:43 +0100 Message-ID: <87d1eg90po.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Marius Bakke writes: > This is required for recent versions of matplotlib. > > * gnu/packages/python.scm (python-cycler, python2-cycler): New variables. > --- > gnu/packages/python.scm | 31 +++++++++++++++++++++++++++++++ > 1 file changed, 31 insertions(+) > > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm > index 22a4c590b..5ebca3b6a 100644 > --- a/gnu/packages/python.scm > +++ b/gnu/packages/python.scm > @@ -3601,6 +3601,37 @@ transcendental functions).") > (define-public python2-numexpr > (package-with-python2 python-numexpr)) > > +(define-public python-cycler > + (package > + (name "python-cycler") > + (version "0.10.0") > + (source (origin > + (method url-fetch) > + (uri (pypi-uri "cycler" version)) > + (sha256 > + (base32 > + "1n69n23fak1gjxlrbhqisi2b9pv3ckrfj98llx3p53953082syyd")))) > + (build-system python-build-system) > + (arguments > + ;; XXX: The current version requires 'coveralls' which we don't have. > + ;; Enable this for the next release which uses 'python-pytest'. > + '(#:tests? #f)) > + (propagated-inputs > + `(("python-six" ,python-six))) Is python-six really required at runtime? Since you offer a variant for Python 2, should python-six only be used with one of these variants? > + (home-page "http://matplotlib.org/cycler/") > + (synopsis "Composable kwarg iterator") I assume that “kwarg” is a generally known term in Python, but maybe it is not. Could this be replaced with “keyword argument”? > + (description > + "When using @code{matplotlib} and plotting more than one line, it is > +common to want to be able to cycle over one or more artist styles; but the > +plotting logic can quickly become involved. > + > +To address this and enable easy cycling over arbitrary @code{kwargs}, the > +@code{Cycler} class was developed.") I would remove the empty line. > + (license license:bsd-3))) > + > +(define-public python2-cycler > + (package-with-python2 python-cycler)) > + See question above about python-six. Other than that it looks good to me. Thank you! -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net From unknown Sat Jun 21 10:38:57 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Marius Bakke Subject: bug#25723: closed (Re: bug#25723: [PATCH] gnu: Add python-cycler.) Message-ID: References: <87efytkg04.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <20170214143919.21578-1-mbakke@fastmail.com> X-Gnu-PR-Message: they-closed 25723 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 25723@debbugs.gnu.org Date: Sun, 19 Feb 2017 21:50:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1487541002-10602-1" This is a multi-part message in MIME format... ------------=_1487541002-10602-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #25723: [PATCH] gnu: Add python-cycler. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 25723@debbugs.gnu.org. --=20 25723: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D25723 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1487541002-10602-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 25723-done) by debbugs.gnu.org; 19 Feb 2017 21:49:53 +0000 Received: from localhost ([127.0.0.1]:46560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfZMe-0002kc-TV for submit@debbugs.gnu.org; Sun, 19 Feb 2017 16:49:53 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:33314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfZMc-0002kS-9x for 25723-done@debbugs.gnu.org; Sun, 19 Feb 2017 16:49:51 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 854B7207C2; Sun, 19 Feb 2017 16:49:49 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Sun, 19 Feb 2017 16:49:49 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h=cc :content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=494tHLklIC2iGXH0+KXxcD4jKQQ=; b=cBE/mW AlLzRFPbjS492p4wkBTOV8E8UtViJWTyVhKn3nhY7FcsXg7R9oHFrywdyPp7m6Gu 2ikL1oss62c6NlMO7hgEp5R0GsAG11boBwbYw8JYN+qHvGbdOQTKKgkQqZ/2aR4r tBt0xBJDFjwVKqDFk4UjSwNzNzQztVuYfydIE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=smtpout; bh=494tHLklIC2iGX H0+KXxcD4jKQQ=; b=K15bMJtuNkLrBQbagYkDeTBYnowcNbhcPP4oEVUZ4Gygaz k4Uaxd3pLub5e4hyeNyeZhC3/XxJn70rvzaPCyj/a1ZzFKgK8sRj6/l+giCc4CZs 4YdnTEVO8CX3DxSgo3Y4y2a4FXQ8ar06jeQd3o7sr4IwZXtM9sy8BZMZ6kDkw= X-ME-Sender: X-Sasl-enc: fUnYQlVJzoj0NPwhbyCg9WpuJJQmyT/RasYjGRw1LaUL 1487540989 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id 1E66524377; Sun, 19 Feb 2017 16:49:49 -0500 (EST) From: Marius Bakke To: Ricardo Wurmus Subject: Re: bug#25723: [PATCH] gnu: Add python-cycler. In-Reply-To: <87d1eg90po.fsf@elephly.net> References: <20170214143919.21578-1-mbakke@fastmail.com> <87d1eg90po.fsf@elephly.net> User-Agent: Notmuch/0.23.5 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-unknown-linux-gnu) Date: Sun, 19 Feb 2017 22:49:47 +0100 Message-ID: <87efytkg04.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 25723-done Cc: 25723-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ricardo, Thanks a lot for the feedback!=20 Ricardo Wurmus writes: >> + (propagated-inputs >> + `(("python-six" ,python-six))) > > Is python-six really required at runtime? Since you offer a variant for > Python 2, should python-six only be used with one of these variants? python-six is imported unconditionally by cycler.py. I believe this is common practice, and the "six" class offers compatibility "both ways", not just e.g. 2->3. >> + (home-page "http://matplotlib.org/cycler/") >> + (synopsis "Composable kwarg iterator") > > I assume that =E2=80=9Ckwarg=E2=80=9D is a generally known term in Python= , but maybe it > is not. Could this be replaced with =E2=80=9Ckeyword argument=E2=80=9D? Yes, that is better, thanks! > >> + (description >> + "When using @code{matplotlib} and plotting more than one line, it = is >> +common to want to be able to cycle over one or more artist styles; but = the >> +plotting logic can quickly become involved. >> + >> +To address this and enable easy cycling over arbitrary @code{kwargs}, t= he >> +@code{Cycler} class was developed.") > > I would remove the empty line. > >> + (license license:bsd-3))) >> + >> +(define-public python2-cycler >> + (package-with-python2 python-cycler)) >> + > > See question above about python-six. > Other than that it looks good to me. Thank you! Committed with these changes, thank you! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAliqEvsACgkQoqBt8qM6 VPqf4AgAuF16+e8cx8i2e/E+j8HAT6kc9x60PXk5w8Ceqq5X8hXct6o65kK0fmtI fZHsiaX9KJupB6o7JY3iM6W8N+Wx0ckjrNDyYSZsvtp8zoYBkf3vh6yBzzFvlTux GR629+qCIm/QNt/R6KCpUDrMv1XH8GhrVa8UFBs10rQbbkzM7i06iU0rxBNFdW0/ l2H1FI89euKRQwxHkz0u7YnvOJHuoXpSD+90NQ+K+jIU5pftMQI/tDER9TFvysV9 VOB5oa/cDQPZvVXf4t+WjbEXdehhS7Zc/ehpqHiGAv5+F2lidDBJTxxI/ukgkhea CM2bwo7Xme7zkw/flfLePHL+J/mQzg== =1j7D -----END PGP SIGNATURE----- --=-=-=-- ------------=_1487541002-10602-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 14 Feb 2017 14:40:40 +0000 Received: from localhost ([127.0.0.1]:39419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cdeHX-0004WK-R2 for submit@debbugs.gnu.org; Tue, 14 Feb 2017 09:40:40 -0500 Received: from eggs.gnu.org ([208.118.235.92]:60860) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cdeHV-0004W8-M7 for submit@debbugs.gnu.org; Tue, 14 Feb 2017 09:40:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cdeHP-0006Ah-3g for submit@debbugs.gnu.org; Tue, 14 Feb 2017 09:40:32 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36618) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cdeHP-0006AY-0R for submit@debbugs.gnu.org; Tue, 14 Feb 2017 09:40:31 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51802) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cdeHM-0004uJ-IC for guix-patches@gnu.org; Tue, 14 Feb 2017 09:40:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cdeHH-00066r-ME for guix-patches@gnu.org; Tue, 14 Feb 2017 09:40:28 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:39906) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cdeHH-000663-DL for guix-patches@gnu.org; Tue, 14 Feb 2017 09:40:23 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 5DDAA20AEA; Tue, 14 Feb 2017 09:40:21 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Tue, 14 Feb 2017 09:40:21 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h=cc :date:from:message-id:subject:to:x-me-sender:x-me-sender :x-sasl-enc:x-sasl-enc; s=mesmtp; bh=gsVGPPnkw6uV7ivPHCzb/p4B2jo =; b=CFuLkOUdlMC9htr5eAY64yTzqYbHKtp10s8/YMo3GGFcqgVsf+fSFAcCSq3 sHHcx/Q6j9m0lmYfLly6pTr1VtsyhTmuiCdz6VSSJLgQsNxgUWy3wYJwRLcE1XWc ES5mZDJahNXYjqGFLL9pNZPcOrYAoPwhZUWF1FQ5QcK9ChN4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:message-id:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=smtpout; bh=gs VGPPnkw6uV7ivPHCzb/p4B2jo=; b=P4rJAwD8jXqFEJPFaQNKihvDC1rNlzZawB DfuteLo4k7w4/9Ij+U7FqpU/B0E/e1P7v7VHLOE4gpcJ3t356XS7EvAxkC2yRNhb Y8B/Djoom2t4/pfdJljhxprAxA20yg0dtoJ0+rzfx6kulJv1kTFeJWVi8xfzSj/Y 7eG8gki2s= X-ME-Sender: X-Sasl-enc: a+j74E6cpWFbFkL/0PAP5XaV9dZbZqf3e13ajU/kzuQH 1487083220 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id EA819240CA; Tue, 14 Feb 2017 09:40:20 -0500 (EST) From: Marius Bakke To: guix-patches@gnu.org Subject: [PATCH] gnu: Add python-cycler. Date: Tue, 14 Feb 2017 15:39:19 +0100 Message-Id: <20170214143919.21578-1-mbakke@fastmail.com> X-Mailer: git-send-email 2.11.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.4 (----) X-Debbugs-Envelope-To: submit Cc: Marius Bakke X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.4 (----) This is required for recent versions of matplotlib. * gnu/packages/python.scm (python-cycler, python2-cycler): New variables. --- gnu/packages/python.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 22a4c590b..5ebca3b6a 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -3601,6 +3601,37 @@ transcendental functions).") (define-public python2-numexpr (package-with-python2 python-numexpr)) +(define-public python-cycler + (package + (name "python-cycler") + (version "0.10.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "cycler" version)) + (sha256 + (base32 + "1n69n23fak1gjxlrbhqisi2b9pv3ckrfj98llx3p53953082syyd")))) + (build-system python-build-system) + (arguments + ;; XXX: The current version requires 'coveralls' which we don't have. + ;; Enable this for the next release which uses 'python-pytest'. + '(#:tests? #f)) + (propagated-inputs + `(("python-six" ,python-six))) + (home-page "http://matplotlib.org/cycler/") + (synopsis "Composable kwarg iterator") + (description + "When using @code{matplotlib} and plotting more than one line, it is +common to want to be able to cycle over one or more artist styles; but the +plotting logic can quickly become involved. + +To address this and enable easy cycling over arbitrary @code{kwargs}, the +@code{Cycler} class was developed.") + (license license:bsd-3))) + +(define-public python2-cycler + (package-with-python2 python-cycler)) + (define-public python-matplotlib (package (name "python-matplotlib") -- 2.11.1 ------------=_1487541002-10602-1--