public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Austin English" <wizardedit@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-simulation/singularity/
Date: Thu, 15 Sep 2016 17:18:58 +0000 (UTC)	[thread overview]
Message-ID: <1473959895.9a223f221cc9bd717eea30e1947e73775ee5763d.wizardedit@gentoo> (raw)

commit:     9a223f221cc9bd717eea30e1947e73775ee5763d
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 15 16:20:16 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Thu Sep 15 17:18:15 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a223f22

games-simulation/singularity: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.3.0

 .../singularity/singularity-0.30c-r2.ebuild        | 50 ++++++++++++++++++++++
 1 file changed, 50 insertions(+)

diff --git a/games-simulation/singularity/singularity-0.30c-r2.ebuild b/games-simulation/singularity/singularity-0.30c-r2.ebuild
new file mode 100644
index 00000000..e178c59
--- /dev/null
+++ b/games-simulation/singularity/singularity-0.30c-r2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+inherit eutils python-single-r1
+
+MUSIC=endgame-${PN}-music-006
+DESCRIPTION="A simulation of a true AI. Go from computer to computer, pursued by the entire world"
+HOMEPAGE="http://www.emhsoft.com/singularity/"
+SRC_URI="https://endgame-singularity.googlecode.com/files/${P}-src.tar.gz
+	music? ( https://endgame-singularity.googlecode.com/files/${MUSIC}.zip )"
+
+LICENSE="GPL-2 CC-BY-SA-2.5"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+music"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}"
+RDEPEND="${DEPEND}
+	dev-python/numpy[${PYTHON_USEDEP}]
+	dev-python/pygame[${PYTHON_USEDEP}]
+	media-libs/sdl-mixer[vorbis]"
+DEPEND="${DEPEND}
+	app-arch/unzip"
+
+pkg_setup() {
+	python-single-r1_pkg_setup
+}
+
+src_prepare() {
+	default
+
+	rm -f code/{,*}/*.pyc data/*.html || die # Remove unecessary files
+}
+
+src_install() {
+	insinto /usr/share/${PN}
+	doins -r code data ${PN}.py || die
+	python_optimize ${ED%/}/usr/share/${PN}
+
+	if use music ; then
+		doins -r ../${MUSIC}/music || die
+	fi
+
+	make_wrapper ${PN} "${EPYTHON} ${PN}.py" /usr/share/${PN}
+	dodoc README.txt TODO Changelog AUTHORS
+}


             reply	other threads:[~2016-09-15 17:19 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-15 17:18 Austin English [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-12-01 19:31 [gentoo-commits] repo/gentoo:master commit in: games-simulation/singularity/ David Seifert
2019-12-26 17:19 Pacho Ramos
2019-12-26 17:19 Pacho Ramos
2019-12-27 11:05 Pacho Ramos
2020-02-09 16:25 Michał Górny
2021-03-25 15:22 Sam James
2021-03-25 15:22 Sam James
2021-03-25 15:22 Sam James
2021-03-25 15:45 Sam James
2021-06-23  2:24 Ionen Wolkens
2021-11-14  0:45 Ionen Wolkens
2021-11-14  0:45 Ionen Wolkens
2021-11-14  0:45 Ionen Wolkens
2022-09-08 14:36 Marek Szuba
2023-01-17  6:03 Ionen Wolkens
2024-05-05 23:44 Ionen Wolkens
2025-04-16 10:59 Ionen Wolkens

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=1473959895.9a223f221cc9bd717eea30e1947e73775ee5763d.wizardedit@gentoo \
    --to=wizardedit@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