From bcbeca14174d0da9592ef7abaefe96082f566989 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Wed, 27 Sep 2023 22:12:10 -0400 Subject: [PATCH] armagetronad: update to 0.2.9.1.1. --- srcpkgs/armagetronad/patches/python3.patch | 17 +++++++++++++++++ srcpkgs/armagetronad/template | 14 +++++++------- 2 files changed, 24 insertions(+), 7 deletions(-) create mode 100644 srcpkgs/armagetronad/patches/python3.patch diff --git a/srcpkgs/armagetronad/patches/python3.patch b/srcpkgs/armagetronad/patches/python3.patch new file mode 100644 index 00000000000..1fc078a5673 --- /dev/null +++ b/srcpkgs/armagetronad/patches/python3.patch @@ -0,0 +1,17 @@ +--- a/language/update.py ++++ b/language/update.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/python2 ++#!/usr/bin/python3 + # usage: call here to bring all translations up to date + # usage forms: + # update.py [--complete] +@@ -203,7 +203,7 @@ + # read dictionary + self.ReadDictionary( file ) + # store it +- self.translations[string.split(file,".")[0]] = self.dictionary ++ self.translations[file.split(".")[0]] = self.dictionary + del self.dictionary + + if __name__ == "__main__": diff --git a/srcpkgs/armagetronad/template b/srcpkgs/armagetronad/template index 54dbe663f39..b6bfef550a1 100644 --- a/srcpkgs/armagetronad/template +++ b/srcpkgs/armagetronad/template @@ -1,21 +1,21 @@ # Template file for 'armagetronad' pkgname=armagetronad -version=0.2.8.3.5 -revision=2 +version=0.2.9.1.1 +revision=1 build_style=gnu-configure conf_files="/etc/games/${pkgname}/*.cfg /etc/games/${pkgname}/*.srv" configure_args="--disable-useradd" -hostmakedepends="m4" +hostmakedepends="m4 pkg-config" makedepends="libX11-devel libxml2-devel libICE-devel libpng-devel glu-devel libjpeg-turbo-devel SDL_image-devel SDL_mixer-devel" short_desc="3D Lightcycle game from the movie Tron with advanced capabilities" maintainer="Toyam Cox " license="GPL-2.0-or-later" -homepage="http://armagetronad.org" -distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.src.tar.bz2" -checksum=1dc3962fc77f4fd64a795ff4e3c02518e2a79bb57f9ed599ba43eff8eb51d2ef -python_version=2 +homepage="https://armagetronad.org" +distfiles="https://launchpad.net/armagetronad/${version%.*.*}/${version}/+download/armagetronad-${version}.tbz" +checksum=f617de700ecf1dd11f75e2932ee74796729112352d5cabaa2bc479add7dffd32 +python_version=3 do_configure() { mkdir build_dedicated