mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 10:22:56 +02:00
unknown-horizons: rebuild for Python 3.8.
This commit is contained in:
parent
19013ac88e
commit
b1072501ae
2 changed files with 15 additions and 1 deletions
14
srcpkgs/unknown-horizons/patches/py38.patch
Normal file
14
srcpkgs/unknown-horizons/patches/py38.patch
Normal 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
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'unknown-horizons'
|
# Template file for 'unknown-horizons'
|
||||||
pkgname=unknown-horizons
|
pkgname=unknown-horizons
|
||||||
version=2019.1
|
version=2019.1
|
||||||
revision=2
|
revision=3
|
||||||
archs=noarch
|
archs=noarch
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3 intltool git python3-Pillow"
|
hostmakedepends="python3 intltool git python3-Pillow"
|
||||||
|
|
Loading…
Add table
Reference in a new issue