Commit Graph

14 Commits

Author SHA1 Message Date
Sergey Torokhov
fbb9c4cda3 games-board/rmahjong: add python 3.10 compat, bump EAPI8
Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
2022-03-06 15:46:56 +03:00
Arthur Zamarin
5cb6039ba2 games-board/rmahjong: fix python usedep variable, small cleanup
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2022-02-13 22:18:33 +02:00
James Beddek
02b1f0a9ea */*: drop dead python impls
Signed-off-by: James Beddek <telans@posteo.de>
2021-10-09 22:30:09 +13:00
Alessandro Barbieri
9c84830033 */*: add lang="en" to <longdescription>
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2021-06-28 16:15:30 +02:00
Sergey Torokhov
270ab7dc29 games-board/rmahjong: fix passing system LDFLAGS
Closes: https://bugs.gentoo.org/785526

Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
2021-04-25 15:20:45 +03:00
Sergey Torokhov
fbbfb65d28 games-board/rmahjong: fix pass system CC and CFLAGS
Closes: https://bugs.gentoo.org/785019
Closes: https://bugs.gentoo.org/780966

Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
2021-04-24 13:32:34 +03:00
Sergey Torokhov
ed101e00ee games-board/rmahjong: fix bot install path; fix exec permissions
The bot file is installed wrong path since fix module installation.
Without shell-scripts and bot exec permissions app doesn't start.

Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
2021-04-24 13:30:23 +03:00
Andrew Ammerlaan
b594499f8f games-board/rmahjong: fix DoublePrefixInPath
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
2021-03-28 12:17:43 +02:00
Andrew Ammerlaan
18c727f335 */*: drop python3.6
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
2020-12-18 20:54:52 +01:00
Sergey Torokhov
f1037d213c games-board/rmahjong: update Manifest (missed change)
Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
2020-11-10 01:18:32 +03:00
Sergey Torokhov
82abfbd2c2 games-board/rmahjong: update to p20201106 tarball with merged patches
Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
2020-11-10 01:13:01 +03:00
Sergey Torokhov
549434473e games-board/rmahjong: revert deletion passing literal to int() in patch
The following or similar error still takes place
under certain conditions on score screen:

File "... /rmahjong/client/states.py", line 558, in get_results
    score = (int(self.message[wind + "_score"]))
ValueError: invalid literal for int() with base 10: '27100.0'

so restore part of patch to fix passing literal to int().

Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
2020-10-28 00:32:44 +03:00
Sergey Torokhov
3a392ae491 games-board/rmahjong: Fix tests ResourceWarnings, remove unittest2 DEPEND
The inittest2 dependence is unneccessary as python3 internal unittest is used.

Update patches to fix passing float into int("") in other way.
Update test.py patch to fix numerous 'ResourceWarning's.

Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
2020-10-27 07:25:27 +03:00
Sergey Torokhov
ef556bcba0 games-board/rmahjong: new package
This is attempt python3 "final" porting the game
by means of additional patches to initial py3 port.

The game is playable for me at "single player + 3 bots".
Network game process is not tested.

Menu icon for desktop entry is fetched from Kmahjongg project.

Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
2020-10-25 15:35:57 +03:00