games-util/ProtonUp-Qt - 2.13.0 (guru)

Search

Install

Install this version:

emerge -a =games-util/ProtonUp-Qt-2.13.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =games-util/ProtonUp-Qt-2.13.0

Or alternatively:

emerge --autounmask-write -a =games-util/ProtonUp-Qt-2.13.0

Package Information

Description:
Install and manage GE-Proton, Luxtorpeda & more for Steam Lutris and Heroic.
Homepage:
https://davidotek.github.io/protonup-qt/
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
2.13.0 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..13} )

inherit desktop distutils-r1 xdg

DESCRIPTION="Install and manage GE-Proton, Luxtorpeda & more for Steam Lutris and Heroic."
HOMEPAGE="https://davidotek.github.io/protonup-qt/"

SRC_URI="
	https://github.com/DavidoTek/ProtonUp-Qt/archive/refs/tags/v${PV}.tar.gz
		-> ${P}.tar.gz
"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	>=dev-python/pyaml-6.0[${PYTHON_USEDEP}]
	>=dev-python/pyside-6.3.0[dbus,gui,uitools,widgets,${PYTHON_USEDEP}]
	>=dev-python/pyxdg-0.27[${PYTHON_USEDEP}]
	>=dev-python/requests-2.27.0[${PYTHON_USEDEP}]
	>=dev-python/steam-1.6.1[${PYTHON_USEDEP}]
	>=dev-python/vdf-4.0[${PYTHON_USEDEP}]
	>=dev-python/zstandard-0.19.0[${PYTHON_USEDEP}]
"
BDEPEND="
	test? (
		dev-python/responses[${PYTHON_USEDEP}]
	)
"

EPYTEST_DESELECT=(
	# pytest-responses is not packaged
	tests/test_util.py::test_is_online
	tests/test_util.py::test_is_online_errors
)

distutils_enable_tests pytest

src_prepare() {
	# execute entry point instead
	sed -i "/^Exec=/s/net.davidotek.pupgui2/${PN,,}/" share/applications/net.davidotek.pupgui2.desktop || die
	# pytest-responses is not packaged (and not useful for us anyway)
	sed -i -e "/^import pytest_responses/d" tests/test_util.py || die
	distutils-r1_src_prepare
}

src_install() {
	distutils-r1_src_install
	domenu share/applications/net.davidotek.pupgui2.desktop
	for size in 64 128 256; do
		doicon -s ${size} share/icons/hicolor/${size}x${size}/apps/net.davidotek.pupgui2.png
	done
}

src_test() {
	local -x QT_QPA_PLATFORM=offscreen
	distutils-r1_src_test
}

Inherited Eclasses

xdg

Dependencies

RDEPEND

	>=dev-python/pyaml-6.0[]
	>=dev-python/pyside-6.3.0[dbus,gui,uitools,widgets,]
	>=dev-python/pyxdg-0.27[]
	>=dev-python/requests-2.27.0[]
	>=dev-python/steam-1.6.1[]
	>=dev-python/vdf-4.0[]
	>=dev-python/zstandard-0.19.0[]

BDEPEND

	test? (
		dev-python/responses[]
	)

Manifest for 2.13.0

Type File Size Source URLs
DIST ProtonUp-Qt-2.13.0.tar.gz 1011064 bytes https://github.com/DavidoTek/ProtonUp-Qt/archive/refs/tags/v2.13.0.tar.gz