diff options
Diffstat (limited to 'games-board')
-rw-r--r-- | games-board/pysolfc/files/pysolfc-2.6.4-python38.patch | 13 | ||||
-rw-r--r-- | games-board/pysolfc/pysolfc-2.6.4-r1.ebuild | 3 |
2 files changed, 15 insertions, 1 deletions
diff --git a/games-board/pysolfc/files/pysolfc-2.6.4-python38.patch b/games-board/pysolfc/files/pysolfc-2.6.4-python38.patch new file mode 100644 index 000000000000..9a857f3b266b --- /dev/null +++ b/games-board/pysolfc/files/pysolfc-2.6.4-python38.patch @@ -0,0 +1,13 @@ +diff --git a/pysollib/mfxutil.py b/pysollib/mfxutil.py +index f461ed1..c71a61f 100644 +--- a/pysollib/mfxutil.py ++++ b/pysollib/mfxutil.py +@@ -143,7 +143,7 @@ def getprefdir(package): + + + # high resolution clock() and sleep() +-uclock = time.clock ++uclock = time.process_time + usleep = time.sleep + if os.name == "posix": + uclock = time.time diff --git a/games-board/pysolfc/pysolfc-2.6.4-r1.ebuild b/games-board/pysolfc/pysolfc-2.6.4-r1.ebuild index 1ecc1b59d1e2..146e92428c92 100644 --- a/games-board/pysolfc/pysolfc-2.6.4-r1.ebuild +++ b/games-board/pysolfc/pysolfc-2.6.4-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_{6,7,8,9} ) DISTUTILS_SINGLE_IMPL=1 PYTHON_REQ_USE="tk" @@ -44,6 +44,7 @@ RDEPEND=" PATCHES=( "${FILESDIR}/${PN}-gentoo.patch" #591904 "${FILESDIR}/${PN}-locales.patch" + "${FILESDIR}/${P}-python38.patch" ) python_prepare_all() { |