blob: a13fb7f361b566da70f3c20933b12c2d6abe6d79 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7,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=""
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
}
|