* [gentoo-commits] repo/gentoo:master commit in: games-arcade/pycadia/
@ 2018-04-23 19:17 Pacho Ramos
0 siblings, 0 replies; 2+ messages in thread
From: Pacho Ramos @ 2018-04-23 19:17 UTC (permalink / raw
To: gentoo-commits
commit: a726bced142e6d3440f4fb6d925f76717226d477
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 23 18:26:07 2018 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> 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}
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-arcade/pycadia/
@ 2018-04-23 19:17 Pacho Ramos
0 siblings, 0 replies; 2+ messages in thread
From: Pacho Ramos @ 2018-04-23 19:17 UTC (permalink / raw
To: gentoo-commits
commit: 5ffb6470af0abac6a5566c87256ff26bb7dd6614
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 23 18:26:16 2018 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Mon Apr 23 19:17:10 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ffb6470
games-arcade/pycadia: Drop old
Package-Manager: Portage-2.3.31, Repoman-2.3.9
games-arcade/pycadia/pycadia-0.5.1.ebuild | 44 -------------------------------
1 file changed, 44 deletions(-)
diff --git a/games-arcade/pycadia/pycadia-0.5.1.ebuild b/games-arcade/pycadia/pycadia-0.5.1.ebuild
deleted file mode 100644
index 2c00e9799aa..00000000000
--- a/games-arcade/pycadia/pycadia-0.5.1.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils games
-
-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=""
-
-DEPEND=">=dev-python/pygame-1.5.5
- dev-python/pygtk:2"
-
-S=${WORKDIR}/${PN}
-
-src_unpack() {
- unpack ${A}
- {
- echo "#!/bin/sh"
- echo "cd ${GAMES_DATADIR}/${PN}"
- echo "exec python2 ./pycadia.py \"\${@}\""
- } > "${T}/pycadia"
-}
-
-src_install() {
- dogamesbin "${T}/pycadia"
-
- insinto "${GAMES_DATADIR}/${PN}"
- doins -r {glade,pixmaps,sounds} *.py pycadia.conf
-
- exeinto "${GAMES_DATADIR}/${PN}"
- doexe pycadia.py spacewarpy.py vektoroids.py
-
- newicon pixmaps/pysteroids.png ${PN}.png
- make_desktop_entry ${PN} Pycadia
-
- dodoc doc/{TODO,CHANGELOG,README}
- prepgamesdirs
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-04-23 19:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-23 19:17 [gentoo-commits] repo/gentoo:master commit in: games-arcade/pycadia/ Pacho Ramos
-- strict thread matches above, loose matches on Subject: below --
2018-04-23 19:17 Pacho Ramos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox