unknown-horizons: rebuild for Python 3.8.

This commit is contained in:
Leah Neukirchen 2019-10-17 11:04:53 +02:00
parent 19013ac88e
commit b1072501ae
2 changed files with 15 additions and 1 deletions

View File

@ -0,0 +1,14 @@
--- setup.py.orig
+++ setup.py
@@ -39,10 +39,7 @@
# Ensure we are in the correct directory
os.chdir(os.path.realpath(os.path.dirname(__file__)))
-if platform.dist()[0].lower() in ('debian', 'ubuntu'):
- executable_path = 'games'
-else:
- executable_path = 'bin'
+executable_path = 'bin'
# this trick is for setting RELEASE_VERSION if the code is cloned from git repository

View File

@ -1,7 +1,7 @@
# Template file for 'unknown-horizons'
pkgname=unknown-horizons
version=2019.1
revision=2
revision=3
archs=noarch
build_style=python3-module
hostmakedepends="python3 intltool git python3-Pillow"