games-simulation/youre-the-os - 1.11.1 (masterwolf)

Search

Install

Install this version:

emerge -a =games-simulation/youre-the-os-1.11.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =games-simulation/youre-the-os-1.11.1

Or alternatively:

emerge --autounmask-write -a =games-simulation/youre-the-os-1.11.1

Package Information

Description:
Game where you are a computer's OS and have to manage processes, memory and I/O
Homepage:
https://github.com/plbrault/youre-the-os
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
1.11.1 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Game where you are a computer's OS and have to manage processes, memory and I/O"
HOMEPAGE="https://github.com/plbrault/youre-the-os"
SRC_URI="https://github.com/plbrault/youre-the-os/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
dev-python/pygame
dev-python/pipenv
"

DEPEND="${RDEPEND}"

inherit desktop wrapper

src_install() {
	local destdir="/usr/share/${PN}"
	insinto "${destdir}"

	doins -r src automation favicon.png run-*.py Pipfile LICENSE.txt

	local script
	for script in run-*.py; do
		fperms +x "${destdir}/${script}"
	done

	make_wrapper "${PN}" "python3 run-desktop.py" "${destdir}"
	make_wrapper "${PN}-sandbox" "python3 run-sandbox.py" "${destdir}"
	make_wrapper "${PN}-auto" "python3 run-auto.py" "${destdir}"

	newicon favicon.png "${PN}.png"
	make_desktop_entry "${PN}" "You're the OS!" "${PN}" "Game;Simulation;"
}

Inherited Eclasses

Dependencies

DEPEND

dev-python/pygame
dev-python/pipenv

RDEPEND

dev-python/pygame
dev-python/pipenv

Manifest for 1.11.1

Type File Size Source URLs
DIST youre-the-os-1.11.1.tar.gz 1560088 bytes https://github.com/plbrault/youre-the-os/archive/refs/tags/v1.11.1.tar.gz