From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: [PATCH 3/6] gnu: Add python-ddt Date: Wed, 08 Feb 2017 23:32:20 +0100 Message-ID: <87d1esb9fv.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> References: <1486490441-3995-1-git-send-email-fredmanglis@gmail.com> <1486490441-3995-3-git-send-email-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]:57782) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbamo-0005NI-Hn for guix-devel@gnu.org; Wed, 08 Feb 2017 17:32:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cbaml-0003gH-EY for guix-devel@gnu.org; Wed, 08 Feb 2017 17:32:26 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:54612) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cbaml-0003g4-9w for guix-devel@gnu.org; Wed, 08 Feb 2017 17:32:23 -0500 In-Reply-To: <1486490441-3995-3-git-send-email-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-ddt): New variable. > --- > gnu/packages/python.scm | 25 +++++++++++++++++++++++++ > 1 file changed, 25 insertions(+) > > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm > index b39d8b1..44704b2 100644 > --- a/gnu/packages/python.scm > +++ b/gnu/packages/python.scm > @@ -12580,3 +12580,28 @@ faster ones are not available.") > "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))) > + > +(define-public python-ddt > + (package > + (name "python-ddt") > + (version "1.1.1") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "ddt" version)) > + (sha256 > + (base32 > + "1c00ikkxr7lha97c81k938bzhgd4pbwamkjn0h4nkhr3xk00zp6n")))) > + (build-system python-build-system) > + (native-inputs > + `(("python-mock" ,python-mock) > + ("python-nose" ,python-nose))) > + (inputs > + `(("python-six" ,python-six) > + ("python-pyyaml" ,python-pyyaml))) > + (home-page "https://github.com/txels/ddt") > + (synopsis "Data-Driven/Decorated Tests") Where does "decorated" come from? :) > + (description "DDT (Data-Driven Tests) allows you to multiply one tes= t case by running > + it with different test data, and make it appear as multiple test cases") > + (license (license:non-copyleft > + "https://github.com/txels/ddt/blob/master/LICENSE.md")))) This looks like the "expat" license. > --=20 > 2.1.4 Btw, this git version is *very* old. Consider `guix package -i git` ;-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlibnHQACgkQoqBt8qM6 VPqSgAf+JWJwiIE+AguiFdnCIwx/Ztmhhg7dxH8G4fZgOYRkFvCyGm+xn6soplZa 5+3kj2cf8YDE+pUmwn6INcZ87NvqwoNxHIrrfmqU8HmbtZwfD2eVClGY7RUGSI4T mkuZyRZX3x2tUx8TJcjhPT0mGYnz+XpfJUtlNWcNwUj0c01EezMZwim5uIk+IWnQ fFs+wPnLYmKVvVtvgY7Wm9Qahq5vtPjxDD7Rst8OPUqEzQXCAxq9Rl5hm3yQt5WK Zc1hc2xvmv6Uq4maTrQiCGlkFq581uFSBMAH/43v3hwgpVIBlp+TUbdpngyaDzLv +fAik3JK5bGJNy4WQWyXkj1uFUbqQA== =PdFx -----END PGP SIGNATURE----- --=-=-=--