From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AD858138331 for ; Mon, 23 Apr 2018 19:17:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AA305E0BF3; Mon, 23 Apr 2018 19:17:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 89BD5E0BF4 for ; Mon, 23 Apr 2018 19:17:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 827AA335C78 for ; Mon, 23 Apr 2018 19:17:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 832EB2A2 for ; Mon, 23 Apr 2018 19:17:30 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1524511028.a726bced142e6d3440f4fb6d925f76717226d477.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/pycadia/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-arcade/pycadia/pycadia-0.5.1-r1.ebuild X-VCS-Directories: games-arcade/pycadia/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: a726bced142e6d3440f4fb6d925f76717226d477 X-VCS-Branch: master Date: Mon, 23 Apr 2018 19:17:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 44c050c7-647a-4321-abd0-1476a5512361 X-Archives-Hash: b09268237eb1573df1ebad79b2b723a0 commit: a726bced142e6d3440f4fb6d925f76717226d477 Author: Pacho Ramos gentoo org> AuthorDate: Mon Apr 23 18:26:07 2018 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Mon Apr 23 19:17:08 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a726bced games-arcade/pycadia: Stop using games.eclass Package-Manager: Portage-2.3.31, Repoman-2.3.9 games-arcade/pycadia/pycadia-0.5.1-r1.ebuild | 46 ++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/games-arcade/pycadia/pycadia-0.5.1-r1.ebuild b/games-arcade/pycadia/pycadia-0.5.1-r1.ebuild new file mode 100644 index 00000000000..4ddccdf135a --- /dev/null +++ b/games-arcade/pycadia/pycadia-0.5.1-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="Pycadia. Home to vector gaming, python style" +HOMEPAGE="http://www.anti-particle.com/pycadia.shtml" +SRC_URI="http://www.anti-particle.com/downloads/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND=" + >=dev-python/pygame-1.5.5 + dev-python/pygtk:2 +" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${PN}" + +src_unpack() { + unpack ${A} + { + echo "#!/bin/sh" + echo "cd /usr/share/${PN}" + echo "exec python2 ./pycadia.py \"\${@}\"" + } > "${T}/pycadia" +} + +src_install() { + dobin "${T}/pycadia" + + insinto "/usr/share/${PN}" + doins -r {glade,pixmaps,sounds} *.py pycadia.conf + + exeinto "/usr/share/${PN}" + doexe pycadia.py spacewarpy.py vektoroids.py + + newicon pixmaps/pysteroids.png ${PN}.png + make_desktop_entry ${PN} Pycadia + + dodoc doc/{TODO,CHANGELOG,README} +}