From 9d8ba38edf6a14042f78d80ff6faaf0e1bfdaccc Mon Sep 17 00:00:00 2001 From: Andreas Zuber Date: Sun, 2 Oct 2022 00:08:32 +0200 Subject: games-engines/boxtron: python 3.10/3.11 support Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Zuber --- games-engines/boxtron/boxtron-0.5.4-r1.ebuild | 42 --------------------------- games-engines/boxtron/boxtron-0.5.4-r2.ebuild | 42 +++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 42 deletions(-) delete mode 100644 games-engines/boxtron/boxtron-0.5.4-r1.ebuild create mode 100644 games-engines/boxtron/boxtron-0.5.4-r2.ebuild (limited to 'games-engines') diff --git a/games-engines/boxtron/boxtron-0.5.4-r1.ebuild b/games-engines/boxtron/boxtron-0.5.4-r1.ebuild deleted file mode 100644 index 59acf24d2..000000000 --- a/games-engines/boxtron/boxtron-0.5.4-r1.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8,9} ) -inherit python-single-r1 - -DESCRIPTION="Steam Play compatibility tool to run DOS games using native Linux DOSBox" -HOMEPAGE="https://github.com/dreamer/boxtron/" -SRC_URI="https://github.com/dreamer/boxtron/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -BDEPEND=" - sys-devel/make - app-arch/tar" - -RDEPEND=" - ${PYTHON_DEPS} - >=games-emulation/dosbox-staging-0.75.0 - media-sound/fluid-soundfont - media-sound/timidity++ - sys-fs/inotify-tools" - -src_prepare() { - default - sed -i '/README.md/d' Makefile || die "sed failed" -} - -src_compile() { :; } - -src_install() { - emake DESTDIR="${D}" prefix=/usr install || die "died running emake" - dodoc README.md - python_fix_shebang "${D}"/usr/share/boxtron/run-dosbox - python_fix_shebang "${D}"/usr/bin/install-gog-game -} diff --git a/games-engines/boxtron/boxtron-0.5.4-r2.ebuild b/games-engines/boxtron/boxtron-0.5.4-r2.ebuild new file mode 100644 index 000000000..aeefff02a --- /dev/null +++ b/games-engines/boxtron/boxtron-0.5.4-r2.ebuild @@ -0,0 +1,42 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10,11} ) +inherit python-single-r1 + +DESCRIPTION="Steam Play compatibility tool to run DOS games using native Linux DOSBox" +HOMEPAGE="https://github.com/dreamer/boxtron/" +SRC_URI="https://github.com/dreamer/boxtron/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +BDEPEND=" + sys-devel/make + app-arch/tar" + +RDEPEND=" + ${PYTHON_DEPS} + >=games-emulation/dosbox-staging-0.75.0 + media-sound/fluid-soundfont + media-sound/timidity++ + sys-fs/inotify-tools" + +src_prepare() { + default + sed -i '/README.md/d' Makefile || die "sed failed" +} + +src_compile() { :; } + +src_install() { + emake DESTDIR="${D}" prefix=/usr install || die "died running emake" + dodoc README.md + python_fix_shebang "${D}"/usr/share/boxtron/run-dosbox + python_fix_shebang "${D}"/usr/bin/install-gog-game +} -- cgit v1.2.3-65-gdbad