commit: 25af2193850842480d6f864b2df31fd906a37c48
Author: Andreas Zuber <a.zuber <AT> gmx <DOT> ch>
AuthorDate: Tue Nov 9 07:56:30 2021 +0000
Commit: Andreas Zuber <a.zuber <AT> gmx <DOT> ch>
CommitDate: Tue Nov 9 07:57:16 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=25af2193
games-util/minigalaxy: version bump to 1.1.0
Package-Manager: Portage-3.0.28, Repoman-3.0.2
Signed-off-by: Andreas Zuber <a.zuber <AT> gmx.ch>
games-util/minigalaxy/Manifest | 1 +
games-util/minigalaxy/minigalaxy-1.1.0.ebuild | 39 +++++++++++++++++++++++++++
2 files changed, 40 insertions(+)
diff --git a/games-util/minigalaxy/Manifest b/games-util/minigalaxy/Manifest
index db929a700..eabb3a496 100644
--- a/games-util/minigalaxy/Manifest
+++ b/games-util/minigalaxy/Manifest
@@ -1 +1,2 @@
DIST minigalaxy-1.0.2.tar.gz 360109 BLAKE2B
fb8e369af56709c6cc4599bc853871951f31d025e418a809144bb8dcb2d35aa7b989cae9d01e1b223c3b5b1842442fec1f3962726f0b367a6c58d2175a4a083e
SHA512
79533028c544fb8cac06ac7c7bebce0f2ccabc6970cb2d9cc5ad93626425836071c963ebdfa96dbca44ec0b573bb1d20d9241480f9b49d91a86c817adc2d486c
+DIST minigalaxy-1.1.0.tar.gz 417215 BLAKE2B
639ce13d25e53d5e81885026268b6ecc372288a81edd8c6e7b36d38c17b158f8953d49a33af92d541aec94e0c8651927002f3adca44c6a9caa2b61b0d6e3fd68
SHA512
5d16120f12398376770a2d2176a127201f1640b83bd8efb576e31eddad5e828bf45f7de7a6394408ef76aafedc126f2f3987920ff2863bbe4668096fa4bf6707
diff --git a/games-util/minigalaxy/minigalaxy-1.1.0.ebuild
b/games-util/minigalaxy/minigalaxy-1.1.0.ebuild
new file mode 100644
index 000000000..4c84929c3
--- /dev/null
+++ b/games-util/minigalaxy/minigalaxy-1.1.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..9} )
+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/minigalaxy/archive/${PV}.tar.gz ->
${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="test? ( $(python_gen_cond_dep
'dev-python/simplejson[${PYTHON_USEDEP}]') )"
+RDEPEND="
+ $(python_gen_cond_dep '
+ >=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ ')
+ >=x11-libs/gtk+-3
+ >=net-libs/webkit-gtk-2.6"
+
+distutils_enable_tests unittest
+
+python_test() {
+ "${EPYTHON}" -m unittest tests/*.py || die "Tests failed under
${EPYTHON}"
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ optfeature "running games with system dosbox" games-emulation/dosbox
+ optfeature "running games with system scummvm" games-engines/scummvm
+}