From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: [PATCH 2/6] gnu: Add python-flake8-polyfill Date: Thu, 09 Feb 2017 23:54:12 +0100 Message-ID: <8737fnt1pn.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> References: <20170209174837.30914-1-fredmanglis@gmail.com> <20170209174837.30914-2-fredmanglis@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51585) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbxbX-00012n-Au for guix-devel@gnu.org; Thu, 09 Feb 2017 17:54:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cbxbT-0004zF-AW for guix-devel@gnu.org; Thu, 09 Feb 2017 17:54:19 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:32900) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cbxbT-0004z2-6a for guix-devel@gnu.org; Thu, 09 Feb 2017 17:54:15 -0500 In-Reply-To: <20170209174837.30914-2-fredmanglis@gmail.com> 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 Cc: Muriithi Frederick Muriuki --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Muriithi Frederick Muriuki writes: > * gnu/packages/python.scm (python-flake8-polyfill): New variable. Applied, thanks! I moved this closer to the "python-flake8" expression so it's easier to locate in the source code. Also added the python2 variant on this and others where applicable. I did remove python-flake8 from propagated-inputs too. While required by this package, AFAIU from the description, it's designed to be used with different flake versions, so propagating one may cause conflicts. > --- > gnu/packages/python.scm | 21 +++++++++++++++++++++ > 1 file changed, 21 insertions(+) > > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm > index 61b34bf..6b56312 100644 > --- a/gnu/packages/python.scm > +++ b/gnu/packages/python.scm > @@ -12559,3 +12559,24 @@ faster ones are not available.") > "Python module dedicated to rendering RST (reStructuredText) docume= nts to > ansi-escaped strings suitable for display in a terminal.") > (license license:expat))) > + > +(define-public python-flake8-polyfill > + (package > + (name "python-flake8-polyfill") > + (version "1.0.1") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "flake8-polyfill" version)) > + (sha256 > + (base32 > + "02gn2wxvh9vnf7m7dld7ca4l60mg5c370hv3swwppkngwaqmcw67")))) > + (build-system python-build-system) > + (native-inputs > + `(("python-flake8" ,python-flake8))) > + (home-page "https://gitlab.com/pycqa/flake8-polyfill") > + (synopsis "Polyfill package for Flake8 plugins") > + (description > + "This package that provides some compatibility helpers for Flake8 p= lugins that > + intend to support Flake8 2.x and 3.x simultaneously.") > + (license license:expat))) > --=20 > 2.10.2 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlic8xQACgkQoqBt8qM6 VPrcaAgAjpRJ2TJ5mJTNuseVNlhBSJreu+5k9D0KyR+ZSVR3sZXpa4k1t1zDguc2 aiPhwI0zmqKcdr1ArEDVpVhfoqG48ICcC4yHCt/k1YeVpszVy+GOufkoO8EE/mQM JKWpa+zqypF9Vxtkjn5nV3nPJc1daXJehfC1k36CKOKY4/cK9N0EeiGE4suIRWb/ eqAR/S8XIGrPKgu+ZvgjGE2ndubWpWEjxU0pPJORK9hZRr7+NLoR1NOx7tc7DtfC 2IUk3KAA+6jAUlsjTBU27wJYie4tmy60SlRWZ4oZWbO2OhgIN+lSaT922+qJtvfE yi11u0iN5pAAohJUH0iTWCEi7bXTXg== =pSdc -----END PGP SIGNATURE----- --=-=-=--