From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:44396) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jK3Ql-0006S1-Ll for guix-patches@gnu.org; Thu, 02 Apr 2020 13:15:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jK3Qk-00043c-Mr for guix-patches@gnu.org; Thu, 02 Apr 2020 13:15:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57379) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jK3Qk-00043V-Ir for guix-patches@gnu.org; Thu, 02 Apr 2020 13:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jK3Qk-0004B1-Cv for guix-patches@gnu.org; Thu, 02 Apr 2020 13:15:02 -0400 Subject: [bug#40318] [PATCH] gnu: Add tuir. Resent-Message-ID: From: Marius Bakke In-Reply-To: <20200329142300.26328-1-efraim@flashner.co.il> References: <20200329142300.26328-1-efraim@flashner.co.il> Date: Thu, 02 Apr 2020 19:14:25 +0200 Message-ID: <87h7y1rery.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Efraim Flashner , 40318@debbugs.gnu.org --=-=-= Content-Type: text/plain Efraim Flashner writes: > * gnu/packages/syndication.scm (tuir): New variable. [...] > + (build-system python-build-system) > + (arguments > + `(#:phases > + (modify-phases %standard-phases > + (replace 'check > + (lambda* (#:key inputs outputs #:allow-other-keys) > + (add-installed-pythonpath inputs outputs) > + (invoke "py.test" "-v")))))) > + (propagated-inputs > + `(("python-beautifulsoup4" ,python-beautifulsoup4) > + ("python-decorator" ,python-decorator) > + ("python-kitchen" ,python-kitchen) > + ("python-requests" ,python-requests) > + ("python-six" ,python-six))) As this is a terminal application, I guess these inputs can be regular inputs instead of propagated? The 'wrap' phase should take care of things automatically. Also note that "py.test" is deprecated and one is supposed to use just "pytest" nowadays IIRC. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl6GHXEACgkQoqBt8qM6 VPqG0QgAwosbXbONrRNBOOcaUMTAnnJskK9zwZEAJyNCXdzX+Vdub6QToaN2Hec8 glC5RfW9pxofXfSPmIpe6Qw4T1KYRvsKjLMGTCW1sAEwZ5Rw6+/Gjlbg5d/Pj+sI fBdi0wWaQmExhRLWr/N0zH9bo6c8h5JMRFR2UmDsDHxhqrf4T41+u0FyBVAzR6jL /Gj4bwOer42a2NOU/dmyIoRnILsfUc88XvDzvfsVtXycBd0CaNLmQVV9FOSLwOA2 D9dfmTbVPxP+to5Tjo+Fyp9gXFVFYvnzVrj/mN70rzvELDlAJ9cVhy+d6JISKf9b CijSPNkd84UKVlCM59nyCjK8daUkuA== =j820 -----END PGP SIGNATURE----- --=-=-=--