[gentoo-commits] repo/gentoo:master commit in: games-emulation/m64py/

2024-10-19 Thread Michał Górny
commit: 9b6fed56089051db8c8f3b485503a8f3d9327401
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Oct 19 14:12:30 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Oct 19 15:24:15 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b6fed56

games-emulation/m64py: Bump to 0.3.0

Signed-off-by: Michał Górny  gentoo.org>

 games-emulation/m64py/Manifest   |  1 +
 games-emulation/m64py/m64py-0.3.0.ebuild | 68 
 2 files changed, 69 insertions(+)

diff --git a/games-emulation/m64py/Manifest b/games-emulation/m64py/Manifest
index b61826677dda..0da58f930ead 100644
--- a/games-emulation/m64py/Manifest
+++ b/games-emulation/m64py/Manifest
@@ -1,2 +1,3 @@
+DIST mupen64plus-ui-python-0.3.0.gh.tar.gz 11387994 BLAKE2B 
5b76290fc3b2d64c65b19362e8f14f732f7c2fb22cff2bf921222ccc342c514cb10b2cde8899282e55884e4ff89ddba0befa90adc92328d4248fef694689f675
 SHA512 
67160e7bbce5a9a4a9f39b63bf1fda013b0ef537a5916e123c15a7c7e29e2e44e2438ea9b7fd5f8b24bc4ac0bcf48fd11386ce70e4e3e1c51e1b8d15383b
 DIST mupen64plus-ui-python-90093ce3b353ff0fbe3277eb5d75130debdf0fab.gh.tar.gz 
14669607 BLAKE2B 
98384d2fd8c0adda1256e40aa50856cf74b71d8cd6b95a9717e864ebb85b76f8b3b719b84adca29a5269b8c5af447c144fb15f4e061ae44ff9d6cd097345
 SHA512 
75756367306a951110ed7b37aec875627d6e807e70d51518b771c4592c7e6bf7acc0e4e18531b33cabc2317c78b333e556f47e06227d8af0a767ca350c9685ee
 DIST mupen64plus-ui-python-e24679436a93e8aae0aa664dc4b2dea40d8236c1.gh.tar.gz 
14669412 BLAKE2B 
08232599557503d606db9e44bdd6dbb30b3fa125bfd9b9bcc2cbc4b6ea71b567f5af4338d03e7580707db522249d9426ec4d64dc1e941a43076b2d21bc974b67
 SHA512 
2ba865041827a7f47d5151db6123abd62c964c024c14356aa5434619736b19ce150178d536cff1c84e93d0544823e173c67c0f08054c13e01f085912a9b8c2c6

diff --git a/games-emulation/m64py/m64py-0.3.0.ebuild 
b/games-emulation/m64py/m64py-0.3.0.ebuild
new file mode 100644
index ..feb0e0b1edbe
--- /dev/null
+++ b/games-emulation/m64py/m64py-0.3.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 qmake-utils xdg-utils
+
+MY_P=mupen64plus-ui-python-${PV}
+DESCRIPTION="A frontend for Mupen64Plus"
+HOMEPAGE="
+   https://m64py.sourceforge.net/
+   https://github.com/mupen64plus/mupen64plus-ui-python/
+"
+SRC_URI="
+   
https://github.com/mupen64plus/mupen64plus-ui-python/archive/${PV}.tar.gz
+   -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-3 LGPL-3 public-domain GPL-2 BSD CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="7z rar"
+
+RDEPEND="
+   dev-python/PyQt6[gui,opengl,widgets,${PYTHON_USEDEP}]
+   dev-python/PySDL2[${PYTHON_USEDEP}]
+   media-libs/libsdl2[joystick,video]
+   >=games-emulation/mupen64plus-core-2.5:0/2-sdl2
+   7z? (
+   app-arch/p7zip
+   )
+   rar? (
+   || (
+   dev-python/rarfile[${PYTHON_USEDEP}]
+   app-arch/unrar
+   app-arch/rar
+   )
+   )
+"
+BDEPEND="
+   dev-qt/qttools:6
+"
+
+python_prepare_all() {
+   # set the correct search path
+   cat >> src/m64py/platform.py <<-_EOF_ || die
+   SEARCH_DIRS = ["/usr/$(get_libdir)/mupen64plus"]
+   _EOF_
+
+   distutils-r1_python_prepare_all
+}
+
+python_compile() {
+   local -x PATH=$(qt6_get_bindir):${PATH}
+   distutils-r1_python_compile
+}
+
+pkg_postinst() {
+   xdg_desktop_database_update
+}
+
+pkg_postrm() {
+   xdg_desktop_database_update
+}



[gentoo-commits] repo/gentoo:master commit in: games-emulation/m64py/

2024-05-28 Thread Michał Górny
commit: 437d882dab1c57e57f79ccd27ec9d2beee519fc4
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 28 14:51:26 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 28 15:27:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=437d882d

games-emulation/m64py: Bump to 0.2.5_p20231226

Closes: https://bugs.gentoo.org/929578
Signed-off-by: Michał Górny  gentoo.org>

 games-emulation/m64py/Manifest |  1 +
 games-emulation/m64py/m64py-0.2.5_p20231226.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/games-emulation/m64py/Manifest b/games-emulation/m64py/Manifest
index a4abed5c706d..b61826677dda 100644
--- a/games-emulation/m64py/Manifest
+++ b/games-emulation/m64py/Manifest
@@ -1 +1,2 @@
+DIST mupen64plus-ui-python-90093ce3b353ff0fbe3277eb5d75130debdf0fab.gh.tar.gz 
14669607 BLAKE2B 
98384d2fd8c0adda1256e40aa50856cf74b71d8cd6b95a9717e864ebb85b76f8b3b719b84adca29a5269b8c5af447c144fb15f4e061ae44ff9d6cd097345
 SHA512 
75756367306a951110ed7b37aec875627d6e807e70d51518b771c4592c7e6bf7acc0e4e18531b33cabc2317c78b333e556f47e06227d8af0a767ca350c9685ee
 DIST mupen64plus-ui-python-e24679436a93e8aae0aa664dc4b2dea40d8236c1.gh.tar.gz 
14669412 BLAKE2B 
08232599557503d606db9e44bdd6dbb30b3fa125bfd9b9bcc2cbc4b6ea71b567f5af4338d03e7580707db522249d9426ec4d64dc1e941a43076b2d21bc974b67
 SHA512 
2ba865041827a7f47d5151db6123abd62c964c024c14356aa5434619736b19ce150178d536cff1c84e93d0544823e173c67c0f08054c13e01f085912a9b8c2c6

diff --git a/games-emulation/m64py/m64py-0.2.5_p20231226.ebuild 
b/games-emulation/m64py/m64py-0.2.5_p20231226.ebuild
new file mode 100644
index ..f1a34a615846
--- /dev/null
+++ b/games-emulation/m64py/m64py-0.2.5_p20231226.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 qmake-utils xdg-utils
+
+EGIT_COMMIT="90093ce3b353ff0fbe3277eb5d75130debdf0fab"
+MY_P=mupen64plus-ui-python-${EGIT_COMMIT}
+
+DESCRIPTION="A frontend for Mupen64Plus"
+HOMEPAGE="
+   https://m64py.sourceforge.net/
+   https://github.com/mupen64plus/mupen64plus-ui-python/
+"
+SRC_URI="
+   
https://github.com/mupen64plus/mupen64plus-ui-python/archive/${EGIT_COMMIT}.tar.gz
+   -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-3 LGPL-3 public-domain GPL-2 BSD CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="7z rar"
+
+RDEPEND="
+   dev-python/PyQt5[gui,opengl,widgets,${PYTHON_USEDEP}]
+   dev-python/PySDL2[${PYTHON_USEDEP}]
+   media-libs/libsdl2[joystick,video]
+   >=games-emulation/mupen64plus-core-2.5:0/2-sdl2
+   7z? (
+   app-arch/p7zip
+   )
+   rar? (
+   || (
+   dev-python/rarfile[${PYTHON_USEDEP}]
+   app-arch/unrar
+   app-arch/rar
+   )
+   )
+"
+BDEPEND="
+   dev-qt/linguist-tools:5
+"
+
+python_prepare_all() {
+   # set the correct search path
+   cat >> src/m64py/platform.py <<-_EOF_ || die
+   SEARCH_DIRS = ["/usr/$(get_libdir)/mupen64plus"]
+   _EOF_
+
+   distutils-r1_python_prepare_all
+}
+
+python_compile() {
+   local -x PATH=$(qt5_get_bindir):${PATH}
+   distutils-r1_python_compile
+}
+
+pkg_postinst() {
+   xdg_desktop_database_update
+}
+
+pkg_postrm() {
+   xdg_desktop_database_update
+}



[gentoo-commits] repo/gentoo:master commit in: games-emulation/m64py/, games-emulation/m64py/files/

2023-11-30 Thread Michał Górny
commit: 1f6a527ae298f9eba93cecc1426204410588a25b
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Nov 30 12:48:50 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Nov 30 12:58:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f6a527a

games-emulation/m64py: Fix building with setuptools-69

Thanks to @FireBurn for the fix on the upstream bug.

Bug: https://github.com/mupen64plus/mupen64plus-ui-python/issues/227
Signed-off-by: Michał Górny  gentoo.org>

 .../files/m64py-0.2.5_p20211222-setuptools-69.patch | 17 +
 games-emulation/m64py/m64py-0.2.5_p20211222.ebuild  |  6 +-
 2 files changed, 22 insertions(+), 1 deletion(-)

diff --git 
a/games-emulation/m64py/files/m64py-0.2.5_p20211222-setuptools-69.patch 
b/games-emulation/m64py/files/m64py-0.2.5_p20211222-setuptools-69.patch
new file mode 100644
index ..cb61839776e0
--- /dev/null
+++ b/games-emulation/m64py/files/m64py-0.2.5_p20211222-setuptools-69.patch
@@ -0,0 +1,17 @@
+diff --git a/setup.py b/setup.py
+index b68b6e3..270291d 100644
+--- a/setup.py
 b/setup.py
+@@ -15,6 +15,12 @@ import distutils.command.build as distutils_build
+ import distutils.command.clean as distutils_clean
+ import setuptools
+ 
++try:
++import setuptools.modified
++distutils.dep_util = setuptools.modified
++except ImportError:
++pass
++
+ # Add the src folder to the path
+ sys.path.insert(0, os.path.realpath("src"))
+ 

diff --git a/games-emulation/m64py/m64py-0.2.5_p20211222.ebuild 
b/games-emulation/m64py/m64py-0.2.5_p20211222.ebuild
index caad3fcc70d1..2b4004c0ee48 100644
--- a/games-emulation/m64py/m64py-0.2.5_p20211222.ebuild
+++ b/games-emulation/m64py/m64py-0.2.5_p20211222.ebuild
@@ -44,11 +44,15 @@ RDEPEND="
)
 "
 BDEPEND="
-   https://github.com/mupen64plus/mupen64plus-ui-python/issues/227
+   "${FILESDIR}/${P}-setuptools-69.patch"
+   )
+
# set the correct search path
cat >> src/m64py/platform.py <<-_EOF_ || die
SEARCH_DIRS = ["/usr/$(get_libdir)/mupen64plus"]



[gentoo-commits] repo/gentoo:master commit in: games-emulation/m64py/

2023-11-27 Thread Michał Górny
commit: 894ce1e129c5ccd611cd7cfa3cfb4f1d14a16e1f
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Nov 27 12:29:38 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Nov 27 12:31:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=894ce1e1

games-emulation/m64py: Require https://github.com/mupen64plus/mupen64plus-ui-python/issues/227
Signed-off-by: Michał Górny  gentoo.org>

 games-emulation/m64py/m64py-0.2.5_p20211222.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/games-emulation/m64py/m64py-0.2.5_p20211222.ebuild 
b/games-emulation/m64py/m64py-0.2.5_p20211222.ebuild
index 717171eb5f0c..caad3fcc70d1 100644
--- a/games-emulation/m64py/m64py-0.2.5_p20211222.ebuild
+++ b/games-emulation/m64py/m64py-0.2.5_p20211222.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
 
 inherit distutils-r1 qmake-utils xdg-utils
 
@@ -44,6 +44,7 @@ RDEPEND="
)
 "
 BDEPEND="
+   

[gentoo-commits] repo/gentoo:master commit in: games-emulation/m64py/

2023-04-08 Thread Michał Górny
commit: 492769893fc022c778a50d635e53ca5f6e827785
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr  8 13:37:49 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr  8 13:37:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49276989

games-emulation/m64py: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 games-emulation/m64py/Manifest   |  1 -
 games-emulation/m64py/m64py-0.2.5.ebuild | 51 
 2 files changed, 52 deletions(-)

diff --git a/games-emulation/m64py/Manifest b/games-emulation/m64py/Manifest
index fc3dfa282a7a..a4abed5c706d 100644
--- a/games-emulation/m64py/Manifest
+++ b/games-emulation/m64py/Manifest
@@ -1,2 +1 @@
-DIST m64py-0.2.5.tar.gz 201868 BLAKE2B 
95cbfe58ae2741caac5e05bcc06af563ee398d2916d07902ba4aaf4213277eea3c6219448db5958e0a2d0ea8ea3f65c88e63cfd2938a8b4ed33231ba57ae724f
 SHA512 
338f5e96dc4657ba2230c32a40cf0e85c5efcccaa0d5fdbe4b4dcef020b910f5d2d88e5c224f8b496ec0378051aaf44358a0438de52fb03b4ece353f55abc61c
 DIST mupen64plus-ui-python-e24679436a93e8aae0aa664dc4b2dea40d8236c1.gh.tar.gz 
14669412 BLAKE2B 
08232599557503d606db9e44bdd6dbb30b3fa125bfd9b9bcc2cbc4b6ea71b567f5af4338d03e7580707db522249d9426ec4d64dc1e941a43076b2d21bc974b67
 SHA512 
2ba865041827a7f47d5151db6123abd62c964c024c14356aa5434619736b19ce150178d536cff1c84e93d0544823e173c67c0f08054c13e01f085912a9b8c2c6

diff --git a/games-emulation/m64py/m64py-0.2.5.ebuild 
b/games-emulation/m64py/m64py-0.2.5.ebuild
deleted file mode 100644
index 8038f2a4c122..
--- a/games-emulation/m64py/m64py-0.2.5.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_9 )
-
-inherit distutils-r1 xdg-utils
-
-DESCRIPTION="A frontend for Mupen64Plus"
-HOMEPAGE="
-   https://m64py.sourceforge.net/
-   https://github.com/mupen64plus/mupen64plus-ui-python/
-"
-SRC_URI="https://downloads.sourceforge.net/project/m64py/${P}/${P}.tar.gz";
-
-LICENSE="GPL-3 LGPL-3 public-domain GPL-2 BSD CC-BY-SA-3.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="7z rar"
-
-RDEPEND="
-   dev-python/PyQt5[gui,opengl,widgets,${PYTHON_USEDEP}]
-   dev-python/PySDL2[${PYTHON_USEDEP}]
-   media-libs/libsdl2[joystick,video]
-   >=games-emulation/mupen64plus-core-2.5:0/2-sdl2
-   7z? ( app-arch/p7zip )
-   rar? (
-   || (
-   dev-python/rarfile[${PYTHON_USEDEP}]
-   app-arch/unrar
-   app-arch/rar
-   )
-   )"
-
-python_prepare_all() {
-   # set the correct search path
-   cat >> src/m64py/platform.py <<-_EOF_ || die
-   SEARCH_DIRS = ["/usr/$(get_libdir)/mupen64plus"]
-   _EOF_
-
-   distutils-r1_python_prepare_all
-}
-
-pkg_postinst() {
-   xdg_desktop_database_update
-}
-
-pkg_postrm() {
-   xdg_desktop_database_update
-}



[gentoo-commits] repo/gentoo:master commit in: games-emulation/m64py/

2023-04-08 Thread Michał Górny
commit: c8afdc859c1a10d35df5b44d6d18f0e2508f3d97
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr  8 13:39:18 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr  8 13:39:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8afdc85

games-emulation/m64py: Add GH remote-id

Signed-off-by: Michał Górny  gentoo.org>

 games-emulation/m64py/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/games-emulation/m64py/metadata.xml 
b/games-emulation/m64py/metadata.xml
index 275d8abca417..496bf0b01942 100644
--- a/games-emulation/m64py/metadata.xml
+++ b/games-emulation/m64py/metadata.xml
@@ -10,6 +10,7 @@
Ensure support for .rar archives.


+   mupen64plus/mupen64plus-ui-python
m64py

 



[gentoo-commits] repo/gentoo:master commit in: games-emulation/m64py/

2023-04-08 Thread Michał Górny
commit: 6a2f4a4093beefc35f2c6c7bedd2542e4e126195
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr  8 13:38:40 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr  8 13:38:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a2f4a40

games-emulation/m64py: Enable py3.11

Closes: https://bugs.gentoo.org/896450
Signed-off-by: Michał Górny  gentoo.org>

 games-emulation/m64py/m64py-0.2.5_p20211222.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-emulation/m64py/m64py-0.2.5_p20211222.ebuild 
b/games-emulation/m64py/m64py-0.2.5_p20211222.ebuild
index f2e428948905..717171eb5f0c 100644
--- a/games-emulation/m64py/m64py-0.2.5_p20211222.ebuild
+++ b/games-emulation/m64py/m64py-0.2.5_p20211222.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 
 inherit distutils-r1 qmake-utils xdg-utils
 



[gentoo-commits] repo/gentoo:master commit in: games-emulation/m64py/

2023-03-08 Thread Arthur Zamarin
commit: 7b0ec358a7c9e5459f592edfce10239a873edc42
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Mon Mar  6 17:17:17 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Mar  9 07:35:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b0ec358

games-emulation/m64py: update HOMEPAGE

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Arthur Zamarin  gentoo.org>

 games-emulation/m64py/m64py-0.2.5.ebuild   | 5 -
 games-emulation/m64py/m64py-0.2.5_p20211222.ebuild | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/games-emulation/m64py/m64py-0.2.5.ebuild 
b/games-emulation/m64py/m64py-0.2.5.ebuild
index 692e723d5d43..8038f2a4c122 100644
--- a/games-emulation/m64py/m64py-0.2.5.ebuild
+++ b/games-emulation/m64py/m64py-0.2.5.ebuild
@@ -8,7 +8,10 @@ PYTHON_COMPAT=( python3_9 )
 inherit distutils-r1 xdg-utils
 
 DESCRIPTION="A frontend for Mupen64Plus"
-HOMEPAGE="http://m64py.sourceforge.net/";
+HOMEPAGE="
+   https://m64py.sourceforge.net/
+   https://github.com/mupen64plus/mupen64plus-ui-python/
+"
 SRC_URI="https://downloads.sourceforge.net/project/m64py/${P}/${P}.tar.gz";
 
 LICENSE="GPL-3 LGPL-3 public-domain GPL-2 BSD CC-BY-SA-3.0"

diff --git a/games-emulation/m64py/m64py-0.2.5_p20211222.ebuild 
b/games-emulation/m64py/m64py-0.2.5_p20211222.ebuild
index d1f0c8dcc660..f2e428948905 100644
--- a/games-emulation/m64py/m64py-0.2.5_p20211222.ebuild
+++ b/games-emulation/m64py/m64py-0.2.5_p20211222.ebuild
@@ -13,7 +13,7 @@ MY_P=mupen64plus-ui-python-${EGIT_COMMIT}
 
 DESCRIPTION="A frontend for Mupen64Plus"
 HOMEPAGE="
-   http://m64py.sourceforge.net/
+   https://m64py.sourceforge.net/
https://github.com/mupen64plus/mupen64plus-ui-python/
 "
 SRC_URI="



[gentoo-commits] repo/gentoo:master commit in: games-emulation/m64py/

2022-05-18 Thread Michał Górny
commit: ca803b3028de0fe2636f9f53381b3317d4dbe73c
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May 18 09:52:31 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May 18 10:29:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca803b30

games-emulation/m64py: Add bdep on dev-qt/linguist-tools

Closes: https://bugs.gentoo.org/845309
Signed-off-by: Michał Górny  gentoo.org>

 games-emulation/m64py/m64py-0.2.5_p20211222.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/games-emulation/m64py/m64py-0.2.5_p20211222.ebuild 
b/games-emulation/m64py/m64py-0.2.5_p20211222.ebuild
index e4bd1c4b099e..7f6898ba649b 100644
--- a/games-emulation/m64py/m64py-0.2.5_p20211222.ebuild
+++ b/games-emulation/m64py/m64py-0.2.5_p20211222.ebuild
@@ -43,6 +43,9 @@ RDEPEND="
)
)
 "
+BDEPEND="
+   dev-qt/linguist-tools:5
+"
 
 python_prepare_all() {
# set the correct search path



[gentoo-commits] repo/gentoo:master commit in: games-emulation/m64py/

2022-05-18 Thread Michał Górny
commit: 14ccbe7e9cda6e564a806a8f910966faa184bcc4
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May 18 07:20:05 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May 18 07:36:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14ccbe7e

games-emulation/m64py: Bump to 0.2.5_p20211222

Signed-off-by: Michał Górny  gentoo.org>

 games-emulation/m64py/Manifest |  1 +
 games-emulation/m64py/m64py-0.2.5_p20211222.ebuild | 67 ++
 2 files changed, 68 insertions(+)

diff --git a/games-emulation/m64py/Manifest b/games-emulation/m64py/Manifest
index 36736dbfddfb..fc3dfa282a7a 100644
--- a/games-emulation/m64py/Manifest
+++ b/games-emulation/m64py/Manifest
@@ -1 +1,2 @@
 DIST m64py-0.2.5.tar.gz 201868 BLAKE2B 
95cbfe58ae2741caac5e05bcc06af563ee398d2916d07902ba4aaf4213277eea3c6219448db5958e0a2d0ea8ea3f65c88e63cfd2938a8b4ed33231ba57ae724f
 SHA512 
338f5e96dc4657ba2230c32a40cf0e85c5efcccaa0d5fdbe4b4dcef020b910f5d2d88e5c224f8b496ec0378051aaf44358a0438de52fb03b4ece353f55abc61c
+DIST mupen64plus-ui-python-e24679436a93e8aae0aa664dc4b2dea40d8236c1.gh.tar.gz 
14669412 BLAKE2B 
08232599557503d606db9e44bdd6dbb30b3fa125bfd9b9bcc2cbc4b6ea71b567f5af4338d03e7580707db522249d9426ec4d64dc1e941a43076b2d21bc974b67
 SHA512 
2ba865041827a7f47d5151db6123abd62c964c024c14356aa5434619736b19ce150178d536cff1c84e93d0544823e173c67c0f08054c13e01f085912a9b8c2c6

diff --git a/games-emulation/m64py/m64py-0.2.5_p20211222.ebuild 
b/games-emulation/m64py/m64py-0.2.5_p20211222.ebuild
new file mode 100644
index ..e4bd1c4b099e
--- /dev/null
+++ b/games-emulation/m64py/m64py-0.2.5_p20211222.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1 qmake-utils xdg-utils
+
+EGIT_COMMIT="e24679436a93e8aae0aa664dc4b2dea40d8236c1"
+MY_P=mupen64plus-ui-python-${EGIT_COMMIT}
+
+DESCRIPTION="A frontend for Mupen64Plus"
+HOMEPAGE="
+   http://m64py.sourceforge.net/
+   https://github.com/mupen64plus/mupen64plus-ui-python/
+"
+SRC_URI="
+   
https://github.com/mupen64plus/mupen64plus-ui-python/archive/${EGIT_COMMIT}.tar.gz
+   -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-3 LGPL-3 public-domain GPL-2 BSD CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="7z rar"
+
+RDEPEND="
+   dev-python/PyQt5[gui,opengl,widgets,${PYTHON_USEDEP}]
+   dev-python/PySDL2[${PYTHON_USEDEP}]
+   media-libs/libsdl2[joystick,video]
+   >=games-emulation/mupen64plus-core-2.5:0/2-sdl2
+   7z? (
+   app-arch/p7zip
+   )
+   rar? (
+   || (
+   dev-python/rarfile[${PYTHON_USEDEP}]
+   app-arch/unrar
+   app-arch/rar
+   )
+   )
+"
+
+python_prepare_all() {
+   # set the correct search path
+   cat >> src/m64py/platform.py <<-_EOF_ || die
+   SEARCH_DIRS = ["/usr/$(get_libdir)/mupen64plus"]
+   _EOF_
+
+   distutils-r1_python_prepare_all
+}
+
+python_compile() {
+   local -x PATH=$(qt5_get_bindir):${PATH}
+   distutils-r1_python_compile
+}
+
+pkg_postinst() {
+   xdg_desktop_database_update
+}
+
+pkg_postrm() {
+   xdg_desktop_database_update
+}



[gentoo-commits] repo/gentoo:master commit in: games-emulation/m64py/

2020-09-18 Thread Michał Górny
commit: 96caf5dbfba846e61225902b47db1ea3659f96ee
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Sep 18 09:30:24 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Sep 18 09:38:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96caf5db

games-emulation/m64py: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 games-emulation/m64py/Manifest   |  1 -
 games-emulation/m64py/m64py-0.2.4.ebuild | 48 
 2 files changed, 49 deletions(-)

diff --git a/games-emulation/m64py/Manifest b/games-emulation/m64py/Manifest
index 778cdc46eee..36736dbfddf 100644
--- a/games-emulation/m64py/Manifest
+++ b/games-emulation/m64py/Manifest
@@ -1,2 +1 @@
-DIST m64py-0.2.4.tar.gz 209621 BLAKE2B 
05fe7044ec096767ae1eb57aad9f326b157d67ea709ca0bb74cdd68ae16a23eb662a2842bef5e038d1b29cbf0a5252669ff54268d1227390f47e8c9029b63e6a
 SHA512 
ab78565466c6dcfe604cdc00b7e63dee2f0f33514dbf4f9115af646b1f6562042516513d054bd5cb489ad89c9d30431e9ce531f8b27925ecb9c6f7b509836348
 DIST m64py-0.2.5.tar.gz 201868 BLAKE2B 
95cbfe58ae2741caac5e05bcc06af563ee398d2916d07902ba4aaf4213277eea3c6219448db5958e0a2d0ea8ea3f65c88e63cfd2938a8b4ed33231ba57ae724f
 SHA512 
338f5e96dc4657ba2230c32a40cf0e85c5efcccaa0d5fdbe4b4dcef020b910f5d2d88e5c224f8b496ec0378051aaf44358a0438de52fb03b4ece353f55abc61c

diff --git a/games-emulation/m64py/m64py-0.2.4.ebuild 
b/games-emulation/m64py/m64py-0.2.4.ebuild
deleted file mode 100644
index be315cbc154..000
--- a/games-emulation/m64py/m64py-0.2.4.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7} )
-
-inherit distutils-r1 xdg-utils
-
-DESCRIPTION="A frontend for Mupen64Plus"
-HOMEPAGE="http://m64py.sourceforge.net/";
-SRC_URI="https://downloads.sourceforge.net/project/m64py/${P}/${P}.tar.gz";
-
-LICENSE="GPL-3 LGPL-3 public-domain GPL-2 BSD CC-BY-SA-3.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="7z rar"
-
-RDEPEND="
-   dev-python/PyQt5[gui,opengl,widgets,${PYTHON_USEDEP}]
-   dev-python/PySDL2[${PYTHON_USEDEP}]
-   media-libs/libsdl2[joystick,video]
-   >=games-emulation/mupen64plus-core-2.5:0/2-sdl2
-   7z? ( app-arch/p7zip )
-   rar? (
-   || (
-   dev-python/rarfile[${PYTHON_USEDEP}]
-   app-arch/unrar
-   app-arch/rar
-   )
-   )"
-
-python_prepare_all() {
-   # set the correct search path
-   cat >> src/m64py/platform.py <<-_EOF_ || die
-   SEARCH_DIRS = ["/usr/$(get_libdir)/mupen64plus"]
-   _EOF_
-
-   distutils-r1_python_prepare_all
-}
-
-pkg_postinst() {
-   xdg_desktop_database_update
-}
-
-pkg_postrm() {
-   xdg_desktop_database_update
-}



[gentoo-commits] repo/gentoo:master commit in: games-emulation/m64py/

2020-08-01 Thread Aaron Bauman
commit: 71524ce159a0403f801f2ab69d6ebfe8cf821294
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sat Aug  1 22:09:19 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sat Aug  1 22:09:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71524ce1

games-emulation/m64py: drop || on p7 conditional

* dev-python/pylzma is last-rited

Signed-off-by: Aaron Bauman  gentoo.org>

 games-emulation/m64py/m64py-0.2.4.ebuild | 7 +--
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/games-emulation/m64py/m64py-0.2.4.ebuild 
b/games-emulation/m64py/m64py-0.2.4.ebuild
index 7655373b07f..be315cbc154 100644
--- a/games-emulation/m64py/m64py-0.2.4.ebuild
+++ b/games-emulation/m64py/m64py-0.2.4.ebuild
@@ -21,12 +21,7 @@ RDEPEND="
dev-python/PySDL2[${PYTHON_USEDEP}]
media-libs/libsdl2[joystick,video]
>=games-emulation/mupen64plus-core-2.5:0/2-sdl2
-   7z? (
-   || (
-   dev-python/pylzma[${PYTHON_USEDEP}]
-   app-arch/p7zip
-   )
-   )
+   7z? ( app-arch/p7zip )
rar? (
|| (
dev-python/rarfile[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: games-emulation/m64py/

2020-07-11 Thread Michał Górny
commit: 09d1cf027a7c16bd3f8f9faa8ae82a6d08f2fff7
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jul 12 05:45:23 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jul 12 06:37:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09d1cf02

games-emulation/m64py: Bump to 0.2.5

Signed-off-by: Michał Górny  gentoo.org>

 games-emulation/m64py/Manifest   |  1 +
 games-emulation/m64py/m64py-0.2.5.ebuild | 48 
 2 files changed, 49 insertions(+)

diff --git a/games-emulation/m64py/Manifest b/games-emulation/m64py/Manifest
index abb62a5aaa2..778cdc46eee 100644
--- a/games-emulation/m64py/Manifest
+++ b/games-emulation/m64py/Manifest
@@ -1 +1,2 @@
 DIST m64py-0.2.4.tar.gz 209621 BLAKE2B 
05fe7044ec096767ae1eb57aad9f326b157d67ea709ca0bb74cdd68ae16a23eb662a2842bef5e038d1b29cbf0a5252669ff54268d1227390f47e8c9029b63e6a
 SHA512 
ab78565466c6dcfe604cdc00b7e63dee2f0f33514dbf4f9115af646b1f6562042516513d054bd5cb489ad89c9d30431e9ce531f8b27925ecb9c6f7b509836348
+DIST m64py-0.2.5.tar.gz 201868 BLAKE2B 
95cbfe58ae2741caac5e05bcc06af563ee398d2916d07902ba4aaf4213277eea3c6219448db5958e0a2d0ea8ea3f65c88e63cfd2938a8b4ed33231ba57ae724f
 SHA512 
338f5e96dc4657ba2230c32a40cf0e85c5efcccaa0d5fdbe4b4dcef020b910f5d2d88e5c224f8b496ec0378051aaf44358a0438de52fb03b4ece353f55abc61c

diff --git a/games-emulation/m64py/m64py-0.2.5.ebuild 
b/games-emulation/m64py/m64py-0.2.5.ebuild
new file mode 100644
index 000..be315cbc154
--- /dev/null
+++ b/games-emulation/m64py/m64py-0.2.5.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+
+inherit distutils-r1 xdg-utils
+
+DESCRIPTION="A frontend for Mupen64Plus"
+HOMEPAGE="http://m64py.sourceforge.net/";
+SRC_URI="https://downloads.sourceforge.net/project/m64py/${P}/${P}.tar.gz";
+
+LICENSE="GPL-3 LGPL-3 public-domain GPL-2 BSD CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="7z rar"
+
+RDEPEND="
+   dev-python/PyQt5[gui,opengl,widgets,${PYTHON_USEDEP}]
+   dev-python/PySDL2[${PYTHON_USEDEP}]
+   media-libs/libsdl2[joystick,video]
+   >=games-emulation/mupen64plus-core-2.5:0/2-sdl2
+   7z? ( app-arch/p7zip )
+   rar? (
+   || (
+   dev-python/rarfile[${PYTHON_USEDEP}]
+   app-arch/unrar
+   app-arch/rar
+   )
+   )"
+
+python_prepare_all() {
+   # set the correct search path
+   cat >> src/m64py/platform.py <<-_EOF_ || die
+   SEARCH_DIRS = ["/usr/$(get_libdir)/mupen64plus"]
+   _EOF_
+
+   distutils-r1_python_prepare_all
+}
+
+pkg_postinst() {
+   xdg_desktop_database_update
+}
+
+pkg_postrm() {
+   xdg_desktop_database_update
+}



[gentoo-commits] repo/gentoo:master commit in: games-emulation/m64py/

2020-07-11 Thread Michał Górny
commit: dbe1986db592fdc4556f01a91210aa91f5fcf1dc
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jul 12 06:22:20 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jul 12 06:37:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbe1986d

games-emulation/m64py: Port to py3.9

Signed-off-by: Michał Górny  gentoo.org>

 games-emulation/m64py/m64py-0.2.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-emulation/m64py/m64py-0.2.5.ebuild 
b/games-emulation/m64py/m64py-0.2.5.ebuild
index be315cbc154..39a8b3b3e87 100644
--- a/games-emulation/m64py/m64py-0.2.5.ebuild
+++ b/games-emulation/m64py/m64py-0.2.5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6..9} )
 
 inherit distutils-r1 xdg-utils
 



[gentoo-commits] repo/gentoo:master commit in: games-emulation/m64py/

2020-01-03 Thread Michał Górny
commit: d55ed2587bef2015970b23d6e792c71dec14bca8
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jan  3 17:01:04 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jan  3 20:39:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d55ed258

games-emulation/m64py: Remove SRC_URI redirect

Signed-off-by: Michał Górny  gentoo.org>

 games-emulation/m64py/m64py-0.2.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-emulation/m64py/m64py-0.2.4.ebuild 
b/games-emulation/m64py/m64py-0.2.4.ebuild
index 3a2bbf16337..4b2366ea830 100644
--- a/games-emulation/m64py/m64py-0.2.4.ebuild
+++ b/games-emulation/m64py/m64py-0.2.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -9,7 +9,7 @@ inherit distutils-r1 xdg-utils
 
 DESCRIPTION="A frontend for Mupen64Plus"
 HOMEPAGE="http://m64py.sourceforge.net/";
-SRC_URI="mirror://sourceforge/m64py/${P}.tar.gz"
+SRC_URI="https://downloads.sourceforge.net/project/m64py/${P}/${P}.tar.gz";
 
 LICENSE="GPL-3 LGPL-3 public-domain GPL-2 BSD CC-BY-SA-3.0"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: games-emulation/m64py/

2019-06-16 Thread David Seifert
commit: 45ee04ae7ab32e7ad1bd4182a21cb96831c7e89d
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jun 16 17:58:26 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jun 16 17:59:03 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45ee04ae

games-emulation/m64py: Add py3.7

Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: David Seifert  gentoo.org>

 games-emulation/m64py/m64py-0.2.4.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/games-emulation/m64py/m64py-0.2.4.ebuild 
b/games-emulation/m64py/m64py-0.2.4.ebuild
index bd849bbab87..3a2bbf16337 100644
--- a/games-emulation/m64py/m64py-0.2.4.ebuild
+++ b/games-emulation/m64py/m64py-0.2.4.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-PYTHON_COMPAT=( python3_{5,6} )
+PYTHON_COMPAT=( python3_{5,6,7} )
 
 inherit distutils-r1 xdg-utils
 
@@ -37,9 +37,9 @@ RDEPEND="
 
 python_prepare_all() {
# set the correct search path
-   cat >> src/m64py/platform.py <<-_EOF_
+   cat >> src/m64py/platform.py <<-_EOF_ || die
SEARCH_DIRS = ["/usr/$(get_libdir)/mupen64plus"]
-_EOF_
+   _EOF_
 
distutils-r1_python_prepare_all
 }



[gentoo-commits] repo/gentoo:master commit in: games-emulation/m64py/

2018-03-26 Thread Michał Górny
commit: 611039d494a2f9ea2884bba45e24bdae66901699
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Mar 26 14:55:51 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Mar 26 16:13:55 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=611039d4

games-emulation/m64py: Drop old

 games-emulation/m64py/Manifest  |  1 -
 games-emulation/m64py/m64py-0.2.3-r2.ebuild | 66 -
 2 files changed, 67 deletions(-)

diff --git a/games-emulation/m64py/Manifest b/games-emulation/m64py/Manifest
index 42bc9ce289d..abb62a5aaa2 100644
--- a/games-emulation/m64py/Manifest
+++ b/games-emulation/m64py/Manifest
@@ -1,2 +1 @@
-DIST m64py-0.2.3.tar.gz 304241 BLAKE2B 
efd7e4fc9a75d2b9525ad40e67f92ff56e0e932d96ee4ba51fc128d0fa8fb88a0811efada86af580501803f4f9d9e94aee23d6a50704c2e05078cc511825f347
 SHA512 
5471d2ce96007c5cb5492f7ba3bc2a8843455dfea811b114c68862fa5c06a636e6dd6a4304e60bf2273377330b0eb01f2dcdc0340d02ec498ae44cdd2ccc01ff
 DIST m64py-0.2.4.tar.gz 209621 BLAKE2B 
05fe7044ec096767ae1eb57aad9f326b157d67ea709ca0bb74cdd68ae16a23eb662a2842bef5e038d1b29cbf0a5252669ff54268d1227390f47e8c9029b63e6a
 SHA512 
ab78565466c6dcfe604cdc00b7e63dee2f0f33514dbf4f9115af646b1f6562042516513d054bd5cb489ad89c9d30431e9ce531f8b27925ecb9c6f7b509836348

diff --git a/games-emulation/m64py/m64py-0.2.3-r2.ebuild 
b/games-emulation/m64py/m64py-0.2.3-r2.ebuild
deleted file mode 100644
index 1354ee993bb..000
--- a/games-emulation/m64py/m64py-0.2.3-r2.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python3_{4,5} )
-
-inherit distutils-r1 versionator
-
-DESCRIPTION="A frontend for Mupen64Plus"
-HOMEPAGE="http://m64py.sourceforge.net/";
-SRC_URI="mirror://sourceforge/m64py/${P}.tar.gz"
-
-LICENSE="GPL-3 LGPL-3 public-domain GPL-2 BSD CC-BY-SA-3.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-# SDL & libmupen64plus are through ctypes, so they rely on specific ABI
-RDEPEND="media-libs/libsdl2:0/0[joystick]
-   dev-python/PyQt5[gui,opengl,widgets,${PYTHON_USEDEP}]
-   >=games-emulation/mupen64plus-core-2.5:0/2-sdl2"
-
-python_prepare_all() {
-   # set the correct search path
-   cat >> src/m64py/platform.py <<-_EOF_
-   SEARCH_DIRS = ["/usr/$(get_libdir)/mupen64plus"]
-_EOF_
-
-   # force SDL2 support to match >=mupen64plus-2.5
-   sed -e '/--sdl2/d' \
-   -e '/SDL2/s:=.*$:= True:' \
-   -i src/m64py/opts.py || die
-
-   distutils-r1_python_prepare_all
-}
-
-pkg_postinst() {
-   local vr
-   for vr in ${REPLACING_VERSIONS}; do
-   if ! version_is_at_least 0.2.1-r1 ${vr}; then
-   ewarn
-   ewarn "Starting with mupen64plus-2.0-r1, the plugin 
install path has changed."
-   ewarn "In order for m64py to find mupen64plus, you will 
either need to set"
-   ewarn "new paths in configuration dialog or remove your 
configuration file."
-   ewarn "The new paths are:"
-   ewarn
-   ewarn " Library file:  
/usr/$(get_libdir)/libmupen64plus.so.2.0.0"
-   ewarn " Plugins directory: 
/usr/$(get_libdir)/mupen64plus"
-   ewarn " Data directory:/usr/share/mupen64plus"
-   fi
-   done
-
-   if ! type -P rar >/dev/null && ! type -P unrar >/dev/null; then
-   elog
-   elog "In order to gain RAR archive support, please install 
either app-arch/rar"
-   elog "or app-arch/unrar."
-   fi
-
-   if ! type -P 7z >/dev/null \
-   && ! has_version "dev-python/pylzma[${PYTHON_USEDEP}]"; 
then
-   elog
-   elog "In order to gain 7z archive support, please install 
either app-arch/p7zip"
-   elog "or dev-python/pylzma."
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: games-emulation/m64py/

2018-01-01 Thread Michał Górny
commit: b47af6fd4602c861332cf06c90893a3433cbb117
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jan  1 13:35:03 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jan  1 13:47:29 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b47af6fd

games-emulation/m64py: Bump to EAPI 6

 games-emulation/m64py/m64py-0.2.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-emulation/m64py/m64py-0.2.4.ebuild 
b/games-emulation/m64py/m64py-0.2.4.ebuild
index f9e3dece457..67ef155afcb 100644
--- a/games-emulation/m64py/m64py-0.2.4.ebuild
+++ b/games-emulation/m64py/m64py-0.2.4.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
 PYTHON_COMPAT=( python3_{4,5} )
 



[gentoo-commits] repo/gentoo:master commit in: games-emulation/m64py/

2018-01-01 Thread Michał Górny
commit: 64d56ab9e50d65fd6e9fc7047f798cd20626368a
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jan  1 13:36:44 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jan  1 13:47:29 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64d56ab9

games-emulation/m64py: Enable python3.6

 games-emulation/m64py/m64py-0.2.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-emulation/m64py/m64py-0.2.4.ebuild 
b/games-emulation/m64py/m64py-0.2.4.ebuild
index 67ef155afcb..f1c389c13b0 100644
--- a/games-emulation/m64py/m64py-0.2.4.ebuild
+++ b/games-emulation/m64py/m64py-0.2.4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python3_{4,5} )
+PYTHON_COMPAT=( python3_{4,5,6} )
 
 inherit distutils-r1 xdg-utils
 



[gentoo-commits] repo/gentoo:master commit in: games-emulation/m64py/

2018-01-01 Thread Michał Górny
commit: 61d1d501c258d1957c29852eb1557a1401e4fd3c
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jan  1 13:33:48 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jan  1 13:47:28 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61d1d501

games-emulation/m64py: Remove obsolete upgrade notice

 games-emulation/m64py/m64py-0.2.4.ebuild | 17 +
 1 file changed, 1 insertion(+), 16 deletions(-)

diff --git a/games-emulation/m64py/m64py-0.2.4.ebuild 
b/games-emulation/m64py/m64py-0.2.4.ebuild
index 67f1a08e394..f9e3dece457 100644
--- a/games-emulation/m64py/m64py-0.2.4.ebuild
+++ b/games-emulation/m64py/m64py-0.2.4.ebuild
@@ -5,7 +5,7 @@ EAPI=5
 
 PYTHON_COMPAT=( python3_{4,5} )
 
-inherit distutils-r1 versionator xdg-utils
+inherit distutils-r1 xdg-utils
 
 DESCRIPTION="A frontend for Mupen64Plus"
 HOMEPAGE="http://m64py.sourceforge.net/";
@@ -34,21 +34,6 @@ _EOF_
 pkg_postinst() {
xdg_desktop_database_update
 
-   local vr
-   for vr in ${REPLACING_VERSIONS}; do
-   if ! version_is_at_least 0.2.1-r1 ${vr}; then
-   ewarn
-   ewarn "Starting with mupen64plus-2.0-r1, the plugin 
install path has changed."
-   ewarn "In order for m64py to find mupen64plus, you will 
either need to set"
-   ewarn "new paths in configuration dialog or remove your 
configuration file."
-   ewarn "The new paths are:"
-   ewarn
-   ewarn " Library file:  
/usr/$(get_libdir)/libmupen64plus.so.2.0.0"
-   ewarn " Plugins directory: 
/usr/$(get_libdir)/mupen64plus"
-   ewarn " Data directory:/usr/share/mupen64plus"
-   fi
-   done
-
if ! type -P rar >/dev/null && ! type -P unrar >/dev/null; then
elog
elog "In order to gain RAR archive support, please install 
either app-arch/rar"



[gentoo-commits] repo/gentoo:master commit in: games-emulation/m64py/

2018-01-01 Thread Michał Górny
commit: 36c6cd00ca05e844816eee53b36ca61049b003da
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jan  1 13:30:48 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jan  1 13:47:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36c6cd00

games-emulation/m64py: Regenerate .desktop cache

 games-emulation/m64py/m64py-0.2.4.ebuild | 8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/games-emulation/m64py/m64py-0.2.4.ebuild 
b/games-emulation/m64py/m64py-0.2.4.ebuild
index 539d28ed166..67f1a08e394 100644
--- a/games-emulation/m64py/m64py-0.2.4.ebuild
+++ b/games-emulation/m64py/m64py-0.2.4.ebuild
@@ -5,7 +5,7 @@ EAPI=5
 
 PYTHON_COMPAT=( python3_{4,5} )
 
-inherit distutils-r1 versionator
+inherit distutils-r1 versionator xdg-utils
 
 DESCRIPTION="A frontend for Mupen64Plus"
 HOMEPAGE="http://m64py.sourceforge.net/";
@@ -32,6 +32,8 @@ _EOF_
 }
 
 pkg_postinst() {
+   xdg_desktop_database_update
+
local vr
for vr in ${REPLACING_VERSIONS}; do
if ! version_is_at_least 0.2.1-r1 ${vr}; then
@@ -60,3 +62,7 @@ pkg_postinst() {
elog "or dev-python/pylzma."
fi
 }
+
+pkg_postrm() {
+   xdg_desktop_database_update
+}



[gentoo-commits] repo/gentoo:master commit in: games-emulation/m64py/

2018-01-01 Thread Michał Górny
commit: bc8a806d4063c94b6238e750e6ca06199aedbcb8
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jan  1 13:44:14 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jan  1 13:47:30 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc8a806d

games-emulation/m64py: Add archive support USE flags and deps

 games-emulation/m64py/m64py-0.2.4.ebuild | 30 +++---
 games-emulation/m64py/metadata.xml   |  4 
 2 files changed, 19 insertions(+), 15 deletions(-)

diff --git a/games-emulation/m64py/m64py-0.2.4.ebuild 
b/games-emulation/m64py/m64py-0.2.4.ebuild
index f1c389c13b0..7d0c4054d8d 100644
--- a/games-emulation/m64py/m64py-0.2.4.ebuild
+++ b/games-emulation/m64py/m64py-0.2.4.ebuild
@@ -14,13 +14,26 @@ SRC_URI="mirror://sourceforge/m64py/${P}.tar.gz"
 LICENSE="GPL-3 LGPL-3 public-domain GPL-2 BSD CC-BY-SA-3.0"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="7z rar"
 
 RDEPEND="
dev-python/PyQt5[gui,opengl,widgets,${PYTHON_USEDEP}]
dev-python/PySDL2[${PYTHON_USEDEP}]
media-libs/libsdl2[joystick,video]
-   >=games-emulation/mupen64plus-core-2.5:0/2-sdl2"
+   >=games-emulation/mupen64plus-core-2.5:0/2-sdl2
+   7z? (
+   || (
+   dev-python/pylzma[${PYTHON_USEDEP}]
+   app-arch/p7zip
+   )
+   )
+   rar? (
+   || (
+   dev-python/rarfile[${PYTHON_USEDEP}]
+   app-arch/unrar
+   app-arch/rar
+   )
+   )"
 
 python_prepare_all() {
# set the correct search path
@@ -33,19 +46,6 @@ _EOF_
 
 pkg_postinst() {
xdg_desktop_database_update
-
-   if ! type -P rar >/dev/null && ! type -P unrar >/dev/null; then
-   elog
-   elog "In order to gain RAR archive support, please install 
either app-arch/rar"
-   elog "or app-arch/unrar."
-   fi
-
-   if ! type -P 7z >/dev/null \
-   && ! has_version "dev-python/pylzma[${PYTHON_USEDEP}]"; 
then
-   elog
-   elog "In order to gain 7z archive support, please install 
either app-arch/p7zip"
-   elog "or dev-python/pylzma."
-   fi
 }
 
 pkg_postrm() {

diff --git a/games-emulation/m64py/metadata.xml 
b/games-emulation/m64py/metadata.xml
index c8f77563ef6..00cb74caa25 100644
--- a/games-emulation/m64py/metadata.xml
+++ b/games-emulation/m64py/metadata.xml
@@ -5,6 +5,10 @@
mgo...@gentoo.org
Michał Górny

+   
+   Ensure support for .7z archives.
+   Ensure support for .rar archives.
+   

m64py




[gentoo-commits] repo/gentoo:master commit in: games-emulation/m64py/

2018-01-01 Thread Michał Górny
commit: f95a7ce851a178321083e06f748f193af61e7d9b
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jan  1 13:26:55 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jan  1 13:47:26 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f95a7ce8

games-emulation/m64py: Bump to 0.2.4, with unbundled PySDL2

Closes: https://bugs.gentoo.org/626488

 games-emulation/m64py/Manifest   |  1 +
 games-emulation/m64py/m64py-0.2.4.ebuild | 62 
 2 files changed, 63 insertions(+)

diff --git a/games-emulation/m64py/Manifest b/games-emulation/m64py/Manifest
index 585477afd53..42bc9ce289d 100644
--- a/games-emulation/m64py/Manifest
+++ b/games-emulation/m64py/Manifest
@@ -1 +1,2 @@
 DIST m64py-0.2.3.tar.gz 304241 BLAKE2B 
efd7e4fc9a75d2b9525ad40e67f92ff56e0e932d96ee4ba51fc128d0fa8fb88a0811efada86af580501803f4f9d9e94aee23d6a50704c2e05078cc511825f347
 SHA512 
5471d2ce96007c5cb5492f7ba3bc2a8843455dfea811b114c68862fa5c06a636e6dd6a4304e60bf2273377330b0eb01f2dcdc0340d02ec498ae44cdd2ccc01ff
+DIST m64py-0.2.4.tar.gz 209621 BLAKE2B 
05fe7044ec096767ae1eb57aad9f326b157d67ea709ca0bb74cdd68ae16a23eb662a2842bef5e038d1b29cbf0a5252669ff54268d1227390f47e8c9029b63e6a
 SHA512 
ab78565466c6dcfe604cdc00b7e63dee2f0f33514dbf4f9115af646b1f6562042516513d054bd5cb489ad89c9d30431e9ce531f8b27925ecb9c6f7b509836348

diff --git a/games-emulation/m64py/m64py-0.2.4.ebuild 
b/games-emulation/m64py/m64py-0.2.4.ebuild
new file mode 100644
index 000..539d28ed166
--- /dev/null
+++ b/games-emulation/m64py/m64py-0.2.4.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python3_{4,5} )
+
+inherit distutils-r1 versionator
+
+DESCRIPTION="A frontend for Mupen64Plus"
+HOMEPAGE="http://m64py.sourceforge.net/";
+SRC_URI="mirror://sourceforge/m64py/${P}.tar.gz"
+
+LICENSE="GPL-3 LGPL-3 public-domain GPL-2 BSD CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+   dev-python/PyQt5[gui,opengl,widgets,${PYTHON_USEDEP}]
+   dev-python/PySDL2[${PYTHON_USEDEP}]
+   media-libs/libsdl2[joystick,video]
+   >=games-emulation/mupen64plus-core-2.5:0/2-sdl2"
+
+python_prepare_all() {
+   # set the correct search path
+   cat >> src/m64py/platform.py <<-_EOF_
+   SEARCH_DIRS = ["/usr/$(get_libdir)/mupen64plus"]
+_EOF_
+
+   distutils-r1_python_prepare_all
+}
+
+pkg_postinst() {
+   local vr
+   for vr in ${REPLACING_VERSIONS}; do
+   if ! version_is_at_least 0.2.1-r1 ${vr}; then
+   ewarn
+   ewarn "Starting with mupen64plus-2.0-r1, the plugin 
install path has changed."
+   ewarn "In order for m64py to find mupen64plus, you will 
either need to set"
+   ewarn "new paths in configuration dialog or remove your 
configuration file."
+   ewarn "The new paths are:"
+   ewarn
+   ewarn " Library file:  
/usr/$(get_libdir)/libmupen64plus.so.2.0.0"
+   ewarn " Plugins directory: 
/usr/$(get_libdir)/mupen64plus"
+   ewarn " Data directory:/usr/share/mupen64plus"
+   fi
+   done
+
+   if ! type -P rar >/dev/null && ! type -P unrar >/dev/null; then
+   elog
+   elog "In order to gain RAR archive support, please install 
either app-arch/rar"
+   elog "or app-arch/unrar."
+   fi
+
+   if ! type -P 7z >/dev/null \
+   && ! has_version "dev-python/pylzma[${PYTHON_USEDEP}]"; 
then
+   elog
+   elog "In order to gain 7z archive support, please install 
either app-arch/p7zip"
+   elog "or dev-python/pylzma."
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: games-emulation/m64py/

2016-10-07 Thread Pacho Ramos
commit: 722d619d181090b56dda31814378863c5c0dc781
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Oct  8 06:28:06 2016 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Oct  8 06:28:06 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=722d619d

games-emulation/m64py: Drop old

Package-Manager: portage-2.3.1

 games-emulation/m64py/Manifest  |  1 -
 games-emulation/m64py/m64py-0.2.1-r1.ebuild | 72 -
 2 files changed, 73 deletions(-)

diff --git a/games-emulation/m64py/Manifest b/games-emulation/m64py/Manifest
index 6e4466e..ef7d3bd 100644
--- a/games-emulation/m64py/Manifest
+++ b/games-emulation/m64py/Manifest
@@ -1,2 +1 @@
-DIST m64py-0.2.1.tar.gz 304897 SHA256 
6461b494291f22c10ccd60cda4d4750da3c1514e1d5bc2354bad95a9f4cc1525 SHA512 
02d5bc4a501f3c9a5851f242119ad6436be9a59b832f27483591353cfad6975da677a124e61330a4430f1813259f5a423bc8413423ee43a3570d74239e33b487
 WHIRLPOOL 
5998dd86de565e09c392cef6a9bb94978c6ebbfb3169fc30ae075d291ded187efc16fcf0d380c3ae7a85ae74f3b333de786a202a17320348a0d75595f7e5c024
 DIST m64py-0.2.3.tar.gz 304241 SHA256 
87dccbad9f27ab1eae3fb9957ef039e23379d264e68f8ef7470ec38a523ef020 SHA512 
5471d2ce96007c5cb5492f7ba3bc2a8843455dfea811b114c68862fa5c06a636e6dd6a4304e60bf2273377330b0eb01f2dcdc0340d02ec498ae44cdd2ccc01ff
 WHIRLPOOL 
2d7727c56a67f6ca3901eb846d46dea881cf6361fe1bbcec6ef2d10247320d92d42d2ea9e75f247faef482f715b051a2c6394e814b83fa5f0c71bd5d1aabf8ba

diff --git a/games-emulation/m64py/m64py-0.2.1-r1.ebuild 
b/games-emulation/m64py/m64py-0.2.1-r1.ebuild
deleted file mode 100644
index e20ece8..
--- a/games-emulation/m64py/m64py-0.2.1-r1.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1
-
-DESCRIPTION="A frontend for Mupen64Plus"
-HOMEPAGE="http://m64py.sourceforge.net/";
-SRC_URI="mirror://sourceforge/m64py/${P}.tar.gz"
-
-LICENSE="GPL-3 LGPL-3 public-domain GPL-2 BSD CC-BY-SA-3.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-# SDL & libmupen64plus are through ctypes, so they rely on specific ABI
-RDEPEND="media-libs/libsdl:0/0[joystick]
-   dev-python/PyQt4[opengl,${PYTHON_USEDEP}]
-   >=games-emulation/mupen64plus-core-2.0-r1:0/2"
-
-python_prepare_all() {
-   # set the correct search path
-   cat >> src/m64py/platform.py <<-_EOF_
-   SEARCH_DIRS = ["/usr/$(get_libdir)/mupen64plus"]
-_EOF_
-
-   # comment out SDL2 support since our mupen64plus uses SDL1
-   sed -e '/from m64py\.SDL2/s:^:#:' \
-   -e '/QT2SDL2\[/s:^:#:' \
-   -e '/KEYCODE2SCANCODE\[/s:^:#:' \
-   -e '/SCANCODE2KEYCODE\[/s:^:#:' \
-   -i src/m64py/frontend/keymap.py || die
-   sed -e '/--sdl2/d' \
-   -e '/SDL2/s:=.*$:= False:' \
-   -i src/m64py/opts.py || die
-
-   distutils-r1_python_prepare_all
-}
-
-pkg_postinst() {
-   local vr
-   for vr in ${REPLACING_VERSIONS}; do
-   if ! version_is_at_least 0.2.1-r1 ${vr}; then
-   ewarn
-   ewarn "Starting with mupen64plus-2.0-r1, the plugin 
install path has changed."
-   ewarn "In order for m64py to find mupen64plus, you will 
either need to set"
-   ewarn "new paths in configuration dialog or remove your 
configuration file."
-   ewarn "The new paths are:"
-   ewarn
-   ewarn " Library file:  
/usr/$(get_libdir)/libmupen64plus.so.2.0.0"
-   ewarn " Plugins directory: 
/usr/$(get_libdir)/mupen64plus"
-   ewarn " Data directory:/usr/share/mupen64plus"
-   fi
-   done
-
-   if ! type -P rar >/dev/null && ! type -P unrar >/dev/null; then
-   elog
-   elog "In order to gain RAR archive support, please install 
either app-arch/rar"
-   elog "or app-arch/unrar."
-   fi
-
-   if ! type -P 7z >/dev/null \
-   && ! has_version "dev-python/pylzma[${PYTHON_USEDEP}]"; 
then
-   elog
-   elog "In order to gain 7z archive support, please install 
either app-arch/p7zip"
-   elog "or dev-python/pylzma."
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: games-emulation/m64py/

2016-06-11 Thread Pacho Ramos
commit: d29890963cba8d06ab2e68283cbec0ebd9ac00da
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Jun 11 20:32:49 2016 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Jun 11 20:38:17 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2989096

games-emulation/m64py: Cleanup due to #261692

Package-Manager: portage-2.3.0_rc1

 games-emulation/m64py/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/games-emulation/m64py/metadata.xml 
b/games-emulation/m64py/metadata.xml
index 50fe363..c8f7756 100644
--- a/games-emulation/m64py/metadata.xml
+++ b/games-emulation/m64py/metadata.xml
@@ -5,10 +5,6 @@
mgo...@gentoo.org
Michał Górny

-   
-   jo...@gentoo.org
-   Christian Birchinger
-   

m64py




[gentoo-commits] repo/gentoo:master commit in: games-emulation/m64py/

2016-03-27 Thread David Seifert
commit: ded7729473acffd957e1d22b7932067ebbd57d0e
Author: David Seifert  gentoo  org>
AuthorDate: Sun Mar 27 16:39:57 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Mar 27 17:43:58 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ded77294

games-emulation/m64py: Add python3_5 support

Package-Manager: portage-2.2.28

 games-emulation/m64py/m64py-0.2.3-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-emulation/m64py/m64py-0.2.3-r2.ebuild 
b/games-emulation/m64py/m64py-0.2.3-r2.ebuild
index 8871ef1..7fed0df 100644
--- a/games-emulation/m64py/m64py-0.2.3-r2.ebuild
+++ b/games-emulation/m64py/m64py-0.2.3-r2.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
 
-PYTHON_COMPAT=( python3_4 )
+PYTHON_COMPAT=( python3_{4,5} )
 
 inherit distutils-r1 versionator
 



[gentoo-commits] repo/gentoo:master commit in: games-emulation/m64py/

2015-10-25 Thread Michał Górny
commit: a1c518818519b6fd640e58eccd3372c825057483
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Oct 25 21:34:11 2015 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Oct 25 21:36:43 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1c51881

games-emulation/m64py: Request correct PyQt5 modules

Thanks to Samuel Bauer for figuring out the correct flags.

Fixes: https://bugs.gentoo.org/show_bug.cgi?id=564004

 games-emulation/m64py/{m64py-0.2.3-r1.ebuild => m64py-0.2.3-r2.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-emulation/m64py/m64py-0.2.3-r1.ebuild 
b/games-emulation/m64py/m64py-0.2.3-r2.ebuild
similarity index 97%
rename from games-emulation/m64py/m64py-0.2.3-r1.ebuild
rename to games-emulation/m64py/m64py-0.2.3-r2.ebuild
index 6ba5a09..8871ef1 100644
--- a/games-emulation/m64py/m64py-0.2.3-r1.ebuild
+++ b/games-emulation/m64py/m64py-0.2.3-r2.ebuild
@@ -19,7 +19,7 @@ IUSE=""
 
 # SDL & libmupen64plus are through ctypes, so they rely on specific ABI
 RDEPEND="media-libs/libsdl2:0/0[joystick]
-   dev-python/PyQt5[opengl,${PYTHON_USEDEP}]
+   dev-python/PyQt5[gui,opengl,widgets,${PYTHON_USEDEP}]
>=games-emulation/mupen64plus-core-2.5:0/2-sdl2"
 
 python_prepare_all() {



[gentoo-commits] repo/gentoo:master commit in: games-emulation/m64py/

2015-10-04 Thread Michał Górny
commit: dfef921e2ee31205b59e00f4dc08a441b9fc0e18
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Oct  4 09:40:16 2015 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Oct  4 09:40:16 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfef921e

games-emulation/m64py: Remove old, corresp. to mupen64plus*-2.0

Package-Manager: portage-2.2.22

 games-emulation/m64py/m64py-0.2.1.ebuild | 74 
 1 file changed, 74 deletions(-)

diff --git a/games-emulation/m64py/m64py-0.2.1.ebuild 
b/games-emulation/m64py/m64py-0.2.1.ebuild
deleted file mode 100644
index 38ffbbf..000
--- a/games-emulation/m64py/m64py-0.2.1.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1 games
-
-DESCRIPTION="A frontend for Mupen64Plus"
-HOMEPAGE="http://m64py.sourceforge.net/";
-SRC_URI="mirror://sourceforge/m64py/${P}.tar.gz"
-
-LICENSE="GPL-3 LGPL-3 public-domain GPL-2 BSD CC-BY-SA-3.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-# SDL & libmupen64plus are through ctypes, so they rely on specific ABI
-RDEPEND="media-libs/libsdl:0/0[joystick]
-   dev-python/PyQt4[opengl,${PYTHON_USEDEP}]
-   games-emulation/mupen64plus-core:0/2"
-
-python_prepare_all() {
-   # set the correct search path
-   cat >> src/m64py/platform.py <<-_EOF_
-   SEARCH_DIRS = ["$(games_get_libdir)/mupen64plus"]
-_EOF_
-
-   # comment out SDL2 support since our mupen64plus uses SDL1
-   sed -e '/from m64py\.SDL2/s:^:#:' \
-   -e '/QT2SDL2\[/s:^:#:' \
-   -e '/KEYCODE2SCANCODE\[/s:^:#:' \
-   -e '/SCANCODE2KEYCODE\[/s:^:#:' \
-   -i src/m64py/frontend/keymap.py || die
-   sed -e '/--sdl2/d' \
-   -e '/SDL2/s:=.*$:= False:' \
-   -i src/m64py/opts.py || die
-
-   distutils-r1_python_prepare_all
-}
-
-python_install() {
-   distutils-r1_python_install \
-   --install-scripts="${GAMES_BINDIR}"
-}
-
-# games.eclass ABSOLUTELY MUST come last, so we need to clean up the mess
-src_prepare() { distutils-r1_src_prepare; }
-src_configure() { distutils-r1_src_configure; }
-src_compile() { distutils-r1_src_compile; }
-src_test() { distutils-r1_src_test; }
-
-src_install() {
-   distutils-r1_src_install
-   prepgamesdirs
-}
-
-pkg_postinst() {
-   games_pkg_postinst
-
-   if ! type -P rar >/dev/null && ! type -P unrar >/dev/null; then
-   elog
-   elog "In order to gain RAR archive support, please install 
either app-arch/rar"
-   elog "or app-arch/unrar."
-   fi
-
-   if ! type -P 7z >/dev/null \
-   && ! has_version "dev-python/pylzma[${PYTHON_USEDEP}]"; 
then
-   elog
-   elog "In order to gain 7z archive support, please install 
either app-arch/p7zip"
-   elog "or dev-python/pylzma."
-   fi
-}