From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dO9c6-00063C-82 for guix-patches@gnu.org; Thu, 22 Jun 2017 17:26:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dO9c2-0002QQ-4Y for guix-patches@gnu.org; Thu, 22 Jun 2017 17:26:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59157) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dO9c2-0002QG-1q for guix-patches@gnu.org; Thu, 22 Jun 2017 17:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dO9c1-0000bS-SL for guix-patches@gnu.org; Thu, 22 Jun 2017 17:26:01 -0400 Subject: bug#27190: [PATCH] gnu: Add retux. Resent-To: guix-patches@gnu.org Resent-Message-ID: From: Kei Kebreau In-Reply-To: <20170601174844.4306-1-kei@openmailbox.org> (Kei Kebreau's message of "Thu, 1 Jun 2017 13:48:44 -0400") References: <20170601174844.4306-1-kei@openmailbox.org> Date: Thu, 22 Jun 2017 17:25:30 -0400 Message-ID: <8737arsoj9.fsf@openmailbox.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; 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: 27190-done@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Kei Kebreau writes: > * gnu/packages/games.scm (retux): New variable. > --- > gnu/packages/games.scm | 57 ++++++++++++++++++++++++++++++++++++++++++++= ++++++ > 1 file changed, 57 insertions(+) > > diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm > index 60d885500..aaae1e54b 100644 > --- a/gnu/packages/games.scm > +++ b/gnu/packages/games.scm > @@ -331,6 +331,63 @@ Chess). It is similar to standard chess but this va= riant is far more complicate > "PrBoom+ is a Doom source port developed from the original PrBoom pr= oject.") > (license license:gpl2+))) >=20=20 > +(define-public retux > + (package > + (name "retux") > + (version "1.3.4") > + (source (origin > + (method url-fetch) > + (uri (string-append "mirror://savannah/retux/" > + (version-major+minor version) "/retux-" > + version "-src.tar.gz")) > + (sha256 > + (base32 > + "1wgvh3q96kfgymb2jpd58xsms9hmckhhc4fq7v2k61gh2l11cvdj"))= )) > + (build-system python-build-system) > + (arguments > + `(#:tests? #f ; no check target > + #:phases > + (modify-phases %standard-phases > + ;; no setup.py script > + (delete 'build) > + (replace 'install > + (lambda* (#:key outputs #:allow-other-keys) > + (let* ((out (assoc-ref outputs "out")) > + (bin (string-append out "/bin")) > + (data (string-append out "/share/retux")) > + (doc (string-append out "/share/doc/retux"))) > + (mkdir-p bin) > + > + (substitute* "retux.py" > + ;; Use the correct data directory. > + (("os\\.path\\.join\\(os\\.path\\.dirname\\(__file__\\)= , \"data\"\\),") > + (string-append "\"" data "\",")) > + ;; Use Python 3 so the patch-shebangs phase works prope= rly. > + ((".*python2.*") "#!/usr/bin/python3")) > + > + (copy-file "retux.py" (string-append bin "/retux")) > + > + (copy-recursively "data" data) > + > + (install-file "COPYING" doc))))))) > + (inputs `(("python-sge-pygame" ,python-sge-pygame) > + ("python-six" ,python-six) > + ("python-xsge" ,python-xsge))) > + (home-page "http://retux.nongnu.org") > + (synopsis "Action platformer game") > + (description > + "ReTux is an action platformer loosely inspired by the Mario games, > +utilizing the art assets from the @code{SuperTux} project.") > + ;; GPL version 3 or later is the license for the code and some art. > + ;; The rest of the licenses are for the art exclusively, as listed in > + ;; data/LICENSES. > + (license (list license:cc0 > + license:cc-by3.0 > + license:cc-by-sa3.0 > + license:cc-by-sa4.0 > + license:gpl2+ > + license:gpl3+)))) > + > (define-public xshogi > (package > (name "xshogi") Noting the lack of commentary, this package is pushed to master as 519bfc656c680067c902f12b9db32fa8a0ec7c2a. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAllMNcoACgkQ5qXuPBlG eg36tw//blCGOIJ7FTIJraDApEyb9eDR8NgRX7btputn+D2i8nXP0R1gi5dy0qmV tJWWLp3nnBWGw0PE8Eyn9q8l2sBUiujowkLwluvzpqxtscBLZG/qoru+yAtR4hBJ bM8DcpIHMXDIb2Y31XTWL6druCPcao6e9qWvhpC8X0GzfAleMZbyXh4cN2PY1QTe HAcle92VGSNYlOGynU5+YMPV2spJ9TL4VIqEeuy0+N0JZeUrfHSSaEP3VveKbAt7 Hk2G/bpQ30jre/SjVqAKh5zL7UayGPnPtzpV+XCYDx88fkm2uEUIGnDGNrS5oYHr Wpq+HKzlzOt5W52QXo4sxlwzMAt6aEjQPyG+7lQ8PQsGJfvej80SVYeKHkD0SonT JaNBLayol7WKHxiEkg1q99DnY2NpZmInga+cfa8VSIYu0eVX6sK5NsZ0kvrbRWyb dmUpS33XaVUeSAmJ2XpCslXKjQ0eqi16OiJzr5WSIvBuegK2EttExeCpgk+t9Cob +bQKI5bEOFl0H6eSJUyZmlSZs5uUQp9R2R9GCU3VShntdwZQwFZxJrYSQf+5Lof0 eU6bT7R7/eeuiuaHMVZUtAS4PceYXi0igXqprxLK9w7ZXd2Igf0lZ5iXf2OV6su1 EGmL46AGBC1/DpnWAfrlSPJ2lH7HZ9+S+Sazcz6q4zWQWIYeaXQ= =PPat -----END PGP SIGNATURE----- --=-=-=--