From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 68E8D138335 for ; Thu, 26 Dec 2019 17:19:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 51C2CE0D3C; Thu, 26 Dec 2019 17:19:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0C25DE0D3C for ; Thu, 26 Dec 2019 17:19:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6A02234DBA7 for ; Thu, 26 Dec 2019 17:19:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7659934 for ; Thu, 26 Dec 2019 17:19:25 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1577380760.e181864d25b19d28a873169bd04f9e2aac00a77e.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-simulation/singularity/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-simulation/singularity/Manifest games-simulation/singularity/singularity-1.0_alpha1.ebuild X-VCS-Directories: games-simulation/singularity/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: e181864d25b19d28a873169bd04f9e2aac00a77e X-VCS-Branch: master Date: Thu, 26 Dec 2019 17:19:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 78a607d7-3cf5-4944-9d42-8a5f35d04dda X-Archives-Hash: 1902112e2e9cf1abb13bbe4a693fec3a commit: e181864d25b19d28a873169bd04f9e2aac00a77e Author: Pacho Ramos gentoo org> AuthorDate: Thu Dec 26 17:17:54 2019 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Thu Dec 26 17:19:20 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e181864d games-simulation/singularity: Version bump supporting python3 Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Pacho Ramos gentoo.org> games-simulation/singularity/Manifest | 2 + .../singularity/singularity-1.0_alpha1.ebuild | 44 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/games-simulation/singularity/Manifest b/games-simulation/singularity/Manifest index b8204206060..b77ad70dbed 100644 --- a/games-simulation/singularity/Manifest +++ b/games-simulation/singularity/Manifest @@ -1,2 +1,4 @@ DIST endgame-singularity-music-006.zip 28250705 BLAKE2B 62f39536afe12d0928056cca05cccbc7542d79ce5a2acfb23dc99e66ea291eeadc2ae8e771cfed5a96ff69bdc217b69f44b8c5143a323fa5c06fe2d34ac6d425 SHA512 47e489112309cc742c2dcffec004aff25c54488fdf2a5f2dc67b7dcf67ca55996fe8e8403e4a16712fbc4e22289f12e612ad9d4322cd1d1aaab871f0ffb27e19 +DIST endgame-singularity-music-007.zip 51774799 BLAKE2B 78595b16e422d2312be860686aca9401f6f1eed35fe40dbbc3a3999b1feb5e32aa6d51a66d94c9241aca2b6606bb7135491298b94c8033a1437c2cd7b23f9120 SHA512 ab46e77c833085f0c5b1b46fef72ab807e79ca422ad043ef67a4bf4384cb0177319f21b4bd01496e6c3fc6fe9a2f36ec256e19f0e829ad7bf9f0c5bd38bf0fe5 DIST singularity-0.30c-src.tar.gz 2265133 BLAKE2B a3f7612ac173ef34183ea500d8bef8b1c823b54d0b0acb6a40bce058497d424f76df5fd51da8f1acfb636a556759cea2114529e0e60b453652d0b04a139b19a1 SHA512 ffca50c179b745561a25e3fb3525abb862d72f63f533f8a41472067d0ce94c8a236486c9c40a5040335d84e903c498805d591dc546a92d0a7651105103fe114f +DIST singularity-1.0a1.tar.gz 1927083 BLAKE2B aeed099dd33c135f5b2e21f5e907646f32aaa0879a1b2e1f09c19045499ae52b004a8f52fee72bfe0977805899e4c7cdff6abf36e9fd3604f73cba7e395c265e SHA512 8ce624a50819e0abc04fd81a1d7658eab64ea8325de0a5790ec2a92e5fa6b62cfef8fe705fe8b209194c05927e3cf5adfc6f48934e0a70edf8b251c24084fc25 diff --git a/games-simulation/singularity/singularity-1.0_alpha1.ebuild b/games-simulation/singularity/singularity-1.0_alpha1.ebuild new file mode 100644 index 00000000000..5d2e8e29eb0 --- /dev/null +++ b/games-simulation/singularity/singularity-1.0_alpha1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7} ) + +inherit desktop eutils python-single-r1 + +MUSIC="endgame-${PN}-music-007" +DESCRIPTION="Simulation of a true AI. Go from computer to computer, chased by the whole world" +HOMEPAGE="http://www.emhsoft.com/singularity/ https://github.com/singularity/singularity" +SRC_URI="https://github.com/singularity/singularity/releases/download/${P/_alpha/a}/${P/_alpha/a}.tar.gz + http://emhsoft.com/singularity/${MUSIC}.zip" + +LICENSE="GPL-2 CC-BY-SA-2.5" +SLOT="0" +KEYWORDS="~amd64 ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pygame[${PYTHON_USEDEP}] + dev-python/polib[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND="app-arch/unzip" + +S="${WORKDIR}/${P/_alpha/a}" + +src_install() { + insinto /usr/share/${PN} + doins -r "${PN}" "${PN}.py" + + python_optimize "${ED}/usr/share/${PN}" + + insinto /usr/share/${PN}/${PN}/music + doins "${WORKDIR}"/${MUSIC}/* + + make_wrapper ${PN} "${EPYTHON} ${PN}.py" /usr/share/${PN} + dodoc README.txt TODO Changelog AUTHORS + + domenu "${PN}.desktop" + newicon "${PN}"/data/themes/default/images/icon.png "${PN}.png" +}