public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Julien Roy" <julien@jroy.ca>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-util/minigalaxy/
Date: Sun, 14 Apr 2024 02:11:23 +0000 (UTC)	[thread overview]
Message-ID: <1713060625.fd741d6e7b2fee143f680320b44d4f472e30579d.julien@gentoo> (raw)

commit:     fd741d6e7b2fee143f680320b44d4f472e30579d
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Sun Apr 14 02:10:25 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Sun Apr 14 02:10:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fd741d6e

games-util/minigalaxy: add 1.2.6, enable py3.12

Closes: https://bugs.gentoo.org/897622
Bug: https://bugs.gentoo.org/921890
Bug: https://bugs.gentoo.org/921916
Bug: https://bugs.gentoo.org/927563
Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 games-util/minigalaxy/Manifest                |  2 +-
 games-util/minigalaxy/minigalaxy-1.1.0.ebuild | 86 ---------------------------
 games-util/minigalaxy/minigalaxy-1.2.6.ebuild | 44 ++++++++++++++
 3 files changed, 45 insertions(+), 87 deletions(-)

diff --git a/games-util/minigalaxy/Manifest b/games-util/minigalaxy/Manifest
index 47ef8c6450..f5f8a363cc 100644
--- a/games-util/minigalaxy/Manifest
+++ b/games-util/minigalaxy/Manifest
@@ -1 +1 @@
-DIST minigalaxy-1.1.0.tar.gz 417215 BLAKE2B 639ce13d25e53d5e81885026268b6ecc372288a81edd8c6e7b36d38c17b158f8953d49a33af92d541aec94e0c8651927002f3adca44c6a9caa2b61b0d6e3fd68 SHA512 5d16120f12398376770a2d2176a127201f1640b83bd8efb576e31eddad5e828bf45f7de7a6394408ef76aafedc126f2f3987920ff2863bbe4668096fa4bf6707
+DIST minigalaxy-1.2.6.tar.gz 457267 BLAKE2B 005150b631643b20ef0a8a2e7b0f1ee74cc4a82d3d42e5836457016451c2446a658ddd017c68f26960b5f8e56fea6edef62df442192ea1dd8d0f811131504ac8 SHA512 99e14c92394cc32fbfcc88fa59c9a9ce2a0f17000edf0c86be0906a3a66104129666e682c3f47fcf2001f93bcee18c1f3d07472eac9c660e978c73cffe3a0943

diff --git a/games-util/minigalaxy/minigalaxy-1.1.0.ebuild b/games-util/minigalaxy/minigalaxy-1.1.0.ebuild
deleted file mode 100644
index c8af8a6332..0000000000
--- a/games-util/minigalaxy/minigalaxy-1.1.0.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_10 )
-DISTUTILS_SINGLE_IMPL=1
-
-inherit distutils-r1 optfeature xdg
-
-DESCRIPTION="A simple GOG client for Linux"
-HOMEPAGE="https://github.com/sharkwouter/minigalaxy"
-SRC_URI="https://github.com/sharkwouter/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-	$(python_gen_cond_dep '
-		>=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
-		dev-python/pygobject:3[${PYTHON_USEDEP}]
-	')
-	>=net-libs/webkit-gtk-2.6
-	>=x11-libs/gtk+-3
-"
-BDEPEND="test? (
-	$(python_gen_cond_dep '
-		dev-python/simplejson[${PYTHON_USEDEP}]')
-)"
-
-distutils_enable_tests unittest
-
-python_prepare_all() {
-	# AttributeError: module 'minigalaxy.ui' has no attribute 'window'
-	rm tests/test_ui_window.py || die
-
-	# TypeError: issubclass() arg 2 must be a class or tuple of classes
-	rm tests/test_ui_library.py || die
-
-	# fails
-	sed "s/test_create_config/_\0/" -i tests/test_config.py || die
-
-	# require network
-	test_api_net=(
-		test1_get_library
-		test_get_download_file_md5
-		test1_can_connect
-		test2_get_download_info
-	)
-	for fn in "${test_api_net[@]}"; do
-		sed "s/def ${fn}/def _${fn}/" -i tests/test_api.py || die
-	done
-
-	# fail
-	test_installer_fail=(
-		test_remove_installer_from_keep
-		test_remove_installer_keep
-		test_remove_installer_same_content
-	)
-	for fn in "${test_installer_fail[@]}"; do
-		sed "s/def ${fn}/def _${fn}/" -i tests/test_installer.py || die
-	done
-
-	distutils-r1_python_prepare_all
-}
-
-python_test() {
-	eval unset ${!LC_*} LANG
-
-	cp minigalaxy/paths.py minigalaxy/paths.py.bak || die
-	sed "s:\(LAUNCH_DIR =\) .*:\1 \"${BUILD_DIR}/test/usr/bin\":" \
-		-i minigalaxy/paths.py || die
-
-	distutils_install_for_testing
-	distutils-r1_python_test
-
-	mv -f minigalaxy/paths.py.bak minigalaxy/paths.py || die
-}
-
-pkg_postinst() {
-	xdg_pkg_postinst
-
-	optfeature "running games with system dosbox" games-emulation/dosbox
-	optfeature "running games with system scummvm" games-engines/scummvm
-}

diff --git a/games-util/minigalaxy/minigalaxy-1.2.6.ebuild b/games-util/minigalaxy/minigalaxy-1.2.6.ebuild
new file mode 100644
index 0000000000..3801ac1499
--- /dev/null
+++ b/games-util/minigalaxy/minigalaxy-1.2.6.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+# Fails to compile with PEP517
+# DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1 optfeature xdg
+
+DESCRIPTION="A simple GOG client for Linux"
+HOMEPAGE="https://github.com/sharkwouter/minigalaxy"
+SRC_URI="https://github.com/sharkwouter/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+	$(python_gen_cond_dep '
+		>=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
+		dev-python/pygobject:3[${PYTHON_USEDEP}]
+	')
+	>=net-libs/webkit-gtk-2.6:4
+	>=x11-libs/gtk+-3
+"
+BDEPEND="
+	test? (
+		$(python_gen_cond_dep '
+			dev-python/simplejson[${PYTHON_USEDEP}]
+		')
+	)
+"
+
+distutils_enable_tests unittest
+
+pkg_postinst() {
+	xdg_pkg_postinst
+
+	optfeature "running games with system dosbox" games-emulation/dosbox
+	optfeature "running games with system scummvm" games-engines/scummvm
+}


WARNING: multiple messages have this Message-ID (diff)
From: "Julien Roy" <julien@jroy.ca>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: games-util/minigalaxy/
Date: Sun, 14 Apr 2024 02:18:39 +0000 (UTC)	[thread overview]
Message-ID: <1713060625.fd741d6e7b2fee143f680320b44d4f472e30579d.julien@gentoo> (raw)
Message-ID: <20240414021839.dPN_Y6_VURhXXeX_hjHnHcbqk6Pga6IU8eouBOFCXqo@z> (raw)

commit:     fd741d6e7b2fee143f680320b44d4f472e30579d
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Sun Apr 14 02:10:25 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Sun Apr 14 02:10:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fd741d6e

games-util/minigalaxy: add 1.2.6, enable py3.12

Closes: https://bugs.gentoo.org/897622
Bug: https://bugs.gentoo.org/921890
Bug: https://bugs.gentoo.org/921916
Bug: https://bugs.gentoo.org/927563
Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 games-util/minigalaxy/Manifest                |  2 +-
 games-util/minigalaxy/minigalaxy-1.1.0.ebuild | 86 ---------------------------
 games-util/minigalaxy/minigalaxy-1.2.6.ebuild | 44 ++++++++++++++
 3 files changed, 45 insertions(+), 87 deletions(-)

diff --git a/games-util/minigalaxy/Manifest b/games-util/minigalaxy/Manifest
index 47ef8c6450..f5f8a363cc 100644
--- a/games-util/minigalaxy/Manifest
+++ b/games-util/minigalaxy/Manifest
@@ -1 +1 @@
-DIST minigalaxy-1.1.0.tar.gz 417215 BLAKE2B 639ce13d25e53d5e81885026268b6ecc372288a81edd8c6e7b36d38c17b158f8953d49a33af92d541aec94e0c8651927002f3adca44c6a9caa2b61b0d6e3fd68 SHA512 5d16120f12398376770a2d2176a127201f1640b83bd8efb576e31eddad5e828bf45f7de7a6394408ef76aafedc126f2f3987920ff2863bbe4668096fa4bf6707
+DIST minigalaxy-1.2.6.tar.gz 457267 BLAKE2B 005150b631643b20ef0a8a2e7b0f1ee74cc4a82d3d42e5836457016451c2446a658ddd017c68f26960b5f8e56fea6edef62df442192ea1dd8d0f811131504ac8 SHA512 99e14c92394cc32fbfcc88fa59c9a9ce2a0f17000edf0c86be0906a3a66104129666e682c3f47fcf2001f93bcee18c1f3d07472eac9c660e978c73cffe3a0943

diff --git a/games-util/minigalaxy/minigalaxy-1.1.0.ebuild b/games-util/minigalaxy/minigalaxy-1.1.0.ebuild
deleted file mode 100644
index c8af8a6332..0000000000
--- a/games-util/minigalaxy/minigalaxy-1.1.0.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_10 )
-DISTUTILS_SINGLE_IMPL=1
-
-inherit distutils-r1 optfeature xdg
-
-DESCRIPTION="A simple GOG client for Linux"
-HOMEPAGE="https://github.com/sharkwouter/minigalaxy"
-SRC_URI="https://github.com/sharkwouter/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-	$(python_gen_cond_dep '
-		>=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
-		dev-python/pygobject:3[${PYTHON_USEDEP}]
-	')
-	>=net-libs/webkit-gtk-2.6
-	>=x11-libs/gtk+-3
-"
-BDEPEND="test? (
-	$(python_gen_cond_dep '
-		dev-python/simplejson[${PYTHON_USEDEP}]')
-)"
-
-distutils_enable_tests unittest
-
-python_prepare_all() {
-	# AttributeError: module 'minigalaxy.ui' has no attribute 'window'
-	rm tests/test_ui_window.py || die
-
-	# TypeError: issubclass() arg 2 must be a class or tuple of classes
-	rm tests/test_ui_library.py || die
-
-	# fails
-	sed "s/test_create_config/_\0/" -i tests/test_config.py || die
-
-	# require network
-	test_api_net=(
-		test1_get_library
-		test_get_download_file_md5
-		test1_can_connect
-		test2_get_download_info
-	)
-	for fn in "${test_api_net[@]}"; do
-		sed "s/def ${fn}/def _${fn}/" -i tests/test_api.py || die
-	done
-
-	# fail
-	test_installer_fail=(
-		test_remove_installer_from_keep
-		test_remove_installer_keep
-		test_remove_installer_same_content
-	)
-	for fn in "${test_installer_fail[@]}"; do
-		sed "s/def ${fn}/def _${fn}/" -i tests/test_installer.py || die
-	done
-
-	distutils-r1_python_prepare_all
-}
-
-python_test() {
-	eval unset ${!LC_*} LANG
-
-	cp minigalaxy/paths.py minigalaxy/paths.py.bak || die
-	sed "s:\(LAUNCH_DIR =\) .*:\1 \"${BUILD_DIR}/test/usr/bin\":" \
-		-i minigalaxy/paths.py || die
-
-	distutils_install_for_testing
-	distutils-r1_python_test
-
-	mv -f minigalaxy/paths.py.bak minigalaxy/paths.py || die
-}
-
-pkg_postinst() {
-	xdg_pkg_postinst
-
-	optfeature "running games with system dosbox" games-emulation/dosbox
-	optfeature "running games with system scummvm" games-engines/scummvm
-}

diff --git a/games-util/minigalaxy/minigalaxy-1.2.6.ebuild b/games-util/minigalaxy/minigalaxy-1.2.6.ebuild
new file mode 100644
index 0000000000..3801ac1499
--- /dev/null
+++ b/games-util/minigalaxy/minigalaxy-1.2.6.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+# Fails to compile with PEP517
+# DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1 optfeature xdg
+
+DESCRIPTION="A simple GOG client for Linux"
+HOMEPAGE="https://github.com/sharkwouter/minigalaxy"
+SRC_URI="https://github.com/sharkwouter/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+	$(python_gen_cond_dep '
+		>=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
+		dev-python/pygobject:3[${PYTHON_USEDEP}]
+	')
+	>=net-libs/webkit-gtk-2.6:4
+	>=x11-libs/gtk+-3
+"
+BDEPEND="
+	test? (
+		$(python_gen_cond_dep '
+			dev-python/simplejson[${PYTHON_USEDEP}]
+		')
+	)
+"
+
+distutils_enable_tests unittest
+
+pkg_postinst() {
+	xdg_pkg_postinst
+
+	optfeature "running games with system dosbox" games-emulation/dosbox
+	optfeature "running games with system scummvm" games-engines/scummvm
+}


             reply	other threads:[~2024-04-14  2:11 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-14  2:11 Julien Roy [this message]
2024-04-14  2:18 ` [gentoo-commits] repo/proj/guru:master commit in: games-util/minigalaxy/ Julien Roy
  -- strict thread matches above, loose matches on Subject: below --
2025-07-29 14:04 [gentoo-commits] repo/proj/guru:dev " Lucio Sauer
2025-07-29 14:04 Lucio Sauer
2025-06-10 10:55 Lucio Sauer
2025-06-10  9:48 Lucio Sauer
2025-06-09 11:59 Lucio Sauer
2025-06-08 20:44 Nicolas PARLANT
2025-06-08 20:44 Nicolas PARLANT
2025-06-05  3:53 Lucio Sauer
2025-06-05  2:51 demize
2025-05-23 23:06 demize
2023-05-01 19:31 Anna Vyalkova
2021-12-06 16:10 Anna Vyalkova
2021-11-09  7:57 Andreas Zuber
2021-01-15  9:35 Andreas Zuber
2021-01-15  9:35 Andreas Zuber
2020-11-30  8:49 Andreas Zuber
2020-11-30  8:49 Andreas Zuber
2020-09-23  7:50 Andreas Zuber
2020-09-21 13:23 Andreas Zuber
2020-09-21 13:23 Andreas Zuber
2020-06-07 10:48 Andreas Zuber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1713060625.fd741d6e7b2fee143f680320b44d4f472e30579d.julien@gentoo \
    --to=julien@jroy.ca \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox