public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/betagarden:master commit in: games-misc/blackbeltsorvihero/
@ 2015-06-06 10:37 Justin Lecher
  0 siblings, 0 replies; 2+ messages in thread
From: Justin Lecher @ 2015-06-06 10:37 UTC (permalink / raw
  To: gentoo-commits

commit:     8f6cb5ed58b67c7dc7edf8acc56e24b37694f3a8
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  6 10:30:35 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jun  6 10:30:35 2015 +0000
URL:        https://gitweb.gentoo.org/proj/betagarden.git/commit/?id=8f6cb5ed

games-misc/blackbeltsorvihero: Use python eclass

Package-Manager: portage-2.2.20

 games-misc/blackbeltsorvihero/ChangeLog            |  4 +++
 .../blackbeltsorvihero-0_p20120415.ebuild          | 33 +++++++++++++---------
 2 files changed, 23 insertions(+), 14 deletions(-)

diff --git a/games-misc/blackbeltsorvihero/ChangeLog b/games-misc/blackbeltsorvihero/ChangeLog
index 708e9e7..ce742cd 100644
--- a/games-misc/blackbeltsorvihero/ChangeLog
+++ b/games-misc/blackbeltsorvihero/ChangeLog
@@ -1,2 +1,6 @@
+  06 Jun 2015; Justin Lecher <jlec@gentoo.org>
+  blackbeltsorvihero-0_p20120415.ebuild:
+  games-misc/blackbeltsorvihero: Use python eclass
+
   06 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
   games-misc/blackbeltsorvihero: Add github to remote-id in metadata.xml

diff --git a/games-misc/blackbeltsorvihero/blackbeltsorvihero-0_p20120415.ebuild b/games-misc/blackbeltsorvihero/blackbeltsorvihero-0_p20120415.ebuild
index b4de186..0d3172c 100644
--- a/games-misc/blackbeltsorvihero/blackbeltsorvihero-0_p20120415.ebuild
+++ b/games-misc/blackbeltsorvihero/blackbeltsorvihero-0_p20120415.ebuild
@@ -1,10 +1,12 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI="4"
+EAPI=5
 
-inherit eutils toolchain-funcs games
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils toolchain-funcs games python-single-r1
 
 MY_PN=BlackBeltSorviHero
 MY_PV=00c9b594d68c1e073b69b492be3e814d08ae14e1
@@ -17,20 +19,23 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-RDEPEND="virtual/opengl
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+	virtual/opengl
 	virtual/glu
 	media-libs/glew
 	media-libs/sdl-ttf
 	media-libs/libvorbis
-	media-libs/libpng"
-DEPEND="dev-lang/python
-	${RDEPEND}"
+	media-libs/libpng:0"
+DEPEND="${RDEPEND}"
 
 S=${WORKDIR}/${PN}-${MY_PV}
 
 src_prepare() {
-	epatch "${FILESDIR}"/${P}-data-path.patch
-	epatch "${FILESDIR}"/${P}-flags.patch
+	epatch \
+		"${FILESDIR}"/${P}-data-path.patch \
+		"${FILESDIR}"/${P}-flags.patch
 }
 
 src_compile() {
@@ -39,10 +44,10 @@ src_compile() {
 
 src_install() {
 	insinto "${GAMES_DATADIR}"/${PN}/
-	doins ${MY_PN}.dat || die
-	newgamesbin ${MY_PN}.bin ${PN} || die
-	dodoc README || die
+	doins ${MY_PN}.dat
+	newgamesbin ${MY_PN}.bin ${PN}
+	dodoc README
 
-	doicon ${MY_PN}.png || die
-	domenu ${MY_PN}.desktop || die
+	doicon ${MY_PN}.png
+	domenu ${MY_PN}.desktop
 }


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] proj/betagarden:master commit in: games-misc/blackbeltsorvihero/
@ 2015-06-06 10:37 Justin Lecher
  0 siblings, 0 replies; 2+ messages in thread
From: Justin Lecher @ 2015-06-06 10:37 UTC (permalink / raw
  To: gentoo-commits

commit:     42181975c93fa0e566d56d762290126238504f7e
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  6 10:27:02 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jun  6 10:27:02 2015 +0000
URL:        https://gitweb.gentoo.org/proj/betagarden.git/commit/?id=42181975

games-misc/blackbeltsorvihero: Add github to remote-id in metadata.xml

Package-Manager: portage-2.2.20

 games-misc/blackbeltsorvihero/ChangeLog    |  2 ++
 games-misc/blackbeltsorvihero/metadata.xml | 11 +++++++----
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/games-misc/blackbeltsorvihero/ChangeLog b/games-misc/blackbeltsorvihero/ChangeLog
new file mode 100644
index 0000000..708e9e7
--- /dev/null
+++ b/games-misc/blackbeltsorvihero/ChangeLog
@@ -0,0 +1,2 @@
+  06 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
+  games-misc/blackbeltsorvihero: Add github to remote-id in metadata.xml

diff --git a/games-misc/blackbeltsorvihero/metadata.xml b/games-misc/blackbeltsorvihero/metadata.xml
index 16bcc9f..29be508 100644
--- a/games-misc/blackbeltsorvihero/metadata.xml
+++ b/games-misc/blackbeltsorvihero/metadata.xml
@@ -1,8 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<maintainer>
-		<email>sping@gentoo.org</email>
-		<name>Sebastian Pipping</name>
-	</maintainer>
+  <maintainer>
+    <email>sping@gentoo.org</email>
+    <name>Sebastian Pipping</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">japeq/blackbeltsorvihero</remote-id>
+  </upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-06 10:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-06 10:37 [gentoo-commits] proj/betagarden:master commit in: games-misc/blackbeltsorvihero/ Justin Lecher
  -- strict thread matches above, loose matches on Subject: below --
2015-06-06 10:37 Justin Lecher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox