summaryrefslogtreecommitdiff
path: root/games-simulation/singularity
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-simulation/singularity
reinit the tree, so we can have metadata
Diffstat (limited to 'games-simulation/singularity')
-rw-r--r--games-simulation/singularity/Manifest7
-rw-r--r--games-simulation/singularity/metadata.xml14
-rw-r--r--games-simulation/singularity/singularity-0.30c-r1.ebuild48
-rw-r--r--games-simulation/singularity/singularity-0.30c-r2.ebuild49
4 files changed, 118 insertions, 0 deletions
diff --git a/games-simulation/singularity/Manifest b/games-simulation/singularity/Manifest
new file mode 100644
index 000000000000..6e9a649e8293
--- /dev/null
+++ b/games-simulation/singularity/Manifest
@@ -0,0 +1,7 @@
+DIST endgame-singularity-music-006.zip 28250705 SHA256 469697285c00564d831249898204d3e532f2685a17b4cf47ee4abc3ffc29276f SHA512 47e489112309cc742c2dcffec004aff25c54488fdf2a5f2dc67b7dcf67ca55996fe8e8403e4a16712fbc4e22289f12e612ad9d4322cd1d1aaab871f0ffb27e19 WHIRLPOOL bb94d4a5c50ef9fdc55e1384132c3ebb8788aa3746b70f8440b1855598682f7d6c99fb058d398012ca0b8bbe47d9b1362e070c3815ec96c05c9c9a66469da4bf
+DIST singularity-0.30c-src.tar.gz 2265133 SHA256 f4759fc059ef136c2d4d9668a021b14922dd7300ab5f37ed318ad6778c83f28f SHA512 ffca50c179b745561a25e3fb3525abb862d72f63f533f8a41472067d0ce94c8a236486c9c40a5040335d84e903c498805d591dc546a92d0a7651105103fe114f WHIRLPOOL f7b95b170df3aa5bd5080f1d7480b655fb63bb513a9b16b5e5d9873779bf478d8c19e537c1274bbdbd04cc688c1c9ce3ba1507c28a503904703afff678a0bf0b
+EBUILD singularity-0.30c-r1.ebuild 1281 SHA256 b2d01423b8b6fa883caf14995f5a6b8cb4321090de7f1cbea68fe2a1a723e249 SHA512 ca1a02ab72ffa854082bb5e3aaba6a0392b2354407860903cf645727ea45dea6c32ccf1dd7e32221de0d3e0956dffb58420fa65beb6476dce81f410ba26f4051 WHIRLPOOL 8897b380a2f708d7b792466c22a77e2452377dafdad1412f98d8507e773047c4f2cecdc086b779ebc584da6254bad8d9a6f4aea2a84975d8b3136fbbcbd25222
+EBUILD singularity-0.30c-r2.ebuild 1225 SHA256 c07aed1e8c07562e1b12e1513e6cca547f8b41e3e4c6fc16ca6b9e3641724697 SHA512 375a554d84fa8149a27757fb24d310baadc4c1a2af25d01829001d95723cba1e1fd555418f4dad379ff0c48491f891764e7e48e7e2e73da42ff7d921a72d4b8d WHIRLPOOL 8567fc2219c66823b3200c4907b909177909bda7797fe7f5538b4c8da260a8bbaa29423d3b8d1e982307397b01224b91c065c4d4eff82e228267c2e1ca3a7708
+MISC ChangeLog 2885 SHA256 b8ea49672483b7dc759bb08b95fbbb7aa259c3b744f2b01c391acbc6e1fb8263 SHA512 66494c0104fe3f6fc9c768c518b5d2f01436e8f014a407883ed52801cd5ed021e4715d38ce606577a9fd6dd18f382b2270d437b3855ea8af24f5f68b20bb91c9 WHIRLPOOL 4df98aef7d438700c67fc0cc6b439b4b45fae9663fad1c716eefe675e31b26d4f2df9387b330190dca9c25f221c9961a0e9894c0ab948d00c9ece60b9923f4c7
+MISC ChangeLog-2015 4194 SHA256 ac458b377e17762b3afa50b143e56a20d1c1999486577586ae2e7908c6643b73 SHA512 2ad73173c5effd401e5947bca28f65f74e312e1d36099c3326a2754a7e70d9a5f7bb143560c9090d53734df0960fd229f71925a798d090fa7cea194db9f4a756 WHIRLPOOL df8d30d7d500be648c3b048f32aa6450845dc968e8148d0586e765a892924989f3016a04c4ddbba655d3ebaf9b4091a1fd07a240d791a81388081826ad1909c7
+MISC metadata.xml 405 SHA256 cff56980d6d4ac2bbedb0a2f37e447594342f4f6bc1a24e4044bd505bf9259af SHA512 c32086dbbfce16439635063e3ed94a44a9bff47f5047cc9c078ed59bf4eac0e7e91b86037f4fd19c1e21fdcb4853e794535cc4d1a8ee898f8e292b26bbe7883f WHIRLPOOL 07dd0c508ec5274612ce55eee6261946c9c7bd0cc1c799b3c673f7afcac957a6ec8b723e89c54803266771d112b79e6973144331dd89415684586b47c1a120b2
diff --git a/games-simulation/singularity/metadata.xml b/games-simulation/singularity/metadata.xml
new file mode 100644
index 000000000000..3bc51b541a4a
--- /dev/null
+++ b/games-simulation/singularity/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <use>
+ <flag name="music">Install music files</flag>
+ </use>
+ <upstream>
+ <remote-id type="google-code">endgame-singularity</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-simulation/singularity/singularity-0.30c-r1.ebuild b/games-simulation/singularity/singularity-0.30c-r1.ebuild
new file mode 100644
index 000000000000..d680a1d5674a
--- /dev/null
+++ b/games-simulation/singularity/singularity-0.30c-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+inherit eutils python-single-r1 games
+
+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/pygame[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ media-libs/sdl-mixer[vorbis]"
+DEPEND="${DEPEND}
+ app-arch/unzip"
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+ games_pkg_setup
+}
+
+src_prepare() {
+ rm -f code/{,*}/*.pyc data/*.html || die # Remove unecessary files
+}
+
+src_install() {
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins -r code data ${PN}.py || die
+ python_optimize "${ED%/}/${GAMES_DATADIR}"/${PN}
+
+ if use music ; then
+ doins -r ../${MUSIC}/music || die
+ fi
+ games_make_wrapper ${PN} "${EPYTHON} ${PN}.py" "${GAMES_DATADIR}/${PN}"
+ dodoc README.txt TODO Changelog AUTHORS
+ prepgamesdirs
+}
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 000000000000..69f55f32b106
--- /dev/null
+++ b/games-simulation/singularity/singularity-0.30c-r2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}