public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/diameter/
Date: Fri, 26 May 2017 23:35:09 +0000 (UTC)	[thread overview]
Message-ID: <1495841699.08852b15962ce54d5ca50991a641582e9bc5636b.soap@gentoo> (raw)

commit:     08852b15962ce54d5ca50991a641582e9bc5636b
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri May 26 23:22:03 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri May 26 23:34:59 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08852b15

games-arcade/diameter: Port to EAPI 6

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 ....4.0.3-r1.ebuild => diameter-0.4.0.3-r2.ebuild} | 29 ++++++++++++----------
 1 file changed, 16 insertions(+), 13 deletions(-)

diff --git a/games-arcade/diameter/diameter-0.4.0.3-r1.ebuild b/games-arcade/diameter/diameter-0.4.0.3-r2.ebuild
similarity index 79%
rename from games-arcade/diameter/diameter-0.4.0.3-r1.ebuild
rename to games-arcade/diameter/diameter-0.4.0.3-r2.ebuild
index eac428443df..6421dfd3c48 100644
--- a/games-arcade/diameter/diameter-0.4.0.3-r1.ebuild
+++ b/games-arcade/diameter/diameter-0.4.0.3-r2.ebuild
@@ -1,9 +1,11 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
+
 PYTHON_COMPAT=( python2_7 )
-inherit python-any-r1 eutils autotools games
+
+inherit autotools eutils python-single-r1
 
 DESCRIPTION="Arcade game with elements of economy and adventure"
 HOMEPAGE="http://gamediameter.sourceforge.net/"
@@ -13,26 +15,25 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
-RDEPEND=">=dev-games/guichan-0.8[opengl,sdl]
+RDEPEND="
+	>=dev-games/guichan-0.8[opengl,sdl]
 	media-libs/libpng:0=
-	virtual/opengl
-	virtual/glu
 	media-libs/libsdl[video]
 	media-libs/sdl-image[gif,jpeg,png]
 	media-libs/sdl-mixer[mod]
+	virtual/opengl
+	virtual/glu
 	${PYTHON_DEPS}"
 DEPEND="${RDEPEND}
 	virtual/pkgconfig"
 
 S=${WORKDIR}/gamediameter
 
-pkg_setup() {
-	python-any-r1_pkg_setup
-	games_pkg_setup
-}
-
 src_prepare() {
+	default
+
 	sed -i \
 		-e "s:gamediameter:diameter:" \
 		configure.in || die
@@ -46,12 +47,14 @@ src_prepare() {
 		-e '/gui nebular3.gif/s/gui//' \
 		data/texture/Makefile.am || die
 	eautoreconf
+
+	# needed, otherwise -lpython2.7 will not be found
 	python_export PYTHON PYTHON_LIBS
 }
 
 src_install() {
 	default
+
 	newicon data/texture/gui/eng/main/logo.png ${PN}.png
-	make_desktop_entry ${PN} Diameter
-	prepgamesdirs
+	make_desktop_entry ${PN} ${PN^}
 }


             reply	other threads:[~2017-05-26 23:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-26 23:35 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-03-17 21:58 [gentoo-commits] repo/gentoo:master commit in: games-arcade/diameter/ James Le Cuirot
2016-05-25  2:46 Michael Sterrett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1495841699.08852b15962ce54d5ca50991a641582e9bc5636b.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox